update readme
This commit is contained in:
@@ -37,15 +37,15 @@ main :: proc() {
|
|||||||
### systems
|
### systems
|
||||||
systems are procedures that run on set schedules
|
systems are procedures that run on set schedules
|
||||||
|
|
||||||
a schedule just determines when a producure runs
|
a schedule just determines when a producure runs\
|
||||||
schedules are:
|
schedules are:\
|
||||||
- STARTUP
|
- STARTUP\
|
||||||
- UPDATE
|
- UPDATE\
|
||||||
- DRAW
|
- DRAW\
|
||||||
|
|
||||||
`STARTUP` runs once at the start of an app
|
`STARTUP` runs once at the start of an app\
|
||||||
`UPDATE` runs every frame
|
`UPDATE` runs every frame\
|
||||||
`DRAW` runs every frame *after* update, and makes draw calls to raylib
|
`DRAW` runs every frame *after* update, and makes draw calls to raylib\
|
||||||
|
|
||||||
```odin
|
```odin
|
||||||
main :: proc() {
|
main :: proc() {
|
||||||
@@ -65,7 +65,7 @@ example_update :: proc() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
### components
|
### components
|
||||||
components are just structs with data, and kept with other components of that type in `Storage`.
|
components are just structs with data, and kept with other components of that type in `Storage`.\
|
||||||
create a new component
|
create a new component
|
||||||
|
|
||||||
```odin
|
```odin
|
||||||
|
|||||||
Reference in New Issue
Block a user