User Tools

Site Tools


en:examples:animation:animation_frame_overriding

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)

en/examples/animation/animation_frame_overriding.txt · Last modified: 2018/08/08 14:47 (6 years ago) by 127.0.0.1