idea: platformer love design doc
This commit is contained in:
parent
2a38448585
commit
4da60d9943
45
ideas/platform_love_design.txt
Normal file
45
ideas/platform_love_design.txt
Normal file
@ -0,0 +1,45 @@
|
||||
Create a platformer that contains just a character that jumps onto floating (non moving) platforms.
|
||||
|
||||
Graphics
|
||||
Load graphics into memory
|
||||
load in background
|
||||
Use example background (ubuntu 7.10?)
|
||||
load in platforms
|
||||
load in character graphics
|
||||
load in floor
|
||||
Have a break in the floor for char to fall and die
|
||||
place platforms in various places to jump on (within jumping ability as determined)
|
||||
place char in bottom left corner of screen
|
||||
|
||||
Sounds
|
||||
Load in jump sound
|
||||
Load in death sound
|
||||
Load in music
|
||||
|
||||
Controls
|
||||
Move char left and right
|
||||
bind 'a' 's' 'left' and 'right'
|
||||
Have char jump
|
||||
bind 'space' to jump
|
||||
have set height and speed in which char goes up when jumping
|
||||
have set height and speed in which char goes down (falls)
|
||||
Have quit binding
|
||||
press 'esc' to quit
|
||||
|
||||
Collision
|
||||
Have char collide with floor
|
||||
have char collide with platforms
|
||||
don't let char wander off screen
|
||||
In cases where char can (such as hole in floor)
|
||||
play death sound
|
||||
reload starting graphics after a few seconds or press a key
|
||||
|
||||
Main loop
|
||||
blit graphics to screen if there are changes
|
||||
Move char if input received
|
||||
check for colisions with char and perform actions as expected
|
||||
check_col(floor)
|
||||
check_col(enemy) # Yea, I know there are no enemies this is just example
|
||||
check_col(platform) # may be same as floor
|
||||
#Or perhaps, check_col(above char) && check_col(left of char) etc...
|
||||
|
Loading…
x
Reference in New Issue
Block a user