Search found 107 matches
- Tue Mar 25, 2014 6:05 pm
- Forum: Support and Development
- Topic: How to achieve smooth animation - DT prediction
- Replies: 7
- Views: 4981
Re: How to achieve smooth animation - DT prediction
It works for me. On my monitor it looks as if the blue box is moving steadily while the red one moves in jumps from time to time. I was skeptical at first, but now that I see the method in action, I think it is a clever method, as long as vsync is switched on. It took me a while to understand what ...
- Tue Mar 25, 2014 1:41 pm
- Forum: Support and Development
- Topic: How to achieve smooth animation - DT prediction
- Replies: 7
- Views: 4981
Re: How to achieve smooth animation - DT prediction
OK I implemented the logic described in the article, the loop looks like this: function love.update(dt) local old_delta = dt + delta_buffer local frames = math.floor(old_delta * 60) if frames < 1 then frames = 1 end local new_delta = frames / 60 delta_buffer = old_delta - new_delta end 1. We assume ...
- Sun Mar 23, 2014 1:12 pm
- Forum: Support and Development
- Topic: How to achieve smooth animation - DT prediction
- Replies: 7
- Views: 4981
Re: How to achieve smooth animation - DT prediction
I don't agree with your logic of "we're predicting the next frame". No, we're taking the state at the last frame, then applying our transformation for time passed since then to present the current frame. Yes, dt is the time to the last frame, but that is also the time you've yet to simula...
- Sun Mar 23, 2014 12:38 pm
- Forum: Support and Development
- Topic: How to achieve smooth animation - DT prediction
- Replies: 7
- Views: 4981
How to achieve smooth animation - DT prediction
Hi all I want to ask you about a very basic thing, yet I think many people do not realize it. I am talking about creating a smooth animation, an optimal main loop. I decided to look into this matter after reading this article: http://frankforce.com/?p=2636 OK, so how do we get smooth animation? Just...
- Sun Oct 13, 2013 9:30 pm
- Forum: General
- Topic: Alternatives to LÖVE
- Replies: 18
- Views: 8395
Re: Alternatives to LÖVE
stop, love are even more documented than unity3d and some of the biggest engines on the market and if you need class similar things then download lovelymün or some class libraries, love are the best 2d engine, heretic. Hey, I'm not saying LOVE is poorly documented! LOVE wiki is excellent, the forum...
- Sun Oct 13, 2013 8:52 pm
- Forum: General
- Topic: Alternatives to LÖVE
- Replies: 18
- Views: 8395
Re: Alternatives to LÖVE
Well, I have been doing Luv.js for a while now. It's on statis at the moment, since I decided to enter the collision detection rabbit hole again. But it's next on my list. Warnings: it's javascript, not Lua. It's not exactly equivalent to LÖVE. I'm pretty sure I will change the graphics interface s...
- Sun Oct 13, 2013 8:48 pm
- Forum: General
- Topic: Alternatives to LÖVE
- Replies: 18
- Views: 8395
Re: Alternatives to LÖVE
patience have its rewards and its costs. also love aren't low level at all, pygame is. OK, but you cannot use LOVE efficiently as is. You need to include Classes and gamemodes, which were not included in order not to limit developer's freedom. I also see some side-projects like LOVE for Android or ...
- Sun Oct 13, 2013 8:00 pm
- Forum: General
- Topic: Alternatives to LÖVE
- Replies: 18
- Views: 8395
Alternatives to LÖVE
I love LÖVE, it's simplicity, intuitive documentation, Lua, but it seems to me like the project is being developed at a quite slow pace. I mean, we've been waiting for 0.9.0 forever. And I am missing a couple of features in LÖVE that prevented me from creating a game that I wanted to make (you can p...
- Thu Jun 13, 2013 4:00 pm
- Forum: Support and Development
- Topic: Game Obfuscation
- Replies: 38
- Views: 15026
Re: Game Obfuscation
Well if you were to develop a multiplayer game, hacking into the source code and using the modified game might ruin the experience for other people. Yes, I was thinking about it. Who cares about licensing in such situation. You are not going to chase people who edit the souce code in order to cheat...
- Thu Jun 13, 2013 3:58 pm
- Forum: Support and Development
- Topic: Prevent game cheating?
- Replies: 13
- Views: 7402
Re: Prevent game cheating?
A more important question is: why do you care? It's a single player game. Let people muck about. It's not like you have to pay them based on their scores or anything. What if I have an online game? Then you want to prevent cheating, because you want to keep things fair for other players. And it see...