You are browsing as a guest. Sign up (or log in) to start making projects!

11h 42m 41s logged

Tempname: Engine update. I am so tired

To keep it all contained, since the last devlog I have:

  • Merged Phase-III into main & created a Phase-IV branch
  • Changed the landing page’s color palette
  • Modified the target architecture 4 times (3 committed)
  • Created a rudimentary SceneManager class
  • Implemented an EngineContext class to distribute ownership & to help with data flow+containment
  • Implemented a layer system to help cut down on application & to contain/host the events system.
  • Finally put in the system directory (folder) in the architecture that will host any simulations, computations, and animations. Currently it is the planned details for the camera system.

The biggest thing that I have done so far is the layer system & state/context creation.

The context of the engine lets managers talk to each other so everything can work together, while keeping everything contained.

The state is split up into two parts, state & settings (or state & configuration). The state is meant for information that is meant to change throughout runtime, and the engine depends on it to render the right final result (ex. camera state & position).
The settings part is meant for variables that won’t change too much, but if they do it is something that is a large modification to the runtime (ex. window title, rendering engine).

The layer system is like a regenerating stack of pancakes 🥞. Before you cast your pancake regeneration spell we all have, you have to prep the pancakes with butter and syrup. Each time you finish the pancakes, a new round starts and you eat them again. Then, once you are done, you have to disable the regeneration spell.
The layer system acts the same, but computationally & layers instead of pancakes. Each layer goes through the lifecycle of onAttach -> onUpdate -> onDetach.

By far the biggest reason for the layer system is the event system, but I’ll leave that for the next devlog.

Here is the github page: https://github.com/pkncoder/Engine/tree/Phase-IV
Here is the landing page: https://pkncoder.github.io/Engine/

I still have soooo much to do, especially with & after the event system. I’ve completed most of the easy stuff for Phase-IV.

Here is the current architecture & a site screenshot.

0
5

Comments 0

No comments yet. Be the first!