Search found 107 matches
- Sun Apr 15, 2018 5:39 pm
- Forum: Support and Development
- Topic: Stuttering & Fixed Timesteps
- Replies: 31
- Views: 25046
Re: Stuttering & Fixed Timesteps
That's an old topic, but I found here some questions that I also have. I want to write a networking game with box2d, and if you don't fix the timestamp in box2d, it creates a stuttering effect. A more optimal solution would be to separate rendering from updating entirely by putting everything except...
- Tue Apr 10, 2018 8:47 pm
- Forum: Support and Development
- Topic: Online Racing Game
- Replies: 8
- Views: 3791
Re: Online Racing Game
Well I don't care about drawing the wheels. And it's hard to build a physics layer on top of Box2D. Plus I really need this to work over network. This means the client will run his own simulation and periodically correct the placements of the cars to catch up with the server. In Box2D, if you reposi...
- Tue Apr 10, 2018 4:53 pm
- Forum: Support and Development
- Topic: Online Racing Game
- Replies: 8
- Views: 3791
Re: Online Racing Game
Thanks for the link, Beelz, I will give it a look. I can recommend a really nice and clear tutorial which I used in the past. However, the end effect is not perfect. You could just draw the wheels independently instead of trying to simulate the entire car in Box2D. How would you make a car turn, if ...
- Mon Apr 09, 2018 5:44 pm
- Forum: Support and Development
- Topic: Online Racing Game
- Replies: 8
- Views: 3791
Re: Online Racing Game
Thanks for your reply, ivan. My comments: 2. I know VSync can be disabled, but in the end I would like to avoid screen tearing. So I was wondering if there was anyone here who had some experience with this. 3. I dedicated a lot of time to make Box2D work in the past. The problem is, the top-down whe...
- Mon Apr 09, 2018 3:03 pm
- Forum: Support and Development
- Topic: Online Racing Game
- Replies: 8
- Views: 3791
Online Racing Game
I would like to write an online racing game for up to 20 players connected to the server. The game should resemble something like Turbo Sliders, GeneRally or NSGP. I made some research but I still have certain doubts. Networking : I saw there is luasocket, or lua-enet, or sock.lua. Which one would y...
- Fri Nov 13, 2015 1:21 pm
- Forum: Support and Development
- Topic: How to prevent scaling in Windows?
- Replies: 4
- Views: 2850
Re: How to prevent scaling in Windows?
I have googled and I found a workaround. For 64bit applications, the compatibility fields are grayed out. You have to manually add an entry in the Registry: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers In that key, create a String entry with: Name = The full p...
- Thu Nov 12, 2015 12:12 pm
- Forum: Support and Development
- Topic: How to prevent scaling in Windows?
- Replies: 4
- Views: 2850
How to prevent scaling in Windows?
Hi My screen resolution is 1920x1080. I am using the scaling of 150% on Windows 7. This function: width, height = love.window.getDesktopDimensions( display ) Returns 1280x720. In window mode, if I declare window size of 1000x600, it has a size of 1500x900, and everything is stretched, the pixels are...
- Wed Apr 02, 2014 8:04 pm
- Forum: Support and Development
- Topic: Top-down physics engine?
- Replies: 5
- Views: 5600
Re: Top-down physics engine?
Here's a demonstration of box2d top-down friction http://love2d.org/forums/viewtopic.php?f=5&t=77596 Note this is does not include proper car controls, it's meant to show how you can implement vehicle friction. For proper car controls you'd want to keep track of wheel rotation and apply forces ...
- Sun Mar 30, 2014 3:14 pm
- Forum: Support and Development
- Topic: Top-down physics engine?
- Replies: 5
- Views: 5600
Top-down physics engine?
Hi, I've been playing with Box2D for too long, trying to implement top-down physics (like GTA 1 or Micro Machines). Sadly, Box2D is really designed for platformers and it's a real pain for develop a top down game where physics won't blow apart. I'm having major problems with friction (not really exi...
- Tue Mar 25, 2014 10:38 pm
- Forum: Support and Development
- Topic: [Solved] Easy way to make a multiplayer?
- Replies: 15
- Views: 13072
Re: Easy way to make a multiplayer?
There is LUBE
https://love2d.org/wiki/LUBE
And there is lua-enet
http://leafo.net/lua-enet/
I assume it's better to use lua-enet.
https://love2d.org/wiki/LUBE
And there is lua-enet
http://leafo.net/lua-enet/
I assume it's better to use lua-enet.