Managing the Obstacles

The main goal is to make a game where a Teddy bear jumps over the rocks it encounters on its trip.

Normally you would think that the movement script is included in the bear class, as it is the one that seems to be moving forward. However, from a video game perspective, the bear has to be static and only the rocks move towards it.

As you were already able to see by opening the starting project, your code for the rocks must go here, after you have double clicked the Rock Class.

results matching ""

    No results matching ""