<setup all functions/globals whatever used in all levels>
<initialize stuff>
<Load stuff for specific level>
<begin main loop>
<update your animations stuff>
<update your AI logic>
<update your VFX/particle, billboards,reflections, whatever/>
<update your player controls/menu commands>
<update your HUD stuff/health bar, points, whatever/>
<update your Checkpoint system/save system>
<update stuff I missed to include>
<Render stuff>
<end of main loop>
<initialize stuff>
<Load stuff for specific level>
<begin main loop>
<update your animations stuff>
<update your AI logic>
<update your VFX/particle, billboards,reflections, whatever/>
<update your player controls/menu commands>
<update your HUD stuff/health bar, points, whatever/>
<update your Checkpoint system/save system>
<update stuff I missed to include>
<Render stuff>
<end of main loop>