Monster "floating" in CSD 3.21

My student expects the "pink"to go up when she hits the key up button but it’s seems to be just floating up.

I suspect that using the same keys for both characters could be causing some issues. You could assign up, down, left, right to one character and w, a, s, d to another.

@langilla1,

Fun looking characters in this game!! @edavis is correct in that the same keys are assigned to both characters. I would also double check X vs Y velocity for certain keys. For example, should the “up” key on line 30 be impacting velocityX on line 31?

Also, the initial floating of the pink monster is because of line 12. What should that value so that the monster’s Y axis does not move either up or down?

~Michelle