S
srchaos
Guest
Hi, i'm actually creating a Platform game and i would like help with this : (
From my project:
Thanks for view
From my project:
Thanks for view
I mean the random move every few seconds that many npc do in Pokemon. Sorry for not specifying.Not quite sure what you mean, the Pokemon games are top-down.
Nice, and how i can do the animation?Set a random alarm every few seconds that set a new target locarion and move the npc towards it in the step event. When he gehts there distance is 0 and he stops
I mean, when NPC isn't move, have the sprite idle... and when NPC start move change it for the sprite walkinganimation? you mean movement? with something like:
if x < targetx { x = x + walkspeed }
if x > targetx { x = x - walkspeed }
I think he means how does me make it where the Npc has a walk animation while walking?animation? you mean movement? with something like:
if x < targetx { x = x + walkspeed }
if x > targetx { x = x - walkspeed }
///Animation
if (intMove!=0) image_xscale = intMove;
if (place_meeting(x,y+1,obj_block01))
{
if (intMove!=0) sprite_index = spr_player_move
else sprite_index = spr_cplayer;
}
I share how i make the player animation:the video in the first thread shows a walking animation from your project and many other animations, so where is the problem exactly with this type of anymation?