Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
I've been trying to do something. If you guys could tell me how to checking if More Than One Key is Being pressed.. It'd be greatly appreciated. maybe I can use keyboard_check_direct? Thanks.
No... I already knew that, but thanks! What I wanted was the Zelda like diagonal movement. When you move up and press right, your sprite changes into the up sprite still.
ah that's pretty simple, you can add priority to your keys. The simplest way to do this is:
Code:
if keyboard_check(vk_up)
{
// up sprite
}
else if keyboard_check(vk_down) // up and down have most priority
{
// down sprite
}
else if keyboard_check(vk_left)
{
// left sprite
}
else if keyboard_check(vk_right)
{
// right sprite
}