Designing our game
Now that we have chosen the entity component system approach and created a world that will be populated by them, let's think about the needs. Following table summarizes the needs:
Entity |
Parent |
Specificities |
---|---|---|
|
This can move This can be drawn This can collide with another entity | |
|
Entity |
This can shoot This is controlled by inputs This can collide with everything except the one it shoots |
|
Entity |
This can be destroyed by shooting This gets the player some points when destroyed by shooting |
|
Enemy |
This has a bigger chance to spawn a small saucer when the point number increases This can collide with everything except saucer shoots |
|
Saucer |
This has a special skin |
|
Saucer |
This can shoot the This has a special skin |
|
Enemy |
This can collide with everything except other meteors |
|
Meteors |
This splits into some This has a special skin... |