External Exam Download Resources Web Applications Games Recycle Bin

Platformer


theory
free falling physics:


Gravity (constant) will accelerate falling speed of object over time (cumulative force). Note - we will not implement a terminal velocity in this case (this is an exercise you may or may not wish to implement yourself).


implementation

1. Draw cube dude sprite, and platforms onto backdrop of stage
dude sprite:



draw platforms onto backdrop of stage. YOU MAY HAVE TO DRAW YOUR PLATFORMS THICKER THAN OUTLINE SIZE 4 as i have since discovered:




2. Dude script


questions
1. Add moving platform sprite
draw moving_platform sprite:


2. Add moving platform scripts to platform AND character:
moving_platform sprite script. platform_hspeed must be global (all sprites):


add to existing dude sprite script:


3. Other elements
What else can you add to this game?