Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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:

  1. 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)
  1. Design:
    • initialisations
      • file loading
      • class loading
    • loop
      • class updating
      • class drawing
  1. Restucture:
    • Only functions that are really necessary are located here.
      • Load
      • init
      • loop
    • everything else goes out into other classes

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

things to do (out from [3462])

  1. the separation mainloop and level-data, this are two very diffrent things.
  2. command-node and the hole command structure has to be redesigned
  3. there are some diffrencies in naming: timeSlice(), tick(), update()

they are all the same…

  1. separation between graphics engine an world itself, display/draw

processes are very different

  1. currently there is a limit of one camera in the world due to the

code. there could arise the need for more camreas… so loooong…

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.