Search found 5 matches
- Sun Dec 29, 2013 3:40 pm
- Forum: General
- Topic: Threads on 0.9.0
- Replies: 6
- Views: 3797
Re: Threads on 0.9.0
Thanks guys. I was wondering how to debug the threads. Is this is the best way to load images on the fly? Should I store the levels in another format? I'm using png images becouse it saves a lot of time. I just need to know the position and color of each pixel to know if its a solid wall or ground o...
- Sun Dec 29, 2013 12:42 am
- Forum: General
- Topic: Threads on 0.9.0
- Replies: 6
- Views: 3797
Re: Threads on 0.9.0
I tought channel:demand() paused the excecution of the thread only, not the main program.
- Sat Dec 28, 2013 10:41 pm
- Forum: General
- Topic: Threads on 0.9.0
- Replies: 6
- Views: 3797
Threads on 0.9.0
Hello everybody! I'm making a game in which the world is generated randomly and it's infinite. I generate a 640x480 level png image when I need to and save it to a local folder. The problem is that I need to reload these images on the fly as the game is running. I figured out I need to use threads t...
- Tue Dec 24, 2013 3:01 pm
- Forum: General
- Topic: About FPS and dt
- Replies: 3
- Views: 2347
Re: About FPS and dt
Thanks guys! This helped me a lot.
- Mon Dec 23, 2013 4:28 pm
- Forum: General
- Topic: About FPS and dt
- Replies: 3
- Views: 2347
About FPS and dt
Hello everybody. I have some questions about FPS and dt not only on LOVE but on game programming on general. If I want to move something on the screen and keep constant speed no matter what FPS the game is running on, I have to use something like this: x = x + VEL*dt; Here, if FPS is high dt tends t...