Loading...
48
10 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 started thinking about changing my collision system from objects to tiles, due it takes less memory to run it.

But i kinda don't know, due my game has moving platforms and etc., but i'll try to find the solution.

So... We ARE going to play, or not?

I'm waiting, y'know?

Yeah, still makin' level.

cute cat guy ✨️

So, i finally managed to make +- normal system, that handles everything, and ALSO it's much easier than Input Manager.

Чтоже, я слегка вернулся, но для того, чтобы переманить вас на свой вновь открытый ТГК >:3

[ ссылка в артикле ]

[ check the article ]

Making tiles like in 90-es

Wip.

CHECK THE ARTICLE, THERE'S IMPORTANT STUFF!!!

Нихуя себе stonks.

Это больше чем за всю мою карьеру.