2.3 Movement
Design
Objectives
Set up environment for the Player
Usability Features
Key Variables
Variable Name
Use
Set Gravity
Sets the constant downward acceleration
Set Speed
Sets Movement speed
constant add player
Add player into the environment
Anchor
Show the anchor point of the Sprite
Load Sprite
Used to input what each symbol represents in the level
Area
Collision detection (T/F)
Body
Static properties (T/F)
onKeyPress
Reads external input
Pseudocode
Development
Outcome
Challenges
setting a speed value that makes platforming smooth and movement feel responsive
Testing
Evidence for testing
Tests
Test
Instructions
What I expect
What actually happens
Pass/Fail
1
Input Left
Move left
As expected
Pass
2
Input Right
Move Right
As expected
Pass
3
Input space
Move up
As expected
Pass
4
Walk over platform
Player collides with the platforms
As expected
Pass
Evidence

Last updated