User Tools

Site Tools


en:examples:animation:animation_frame_overriding

This is an old revision of the document!


Animation frame overriding

Assets

Code

orxObject_CreateFromConfig("JellyObject");

Config

[JellyObject]
Graphic      = JellyGraphic
AnimationSet = JellyAnimationSet
Position     = (200, 100, 0)
 
[JellyGraphic]
Texture		= jelly.png
TextureOrigin	= (0, 0, 0)
TextureSize	= (32, 32, 0)
Pivot		= center
 
[JellyAnimationSet]
Texture			= jelly.png
FrameSize		= (32, 32, 0)
KeyDuration 		= 0.1
JellyWobbleAnim		= -1
StartAnim		= JellyWobbleAnim
JellyWobbleAnim->	= JellyWobbleAnim
Pivot			= center
 
[JellyWobbleAnim0003]
TextureOrigin = (0, 0, 0)
 
[JellyWobbleAnim0004]
TextureOrigin = (64, 0, 0)
en/examples/animation/animation_frame_overriding.1518583660.txt.gz · Last modified: 2025/09/30 17:26 (12 days ago) (external edit)