Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xilo

Pages: [1]
1
General / Tile Based Movement
« on: August 21, 2010, 10:26:55 pm »
Edit: Got it fixed.

2
General / Tile Based Movement
« on: August 21, 2010, 09:57:32 pm »
Nope, I still get periodic 2 tile jumping. I'm using 1.6 btw since 2.0 has a huge problem with ATI cards.

3
General / Tile Based Movement
« on: August 21, 2010, 09:05:35 pm »
I sort of figured out how to do it, but I have one glaring problem.

Sometimes, the sprite will skip a block if I'm just tapping on the arrow key.
Normally, just tapping will move the character one block, but sometimes it moves the character 2 blocks.

I have this set:

Code: [Select]
App.SetFramerateLimit(60);

I'm guessing the tile skipping has something to do with the FPS and time between frames and slight hiccups?

What formula do I need to do for the character movement to fix this problem?

4
General / Tile Based Movement
« on: August 21, 2010, 05:02:02 am »
I'm having difficulties trying to figure out tile based movement and animation.

I'm wanting to create a tile-based RPG with movement similar to Pokemon, FF2,3,4, etc where say if you press left key, the character will move only only one tile to the left and it's sprite will animate through however many sprites you want. If you continue to hold the left key, the character will continue to move one tile to the left and the sprites will cycle through the full animation.

All I've really seen are tutorials for smooth movement and such, but nothing to really mimic this behavior.

Any help me out?  :cry:

Pages: [1]