Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. New error on the rise, oh joy! XD Upon usage of TriggerChangeMap.lua in the base scripts, I find the error "Assert Failed" no comment. I used my map name as a string, and used the object which parents the script as a fail-safe for falling out the map, in order to trigger a reset of the map in use. start.map -- "start" (as used in the string)
  3. Today
  4. If it's fullscreen, how can the cursor go outside the window?
  5. Even with fullscreen cursor going out of window which can be annoying for moving camera by putting cursor near screen border in tactic and strategy games, I want to have it as an option game settings.
  6. What would you use this for? If the window is fullscreen, you have nothing to worry about. If the window is not fullscreen, you presumably want to be able to click on another window to select it.
  7. See Tutorials > Games > First-Person Shooter > AI, Pathfinding, and Events https://leadwerks.com/learn
  8. Hi, I love doing hammer style mapping. I know we can edit the vertex, but if there was a clipping tool, I think it would be very useful in situations like the ones in the picture. This is a feature I've been wanting ever since Leadwerks. I hope such a feature comes.
  9. I bought Leadwerks with no LUA or Visual Flowgraph experience, is there any kind of tutorials that can help me on my feet? P.S: I am now broke, lol.
  10. Whenever I go up to an object to pick it up, the game engine crashes with the error "C:/Users//Documents/Leadwerks/Projects/firstgame/scripts/objects/player/fpsplayer.lua" : 712 : attempt to index field 'hand' (a nil value)
  11. Code snippet how i manage to do in in OpenGL loop if (hwnd == GetActiveWindow()) { static RECT oldRect; RECT newRect; GetWindowRect(hwnd, &newRect); if (memcmp(&oldRect, &newRect, sizeof(RECT)) == 0) { ClipCursor(&newRect); } oldRect = newRect; }
  12. Apart from manually keeping the mouse inside the window until it goes out of focus, I'm not too sure.
  13. Ah thats what you meant. I did it intentionally to be able to do stuff on other windows. btw current full screen in Ultra behaves as borderless window - is there a way to make it true fullscreen? Then mouse would inside window and panning would always work until alt-tab.
  14. I clicked nothing, just moved the mouse to the edge of the full screen window. Panning does work if you keep the mouse right near the window border, but leave the window and it won't work anymore. WASD work well.
  15. Actually SetMaxForce was only 100
  16. Did you click something on other screen? Panning works only if game window is active which can be made by scroll button or RBM for avoiding doing any actions. btw main way to move camera are WASD (or anything else if you want to change it in settings).
  17. I mean for the scene collision. I use convex hulls for brushes now and they work a lot better.
  18. I mean moving the camera around by the mouse being at the edge of the window.
  19. Yeah they are bit high.... FLT_MAX for both force & torque No way I was letting that cylinder be influenced by anything! I'll try a convex hull too. Is that what your player controller uses?
  20. What do you mean by pan? I think i found right translation for this world by i still have no idea what exactly it means in this context
  1. Load more activity
×
×
  • Create New...