User:Deldee/objectAnatomyDraft: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 14:37, 11 October 2023

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