Little Fighter Empire - Forums
Please click, read and write - 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)
+--- Thread: Please click, read and write (/showthread.php?tid=8234)



Please click, read and write - NTMBSasuke - 09-02-2012

Hi I did an ability for my character, but I am starting in a coding and I would like to ask your opinion that that's good I did it so or badly thanks:

<bmp_begin>
file(0-99): sprite\sys\mystic_ball.bmp
file(100-199): sprite\sys\mystic_ball_2.bmp
<bmp_end>

<frame> 0 flying
pic: 0
pic: 2
wait: 2 next: 999 centerx: -34 centery: 36 dvx: 0 dvy: 0 dvz: 0 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>

<frame> 10 hiting
pic: 0
pic: 2
wait: 2 next: 999 centerx: -34 centery: 36 dvx: 0 dvy: 0 dvz: 0 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>

<frame> 20 hit
pic: 0
pic: 2
wait: 2 next: 999 centerx: -34 centery: 36 dvx: 0 dvy: 0 dvz: 0 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>ホ


RE: Please click, read and write - Ramond - 09-02-2012

First off welcome to the LFE Forums. For us to tell you whether your code is good or not, first you need to tell us what you want that attack to look/behave like.

Share a little more information about this attack with us and we'll be able to help you out more.


RE: Please click, read and write - NTMBSasuke - 09-02-2012

Attack, looks so:
[Image: ffa21bb7.jpg]

And Thanks :)


RE: Please click, read and write - Electric2Shock - 09-02-2012

Your frame layout itself it written the wrong way. There two pic tags. And the code you have given is for a type 3 object not a type 0.


RE: Please click, read and write - NTMBSasuke - 09-02-2012

the dvz dvy dvx think? Shall I amend it to 3 one?



RE: Please click, read and write - Electric2Shock - 09-02-2012

The biggest problem in you code is that you haven't included the state of the object. A frame without a state is considered invalid.
And frames are written this way:
    DC-Code:
<frame> whatever 
pic: ? state: ? wait: ? next: ??? dvx: ? dvy: ? dvz: ? centerx: ?? centery: ?? hit_a: ??? hit_d: ??? hit_j: ?? hit_Fa: ???
<frame_end>



RE: Please click, read and write - NTMBSasuke - 09-02-2012

ooh okay :) very thanks :)

<frame> whatever
pic: 2 state: 0 wait: 2 next: 999 dvx: 3 dvy: 3 dvz: 3 centerx: -34 centery: -36 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>

somehow like this right?

State i don't know what it is necessary to write


RE: Please click, read and write - Silverthorn - 09-02-2012

(09-02-2012, 04:13 PM)NTMBSasuke Wrote:  State i don't know what it is necessary to write
You can find infos about datachanging on the mainsite ;)

http://www.lf-empire.de/en/lf2-empire/data-changing/frame-elements
http://www.lf-empire.de/en/lf2-empire/data-changing/reference-pages



RE: Please click, read and write - NTMBSasuke - 09-02-2012

oks thanks
A version like that how much time there would be according to you together with a school to create?



RE: Please click, read and write - Electric2Shock - 09-04-2012

Depends on how much devotion you give to that.
And centerx and centery cannot be negative values.