Problem with movieclip animation for tiles-based game platform !
Posted
by user209636
on Stack Overflow
See other posts from Stack Overflow
or by user209636
Published on 2010-03-27T05:40:04Z
Indexed on
2010/03/27
5:43 UTC
Read the original article
Hit count: 153
flash
|actionscript-3
Hi everybody, I'm a new member of this forum. I have some problem and i want to ask you. Recently, I have a project game tiles-based platform. I have coded completed my project game with simple graphics represent for character animation. But when i create flash animation then attach to tiles-based character of my game's project i have a problem. Because of tiles-based game with fixed tile sizes and my character animation have each width and height size for each frame. When i attach animation to character code. Example , with my game if i press key to move character , then my character will playing "moving" frame , because of this frame animation have difference width and height then my game function check collisions fail , I want to ask you how can i solve this problem ?. I want to learn some good pratice for making game . Thank !
Sorry for my english skill , i am not good at this
© Stack Overflow or respective owner