Categories
Game Creation Mastering Development

Apply external effects to player movement

In a 2D downhill game with the following, custom movement code, how do I apply external effects to the player’s movement? For example, when the player hits an obstacle, I want them to get bounced off the obstacle and briefly stop before they are able to continue moving. How do I best integrate those types […]