Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Tile based movement in flash as3

New Here ,
Jan 09, 2014 Jan 09, 2014

Hello i am currently working on the engine for a tiled based game. I have set up the map using a 2 dimensional array. Movement wise i have just increased/decreased the x/y position of my characer by the same amount of pixels as my tiles. Anyway of course this does not look good as my character is just "teleporting" to the next tile. Perhaps anyone can help me how to make some smooth movement and still ensure that my character will end up in the middle of a tile (Just like in the pokemon games).

Any help is much appreciated - John

TOPICS
ActionScript
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 13, 2014 Jan 13, 2014

Use a tween engine:

http://www.greensock.com/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2014 Jan 14, 2014
LATEST

Thank you i'll take a look at that tomorrow, and hopefull i can get on with my game

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines