al:liveactor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
al:liveactor [2022/03/17 13:50] – fruityloops | al:liveactor [2022/05/16 10:16] (current) – fruityloops | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== al:: | ====== al:: | ||
- | LiveActor is a class that represents an actor in a scene((usually StageScene | + | LiveActor is a class that represents an actor in a scene((usually StageScene)). This can be an enemy, level geometry, or anything in between. Most inherited classes use the Nerve system to distribute code to different functions, instead of just 1 update function. |
- | ===== Alive & Dead ===== | + | ===== Clipping |
- | StageScene uses its camera and other factors to determine if a LiveActor is currently " | + | If a LiveActor is "clipped", its code is not being run and it is essentially being ignored. Whether or not a LiveActor |
- | + | ||
- | ===== Functions ===== | + | |
- | ==== init ==== | + | |
- | This function takes an ActorInitInfo parameter with the [[https:// | + | |
- | ==== makeActorAlive & makeActorDead ==== | + | |
- | These functions manually make the actor alive/ | + | |
- | ==== movement ==== | + | |
- | This is the internal " | + | |
- | ==== control ==== | + | |
- | This function is called every frame if the actor is alive. | + |
al/liveactor.1647525007.txt.gz · Last modified: 2022/03/17 13:50 by fruityloops