Monday, December 7, 2015

Dev-Day Episode 51: The Costs Of Revenge

ooooh boy.

so i solved the thing so that wasn't working just by putting

if (runleft=false)&&(runright=false){ hspeed=0;} at the top of the movement code.

the position is important, i'm finding out. because now that code will be the first thing in this sequence the game will check.

so now it'll check if the character shouldn't be moving before it checks if they should be.

which fixes my problem.

i'm also working on how to make the mouse controls work for the gamepad, like the menu selection and especially the grappling hook.

right now i'm working on a aiming arrow, but that isn't working.

i think i'll trash all of that and make a virtual cursor instead.

the tricky part will be distinguishing the virtual cursor from the real one.

maybe if i just make new grappling hook objects and replace the mouse parts with the cursor parts.

we'll see tomorrow.

No comments:

Post a Comment