Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adjusting frame rate to sprites
#2
here the important stuff:
    DC-Code:
<frame> 0 breathing
pic: 1 next: 302 
<frame_end>
<frame> 302 breathing
pic: 2 next: 303 
<frame_end>
<frame> 303 breathing
pic: 3 next: 304 
<frame_end>
<frame> 304 breathing
pic: 4 next: 305 
<frame_end>
<frame> 305 breathing
pic: 5 next: 306
<frame_end>
<frame> 306 breathing
pic: 6 next: 307
<frame_end>
<frame> 307 breathing
pic: 7 next: 308
<frame_end>
<frame> 308 breathing
pic: 8 next: 309
<frame_end>
<frame> 309 breathing
pic: 9 next: 999
<frame_end>

frames are linked with next:
next: 999 goes back to the first frame when your character is touching the ground
pic: determines the frame of your sprites that will be displayed - the counting starts at 0 in the top left corner and ends with the amount of cells you have specified (with row/col) in the bottom right corner of the last sheet - counting from left to right, top to bottom

edit: i have used weird frame numbers (302 onwards) because you cannot fit that many breathing frames before the walking frames (only 0 to 4)
Reply
Thanks given by: Electric2Shock


Messages In This Thread
adjusting frame rate to sprites - by qwertz143 - 08-18-2011, 12:59 PM
RE: adjusting frame rate to sprites - by YinYin - 08-18-2011, 01:10 PM



Users browsing this thread: 1 Guest(s)