I want to use a whole image for a hero's, and I only want a pair of subimages to be animated duing a move.. what do I do to make this work and not show all the frames ingame on that move?
Sorry if the explantion sucks to you.
Quick Animation Question.
Started by anders339, May 15 2007 07:50 PM
2 replies to this topic
#1
Posted 15 May 2007 - 07:50 PM
#2
Posted 15 May 2007 - 08:44 PM
in step put
if image_index<2
image_index+=1
if image_index=1
image_index=0
that should flip through the first 2 frames
EDIT: BTW, not sure if you know this or not but comps start counting at 0 not 1 so fram 1 is really frame 0, frame 2 is frame1 etc
if image_index<2
image_index+=1
if image_index=1
image_index=0
that should flip through the first 2 frames
EDIT: BTW, not sure if you know this or not but comps start counting at 0 not 1 so fram 1 is really frame 0, frame 2 is frame1 etc
Edited by jah32, 15 May 2007 - 08:45 PM.
#3
Posted 15 May 2007 - 09:14 PM
Is that the only way, if you want the "walking animation" to be subimage 0,1,2 and the "jumping animation" to be subimage 3,4,5? Thought it was some other way too.in step put
if image_index<2
image_index+=1
if image_index=1
image_index=0
that should flip through the first 2 frames
EDIT: BTW, not sure if you know this or not but comps start counting at 0 not 1 so fram 1 is really frame 0, frame 2 is frame1 etc
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











