Jump to content

Slastraf

Members
  • Posts

    710
  • Joined

  • Last visited

Everything posted by Slastraf

  1. you would need to put the mouse back, maybe use Math Lerp function for that.
  2. So you are only setting the y rotation of lets say your character controller. Why would you not just rotate it based on direction vector and make it really small ? local rotVec = window:GetMousePosition()x-(window:GetWidth*0.5) local lookSpeedMultiplier = 0.01 self.entity:GetRotation(0, self.entity.rotation.y + (rotVec * lookSpeedMultiplier), 0) I just wrote the code in here so there might be errors but it may work. Also always make *0.5 instead of /2 because the compiler could not detect that /2 is more difficult to calculate than *0.5
  3. Sorry I will not work on this project until there are specifications on what I need to do
  4. Well I already find it a little comedic that my comment criticizing LE game engine got removed so I cannot partake in this discussion. Honestly its kind of sad.
  5. Slastraf

    INTERFACE

    https://www.leadwerks.com/learn
  6. counter example would be if you have a foggy horror game, you would want them to fade in. Or have them render "behind" the smoke already if your method was applied (but have worse performance). Would be cool to have a small setting for that then.
  7. I also am on holidays right now, and no work pc. I wanted to make a new levels layout in the game design document sonn.
  8. I am editing this one right now: https://docs.google.com/document/d/1RvcqzC7dH-OZmnvbjUikUikd-Xl3phgliauHPPeAc5I/edit (yep its an other one) I can already edit the new one ? Can someone confirm ?
  9. I treid to format it and its not good but it is outdated anyway
  10. I already have the editing rights. It is very badly formatted up to the point where nothing is readable, after about half of the doc. Anyway I added my pepper to the story and also made a new name. I think its a really good story and can be told in game form to any extent (short game or not).
  11. Ah, there is a capital letter in the other link. If you go to search in the api reference then drawLine comes up but that link doesnt work
  12. https://www.leadwerks.com/learn?page=API-Reference_Object_Context_Drawline
  13. I have a prefab, and when I drag it in the scene everything works fine. But when I remove the script, and when I remove the whole prefab, leadwerks crashes. It happens every time so it is easily reconstructable. It happens only with the prefab down below. It has a script and a model but maybe its only the profab file. PFB_enemy_camera_bot.pfb
  14. I think you could make alot games look much better with good lightning, and also some more tools that do not directly have modeling / texturing in common. Just a thought
  15. which level is this ? The beginning ?
  16. my vs keeps thinking : "yep, im screwing with that guys day" (I am getting these errors pretty often and need to find random libraries and edit the path)
  17. After not reading this thread, I highly am +1 for someone making a tutorial
  18. I have german visual studio, but translated there is another message: Warning MSB8038 Spectre sharpening is enabled, but no defused Spectre libraries were found. Make sure that the Visual Studio workload contains the mitigated Spectre libraries. For more information, see https://aka.ms/Ofhn4c. test2 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VCTargets\VCTargets\Microsoft.CppBuild.targets 402
  19. I tried opening a fresh Leadwerks project in c++, but when I tried to build it, I got the following error: LNK1104 File "libcpmtd.lib" cannot be opened. it has to do with the Linker ? There were some ancient threads but they didn't help me. In the tutorials where it says Build > Run Without Debugging, I couldn't find it, the closest thing I found was Debug > Start without debugging so there is probably a mistake in the tutorial. No matter what I change, even If I remove everything in the main.cpp , when I start it from the editor everything happens as before, so I figured thats not the way it works. Still I haven't been able to fix this.
  20. you can make animated textures in leadwerks, use the shader from the firepit addon or if you have your own one. But you would need a n*n spritesheet
  21. or go into 3d and make fractals with modulo.. altoguh u would use cpp for that
  22. maybe the character controller and other object have different mass to them.. Try using physicsSetPosition in a loop . Or divide force by mass or something. For the shader thing, please explain better what u need, it probably dont need to be scripted. Check out firepit addon in workshop for animated sprite texture
×
×
  • Create New...