Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
sprites movement stuttering
Print
Pages: [
1
]
Author
Topic: sprites movement stuttering (Read 2797 times)
0 Members and 1 Guest are viewing this topic.
andreaszdw
Newbie
Posts: 26
sprites movement stuttering
«
on:
March 06, 2009, 08:18:49 am »
If I move my sprites, it looks always like stuttering. What could be the problem?
How could I do smooth movement?
(The FPS of the program is 2000 or, the speed of my system couldn't be the problem)
The source is to find here:
http://code.google.com/p/sallb/source/browse/#svn/trunk
Bye
Andreas
Logged
dunce
Jr. Member
Posts: 77
sprites movement stuttering
«
Reply #1 on:
March 06, 2009, 09:13:27 am »
Quote
How could I do smooth movement?
1. Do not use large steps while moving
2. Do not update sprite position each frame. Use time elapsed since last step to decide if you need to move sprites or not.
Maybe this helps.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
sprites movement stuttering
anything