Flappy Bird Presentation
in both presentations, shows the different levels i had to pass through. In each photo shows the level and the objective i have to do/things i have to do to pass the level.
There is several codes in each presentation, to limit them down there is:
Maze Game:
- when run
- Move forward
- Turn left/right
- Repeat until (acorn) do
- if path ahead do/else
Flappy Game:
- Flap a (normal..etc) amount
- end game
- score a point
- play (wing ..etc) sound
- set speed (normal..etc)
- set scene (city day..etc)
- set player (yellow bird..etc)
- set score (0..etc)
- when run
- when hit the ground
- when hit an obstacle
- when pass obstacle
- when click
all these codes help you move towards your goal of completing the level.
for example:
When run: repeat until (acorn) do (if path ahead (do) turn left (else) move foward.
to help you understand what i commanded the player to do is when it runs it should always go forward, if there is an obstacle ahead it should turn left.
What i learnt in this exercise was how to command and how to run through obstacles with the power of code/coding. it was really enjoyable and a real brain teaser.
No comments:
Post a Comment