Posts: 1,201
Threads: 26
Joined: Apr 2010
08-03-2011, 10:29 AM
(This post was last modified: 08-03-2011, 10:30 AM by Whaat.)
So i made a new sand explosion try but there seems to be a little problem.
The picture just suddenly disappears 2 times D:
I paused it so it may look slow, but i think it helps you to see when it skips a pic/frame (it really skips the pic).
It's just basic ''show pic'' and nothing else (no bdy or itr) at first, i'm going to make those afterwards, could that be the reason for pics disappearing?
<bmp_begin>
file(0-666): sprite\bruno\sandef.bmp w: 212 h: 148 row: 4 col: 4
<bmp_end>
<frame> 86 flying
pic: 10 state: 3000 wait: 2 next: 91 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 91 flying
pic: 9 state: 3000 wait: 2 next: 92 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 92 flying
pic: 8 state: 3000 wait: 1 next: 93 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 93 flying
pic: 7 state: 3000 wait: 1 next: 94 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 94 flying
pic: 6 state: 3000 wait: 1 next: 95 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 95 flying
pic: 5 state: 3000 wait: 1 next: 96 dvx: 0 dvy: -2 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 96 flying
pic: 4 state: 3000 wait: 1 next: 97 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 97 flying
pic: 3 state: 3000 wait: 1 next: 98 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 98 flying
pic: 2 state: 3000 wait: 1 next: 99 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 99 flying
pic: 1 state: 3000 wait: 1 next: 100 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 100 flying
pic: 0 state: 3000 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
Might be back, might be not :^) anyways awesome to see you guys again!
Thanks given by:
Posts: 1,269
Threads: 24
Joined: Apr 2011
could you post the exsplosion sprite sheet
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
Considering that every 4th sprite disappears, it should be related to the spritesheet's dimensions. Is it really 852x596 pixels large?
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by:
Posts: 1,201
Threads: 26
Joined: Apr 2010
08-03-2011, 11:16 AM
(This post was last modified: 08-03-2011, 11:17 AM by Whaat.)
(08-03-2011, 11:06 AM)TheNave Wrote: try to change the frame 100 to frame 105 and try again
Didn't help D:
BP Wrote:Considering that every 4th sprite disappears, it should be related to the spritesheet's dimensions. Is it really 852x596 pixels large?
<bmp_begin>
file(0-30): sprite\bruno\sandef.bmp
w: 212 h: 148 row: 4 col: 4
<bmp_end>
I did post that in the data spoiler D:
-
Could the problem be in the state? Well i have tested 3000, 3005 and 3006 but all have same problem D:
Might be back, might be not :^) anyways awesome to see you guys again!
Thanks given by:
Posts: 601
Threads: 23
Joined: Dec 2009
Seems to be working, data-wise...
Why don't you post your pictures? I think that would help...?
Thanks given by:
Posts: 1,201
Threads: 26
Joined: Apr 2010
08-03-2011, 11:33 AM
(This post was last modified: 08-03-2011, 11:34 AM by Whaat.)
(08-03-2011, 11:18 AM)Blue Phoenix Wrote: You are aware of the existence of 1px-separators, right?
This solved the problem :3
The w and h values should have been w: 211 h: 147 instead of w: 212 h: 148, so i fixed that and checked that all frames are same sized, and now it works.
Thanks guys, this can now be moved to solved problems.
Might be back, might be not :^) anyways awesome to see you guys again!
Thanks given by: