2 years ago

anyone who needs movement help in gms2 go to article

(redone bc i didn't add community)


if(keyboard_check(vk_right)){
x += 1;
sprite_index = spr_walking_right
}

if(keyboard_check(vk_down)){
y += 1;
sprite_index = spr_walking_down
}

if(keyboard_check(vk_up)){
y += -1;
sprite_index = spr_walking_up
}

if(keyboard_check(vk_left)){
x += -1;
sprite_index = spr_walking_left
}

if(keyboard_check(vk_nokey)){
image_speed = 0;
image_index = image_number = 0;
}

if(keyboard_check(vk_anykey)){
image_speed = 1;
}



0 comments

Loading...

Next up

WHO'S THE NUMBER 1 TWO TIME FAN?

ME

ME

ME

ME

I was looking for jock two time......

found this instead-

My game in 50 seconds #indiedev #Gamedev #steam

FINALLY..IT'S OVER.

THEY'RE MATCHING THEY'RE MATCHING

(@FwD @JwZ )

🆕🔥New mechanic! Place wet souls into sponges to cool down scorching terrain and make your way through!

chat

chat I might ask for silksong

but I'd need hollow knight cuz I'm pretty sure silksong is a sequel