A function problem.
- Max-Pain
-
Max-Pain
- Member since: Jul. 7, 2004
- Offline.
-
- Forum Stats
- Member
- Level 34
- Blank Slate
I am trying to make a platform game when your man can jump..
but my function isnt working well it... my man always jump from
one place to another without the "smooth animation".
If my man was in _y = 200 and I want him to get to _y = 300
with his speed.. not just like that.
I want my man to show me the levels of his jump.
- Edvin
-
Edvin
- Member since: Feb. 3, 2004
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
- Toast
-
Toast
- Member since: Apr. 2, 2005
- Offline.
-
- Forum Stats
- Member
- Level 09
- Blank Slate
At 8/9/06 03:49 AM, Max-Pain wrote: I want my man to show me the levels of his jump.
You mean tracing the value of the variable equal to his jump speed? You need to show the code.
- Edvin
-
Edvin
- Member since: Feb. 3, 2004
- Offline.
-
- Forum Stats
- Member
- Level 12
- Blank Slate
At 8/9/06 05:55 AM, -Toast- wrote:At 8/9/06 03:49 AM, Max-Pain wrote: I want my man to show me the levels of his jump.You mean tracing the value of the variable equal to his jump speed? You need to show the code.
No, he means that when he makes his character jump, he goes straight from for example _y = 300 to _y = 400 without any intermediate positions to simulate the jumping.
- Toast
-
Toast
- Member since: Apr. 2, 2005
- Offline.
-
- Forum Stats
- Member
- Level 09
- Blank Slate
Let me guess, your code is Key.isDown(Key.UP)? _y = 300:0; , or something like that, right? :P

