-
Notifications
You must be signed in to change notification settings - Fork 3
GXEntityFrameNext
boxgaming edited this page Dec 6, 2021
·
2 revisions
Advance to the next animation frame in the current animation sequence for a specified entity.
GXEntityFrameNext entityId%
- Entity for which the animation frame will be advanced is specified by the entityId% parameter. This id is returned by the GXEntityCreate function or can be accessed by its user id by the GX function.
Example1: Create an entity and advance to the next animation frame.
DIM SHARED warhog AS LONG
warhog = GXEntityCreate("img/warhog.png", 16, 16, 5)
GXEntityFrameNext warhog© 2022 boxgaming