What is it ?

Component System

A component is a logical program use to do something in your game.

Each component has some functions made to update, initiate or call for special events during the runtime.

Component is the only thing you gonna code to change or add new gameplay systems

How component call functions ?

How create my Component ?

To create a new component, follow these instructions :

Create new onechevron-right

List of basic functions

checkComponentValiditychevron-rightonAwakechevron-rightonStartchevron-rightonUpdatechevron-rightonFixedUpdatechevron-rightonDisplaychevron-right

List of event functions

onDestroy [EVENT]chevron-rightonGameQuit [EVENT]chevron-rightonDisable [EVENT]chevron-rightonEnable [EVENT]chevron-rightonMouseEnter [EVENT]chevron-rightonMouseStay [EVENT]chevron-rightonMouseExit [EVENT]chevron-rightonTriggerEnter [EVENT]chevron-rightonTriggerStay [EVENT]chevron-rightonTriggerExit [EVENT]chevron-right

Last updated