Hi guys, Im making my game for the rotary competition and i ran into a problem, I need to have a running and sprinting state, simple right? Well no.
I have a variable called PlayerMaxSpeed, Set to 300 normally. When the keyboard button is triggered to sprint is down then im setting it to 600 then invert the same event and set it back to 300. So if keyboard key is down set it to 600, if its not then set it to 300.
But when im sprinting with the right arrow key down, and then i press my jump button it works, The player will jump perfectly.
But if im sprinting with the left arrow key down, and then i press my jump button the player does not jump!!
I tried soooooo many different ways to get this working but nothing. I tried a boolean for is sprinting, set platform vector y, space is down, left is down, and up is pressed. And many other ways that i cannot even remember but nothings working...
And i really need this to work? Any one got a work around?
ps i do not want to share my capx as its my comp entry and its pretty full..
Ashley any ideas?