04-19-2019, 04:20 PM
I played through the peach game and some things to note:
I notice you're using the difference between the X and Y of the mouse to calculate camera movement. If its too sensitive you can do something like multiply the difference by 0.8 or w/e number to make it less sensitive. Also after calculating camera movement its good to reset the mouse position to the center of the screen so you don't keep moving the mouse out of the window and lose control.
Also when hitting blocks with her head, peach will sort of stick to them for a bit. I believe this is because the block is simply not allowing her to pass and not actually stopping her momentum. It's best to set her vertical momentum back to 0 when she's stopped by a block so she doesn't stick in midair like that imo.
Great job getting something up and running!
I notice you're using the difference between the X and Y of the mouse to calculate camera movement. If its too sensitive you can do something like multiply the difference by 0.8 or w/e number to make it less sensitive. Also after calculating camera movement its good to reset the mouse position to the center of the screen so you don't keep moving the mouse out of the window and lose control.
Also when hitting blocks with her head, peach will sort of stick to them for a bit. I believe this is because the block is simply not allowing her to pass and not actually stopping her momentum. It's best to set her vertical momentum back to 0 when she's stopped by a block so she doesn't stick in midair like that imo.
Great job getting something up and running!