Little Fighter Empire - Forums
[solved] last famre not showing - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] last famre not showing (/showthread.php?tid=5791)



[solved] last famre not showing - kingdevilb - 11-14-2010

Hi i am new here...
and this is my first DC so far :P
i am trying make improved dennis ...
so i am working on a new move for dennis that's create 5 chasing balls at the same time...
so i tried to make new frames to start the action of the attack and the last frame doesn't show at the game :S

help plz ...
sorry for my good english :P



RE: last famre not showing - Memento - 11-14-2010

(11-14-2010, 08:12 PM)kingdevilb Wrote:  Hi i am new here...
and this is my first DC so far :P
i am trying make improved dennis ...
so i am working on a new move for dennis that's create 5 chasing balls at the same time...
so i tried to make new frames to start the action of the attack and the last frame doesn't show at the game :S

help plz ...
sorry for my good english :P


Could you show us the data of that move?

Nice sprites, did you make them? :)


RE: last famre not showing - kingdevilb - 11-14-2010

yes thrie mine :) thx
i attached the text of the character
and here is some of the line who might do some problams:
file(209-216): sprite\sys\dennis_3EX.bmp w: 79 h: 79 row: 7 col: 7

last frame of the new move which is not showing:

<frame> 308 chase_ballEX
pic: 216 state: 3 wait: 2 next: 999 dvx: 3 dvy: 0 dvz: 0 centerx: 36 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 28 y: 46 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 12 y: 20 w: 36 h: 60
bdy_end:
<frame_end>


RE: last famre not showing - Memento - 11-14-2010

Okay, here is the problem...

file(140-208): sprite\sys\dennis_2EX.bmp w: 79 h: 79 row: 10 col: 7
file(209-216): sprite\sys\dennis_3EX.bmp w: 79 h: 79 row: 7 col: 7

has to be

file(140-209): sprite\sys\dennis_2EX.bmp w: 79 h: 79 row: 10 col: 7
file(210-216): sprite\sys\dennis_3EX.bmp w: 79 h: 79 row: 7 col: 7

This is because row: 10 col: 7 means there are 70 pictures in the sprite sheet. 140-208 are 69 sprites instead of 70 ;)

By the way, file(210-216): sprite\sys\dennis_3EX.bmp w: 79 h: 79 row: 7 col: 7 could as well be with col: 1. But it's not necessary.


RE: last famre not showing - Alblaka - 11-14-2010

(11-14-2010, 08:59 PM)Neocrypt Wrote:  Okay, here is the problem...

file(140-208): sprite\sys\dennis_2EX.bmp w: 79 h: 79 row: 10 col: 7
file(209-216): sprite\sys\dennis_3EX.bmp w: 79 h: 79 row: 7 col: 7

has to be

file(140-209): sprite\sys\dennis_2EX.bmp w: 79 h: 79 row: 10 col: 7
file(210-216): sprite\sys\dennis_3EX.bmp w: 79 h: 79 row: 7 col: 7

I bet that's not the problem... since the counter behidn the "file" has no effect on the programming at all, it's only a help for the DCEr...

Though, he may fell for the wrong numbers and therefore caused an error by using wrong pics ^^


RE: last famre not showing - kingdevilb - 11-15-2010

well that's not the problam as far as i checked...
i took a frame from dennis_2.bmp to replace the not showing frame and it okey now...
in order to see if theres any other problam with the attack i changed the waiting time X10 every frame.
so in the 4 frame the charchter moves a lot forward like it's walking :S
what hell cuzing that?!

here is the line of the frame:
<frame> 305 chase_ballEX
pic: 213 state: 3 wait: 50 next: 306 dvx: 6 dvy: 0 dvz: 0 centerx: 31 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 44 y: 46 weaponact: 31 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 12 y: 20 w: 36 h: 60
bdy_end:
<frame_end>

like when it's get to this frame the charchter wait's some time and start's moving like few cm ?!


RE: last famre not showing - Reaper - 11-15-2010

That's because of the dvx: 6 in there. It makes the character go forward 6 pixels every TU ( =Time-Unit), which means he will go forward 6*51 = 306 pixels.


RE: last famre not showing - kingdevilb - 11-15-2010

thx :)
okey so far the it seems fine
thx to all of you ppl ,problams solved :P