Loading...
48
7 months ago

GameMaker: Studio tutorials

Animations for player!


Code here!

// Animations

// System to scale sprites

if (move!=0)

{

image_xscale = move

}

// Main animation

if (place_meeting(x,y+1,objSolid))

{

if (move!=0)

{

sprite_index = sprWalk

image_speed = 0.4

}

else

{

sprite_index = sprIdle

}

}

else

{

if (vsp < 0)

{

sprite_index = sprJump

}

else

{

sprite_index = sprFall

}

}



5 comments

Loading...

Next up

So, i have created an enemy here.

But i don't really know how to name him.

Maybe you have any ideas?

Big thanks to @Great_Alexander !

So, i kinda made a player and enemy, that took me a while, but anyways, it works.

Btw, choose his name (you still has a chance to write it)

cute cat guy ✨️

So, i started making a level.

I finally made this shit.

GUYS!!!!

I have awsome news for you!!

ИТАК, ребятки, мы презентуем вам НАШ проект ЕРЕСЬ КУЗИ ДВА... Ну, а вернее ДЕМО этой игры. ИГРА: https://gamejolt.com/games/YourPersonalHell/958149

Some pages from my game dev diary.