9 months 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

two types of people

yesmario

The Undead Are Coming!

If you enjoy this project SMASH that follow button!

Welcome Back, Commander - https://gamejolt.com/games/WBC/914565

#zombies #undead #zombi #outbreak #simulator

HELL YEAH

Demonstrating some interesting mechanics in Weefager!!

sneak peek

(gonna play a game soo)

Working on a new attack for Plantergeist!

something's wrong with my deltarune