Hello,
Been awhile since I used C2. I forgot and cant seem to find how to detect mouse.x if it is growing or decreasing so I can pass some left and right vars. Simple I am sure, but cant figure it out and I am on a tight deadline. So,.. need some help.
check if mouse.x is greater than variableX
if greater, then set direction to right, else left.
set variableX to mouse.x
Develop games in your browser. Powerful, performant & highly capable.
That is how I had it, but I am only able to detect if mouse.X is greater or less if I delay the varX. Otherwise it will never be greater or less it will be the same.
Ahh. Stupid me. I had the varX set in everytick and not the if statement itself.