Table of Contents

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)
TextureSize	= (32, 32)
Pivot		= center
 
[JellyAnimationSet]
Texture	        = jelly.png
FrameSize	= (32, 32)
Pivot		= center
KeyDuration 	= 0.1
StartAnim	= JellyWobbleAnim
 
[JellyWobbleAnim3]
TextureOrigin = (0, 0)
 
[JellyWobbleAnim4]
TextureOrigin = (64, 0)