forked from gamaral/marshmallow_h
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDESIGN
40 lines (27 loc) · 1.01 KB
/
DESIGN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
====================================================================================
Marshmallow Engine
====================================================================================
“The only game engine that tastes better slightly burned!”
Engine
======
The engine may only have a single active scene at any one time.
Scenes
======
Scenes may have many layers. Layers stacks are FILO, drawn and updated
bottom up.
Layers
======
There can be different types of layers, they may block update and rendering
to other layers.
SEE ALSO: Game::EntitySceneLayer (render and update)
Game::Box2DSceneLayer (update-only)
Game::PauseSceneLayer (blocks updates)
Entities
========
Entities are stored in Game::EntitySceneLayers, they may contain any number
of components.
Components
==========
Components bring features to an entities, like position, static movement,
box2d bodies, rendering, etc.
vim:syn=notes: