User:Deldee/objectAnatomyDraft

From Ukikipedia
< User:Deldee
Revision as of 14:37, 11 October 2023 by Deldee (talk | contribs) (Created page with "The following is a draft a full article on the object processes, to help debugging them for newcomers : Rough draft, using goomba as an example: <br> Init - > [https://githu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following is a draft a full article on the object processes, to help debugging them for newcomers :

Rough draft, using goomba as an example:
Init - > data/behavior_data.c
Set OBJ_LIST - > Object Groups
Set OBJ Flag - > Nothing
Load animation or Model - > Actor groups and Actors list
Set object specific values (Home, physic, drop to floor) - > TODO
Call Native Behavior (init behavior) - > Behavior Lists

  • This will also set the hitbox, which is usually a struct defined in the same file, but can be different files (boulder for example)

Begin Behavior Loop

End Loop