Opened 20 years ago
Closed 20 years ago
#43 closed defect (fixed)
world-simplification
Reported by: | bensch | Owned by: | patrick |
---|---|---|---|
Priority: | major | Milestone: | 0.2.2-pre-alpha orx-v0 |
Component: | GeneralFramework | Version: | |
Keywords: | Cc: | ||
Referenced By: | References: |
Description
World-class: the main loop of each level needs some caring to:
- Modularity:
- The world exists of many different things: environment effects lights enemies the player and so on.
- the idea is that the world loads, and updates them, but it should not paint them itself
- Meaning: everything that is not a loop goes out of world and into a own class (like the light)
- Design:
- initialisations
- file loading
- class loading
- loop
- class updating
- class drawing
- initialisations
- Restucture:
- Only functions that are really necessary are located here.
- Load
- init
- loop
- everything else goes out into other classes
- Only functions that are really necessary are located here.
I hope, that with such a modularity we can bring more insight, clearity and simplicity into the very important world-class.
Change History (2)
comment:1 Changed 20 years ago by bensch
comment:2 Changed 20 years ago by patrick
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
things to do (out from [3462])
they are all the same…
processes are very different
code. there could arise the need for more camreas… so loooong…