-
-
Notifications
You must be signed in to change notification settings - Fork 36
Categorizing
Categorization in KAPLAY is a important thing, because it determinates how doc are displayed.
The categorization should be done by feature, for example the assets loading/getting, game objects operations, maths, etc.
This category is mean for the must functions of KAPLAY, something crucial to start initialization of the project and configuring it. For example, the starting function kaplay()
, KaboomOpt
for the options, quit()
for finish KAPLAY execute.
This one is easy, every function starting by load
should be here, loadSprite()
, loadFont()
and their get versions getSprite()
, getFont()
. Also there should be the interfaces like AssetData
, SpriteData
, etc.
All game objects related interfaces and operations such add()
, make()
, destroy()
or GameObjRaw
, GameObj
and related interfaces
All input handlers and input interfaces. onButtonPress()
, onMouseDown()
, onGamepadButtonRelease()
with their interfaces GamepadButton
, Key