Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Picture Problem
#1
I have problems making my susanoo. When Sasuke does it only one picture works and there are no other pictures though they must be. He shows only the first picture and thats all.

Here is the sprite:
[Image: c6f348cc6caf.jpg]

And the code:
    DC-Code:
<frame> 377 susanoo
   pic: 140 state: 15 wait: 3 next: 378 dvx: 1 dvy: 550 dvz: 2 centerx: 250 centery: 280 hit_a: 0 hit_d: 379  hit_j: 999     
 itr:
   kind: 10  x: 175  y: 16  w: 135  h: 265 vrest: 1
   itr_end:
   bdy:
      kind: 0  x: 29  y: 19  w: 34  h: 63
   bdy_end:
<frame_end>
<frame> 378 susanoo
   pic: 141 state: 15 wait: 3 next: 380 dvx: 1 dvy: 550 dvz: 2 centerx: 250 centery: 280 hit_a: 0 hit_d: 379  hit_j: 999     
 itr:
   kind: 10  x: 175  y: 16  w: 135  h: 265 vrest: 1
   itr_end:
   bdy:
      kind: 0  x: 29  y: 19  w: 34  h: 63
   bdy_end:
<frame_end>
<frame> 380 susanoo
   pic: 142 state: 15 wait: 3 next: 381 dvx: 1 dvy: 550 dvz: 2 centerx: 250 centery: 280 hit_a: 0 hit_d: 379  hit_j: 999     
 itr:
   kind: 10  x: 155  y: 16  w: 155  h: 265 vrest: 1
   itr_end:
   bdy:
      kind: 0  x: 29  y: 19  w: 34  h: 63
   bdy_end:
<frame_end>
 
<frame> 381 susanoo
   pic: 143 state: 15 wait: 3 next: 377 dvx: 1 dvy: 550 dvz: 2 centerx: 250 centery: 280 hit_a: 0 hit_d: 379  hit_j: 999     
 itr:
   kind: 10  x: 155  y: 16  w: 155  h: 265 vrest: 1
   itr_end:
   bdy:
      kind: 0  x: 29  y: 19  w: 34  h: 63
   bdy_end:
<frame_end>
 
<frame> 379 susanoo
   pic: 140 state: 15 wait: 1 next: -377 dvx: 1 dvy: 550 dvz: 2 centerx: 250 centery: 280 hit_a: 0 hit_d: 0  hit_j: 0     
 itr:
   kind: 10  x: 155  y: 16  w: 155  h: 265  vrest: 1
   itr_end:
    bdy:
      kind: 0  x: 29  y: 19  w: 34  h: 63
   bdy_end:
<frame_end>
Reply
Thanks given by:
#2
If you got a pic-problem you should MAY also post the bmp-part...

*coughcopyntsdcough*
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:
#3
(01-05-2010, 11:34 AM)Alblaka Wrote:  If you got a pic-problem you should MAY also post the bmp-part...

*coughcopyntsdcough*
Here it is

    DC-Code:
<bmp_begin>
name: Sasuke
head: sprite\sys\sasuke_face.bmp
small: sprite\sys\sasuke_s.bmp
file(0-69): sprite\sys\sasuke.bmp  w: 79  h: 79  row: 10  col: 7
file(70-139): sprite\sys\sasuke1.bmp  w: 79  h: 79  row: 10  col: 7
file(140-145): sprite\sys\susanoo2.bmp  w: 500 h: 280  row: 6 col: 1
walking_frame_rate 3
walking_speed 4.000000
walking_speedz 2.000000
running_frame_rate 3
running_speed 13.000000
running_speedz 3.300000
heavy_walking_speed 3.000000
heavy_walking_speedz 1.500000
heavy_running_speed 5.000000
heavy_running_speedz 0.800000
jump_height -16.299999
jump_distance 8.000000
jump_distancez 3.000000
dash_height -13.40000
dash_distance 14.300000
dash_distancez 3.750000
rowing_height -2.000000
rowing_distance 20.000000
<bmp_end>

And this code is mine not NTSD I used itr kind 10 for defense against almost all attacks
I think my sprite is big and it causes bugs in the engine. I tried usuall Sasuke sprites on the code and they work perfectly.
Reply
Thanks given by:
#4
    DC-Code:
file(140-145): sprite\sys\susanoo2.bmp  w: 500 h: 280  row: 1 col: 6
That should do it.
Reply
Thanks given by: Art , snorsorbet
#5
Thanks it works
Reply
Thanks given by:




Users browsing this thread: 4 Guest(s)