Posts: 723
Threads: 29
Joined: Apr 2008
I'm starting a new char (see the sprite thread here) and I'd like it to have a triple-jump ability, where you would press J once to jump, again to do a frontflip, and a third time to float. Can someone help me with this?
FOLLOW THE RULES!
Rule 1: English only (+10%, 1 week)
The forum is a meeting place for people from any nation to talk and have fun. Therefore, to ensure that everybody is able to participate and understand you, please stick to English with proper spelling and grammar.
Rule 2: Think before posting (+10%, 2 weeks)
Spam (posts that contain literally no useful information at all), off-topic discussion, gravedigs (posting in threads that have been inactive for several weeks) or generally senseless posts (posts that are hard or impossible to understand) of any form won't be accepted.
If you want to ask questions, search the Mainsite ( http://www.lf-empire.de) or the forums first to check if your enquiry has been answered elsewhere.
Rule 3: Etiquette (+30%, 2 weeks)
Generally, common sense applies here. Do not offend, harass, curse, show disrespect, or be rude towards anyone. Newcomers shall be treated, like anybody else, with respect.
Additionally, sexual or illegal content (such as pirated software, plagiarisms) are not allowed and will immediately be removed.
Rule 4: No multi-accounting (+40%, 1 month)
You may only have one single account on LFE. Bans will be allotted upon disregard.
Rule 5: Follow posting guidelines (+10%, 2 weeks)
- As LFE offers you to select differently colored themes, submitting posts with excessive color formatting is strongly prohibited as it possibly makes it hard to read them in other themes.
- If you submit an excerpt from .dat-files, use [code=dc]Your code here[/code] for clear presentation.
- Use descriptive titles when posting a thread. “Help” does not tell a whole lot.
- Click the [Solved]-button when a thread of yours has been cleared of your problems.
Rule 6: Follow profile guidelines (+10%, 2 weeks)
- Please keep your signatures under 150 pixels in size, including text. Refrain from using animated pictures as they can take longer to load on some computers. Using sounds or anything which interferes with the forum layout is forbidden.
- Do not upload avatars larger than 100 KB.
Rule 7: No backseat moderating (+10%, 1 week)
If you feel that a person has broken one of the above rules, please use the report-button located under each post. You may write the user a personal message (PM) but do not post in the respective thread to inform about the violation.
Grand Fonic Hymn - Orchestral Arrangement. Arranged by me. I promise it's not horribad.
Thanks given by:
Posts: 797
Threads: 107
Joined: Apr 2008
check out THIS CHAR !!!
I dont know how to do, because i do not look into dat-files from others (my honor forbidds me that), but you can do and find out!
I HAVE SOME PROBLEMS WITH MY COMPUTER!
Please don't wonder when I suddenly dissapear for a while!
<a href="http://www.techno4ever.net">
![[Image: banner01.gif]](http://www.techno4ever.net/banner/banner01.gif)
</a>
![[Image: chatdo9.png]](http://img21.imageshack.us/img21/5543/chatdo9.png)
Just a lil' showoff! .gif) Current project: [Char]Armageddon
Thanks given by:
Posts: 444
Threads: 19
Joined: Mar 2008
your honor fobids that? That sounds a bit weird ...
Its just a bit coding, nothing more
To the triple jump.
Simply c&p the jumping frames 2 times, and link to them with hit_j ...
Thanks given by:
Posts: 797
Threads: 107
Joined: Apr 2008
lol, that wont work, the char will "stick" on the groun if u use a hit_j in the jumping frames or sth like that!^^
btw, I never look into other codes than mine--- that would be kinda......have no words for it, but it would suck me off, if sb looks into a dat-fil of mine!
(gonna encode my LFU-files!)
I HAVE SOME PROBLEMS WITH MY COMPUTER!
Please don't wonder when I suddenly dissapear for a while!
<a href="http://www.techno4ever.net">
![[Image: banner01.gif]](http://www.techno4ever.net/banner/banner01.gif)
</a>
![[Image: chatdo9.png]](http://img21.imageshack.us/img21/5543/chatdo9.png)
Just a lil' showoff! .gif) Current project: [Char]Armageddon
Thanks given by:
Posts: 233
Threads: 18
Joined: Jul 2008
Why would it? It's just another jump frame; exactly like regular inf jump.
It should work.
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
Actually... I'd do it the following way...
In the jumping frames, note a hit_j: 350 (or some frame that isn't used yet). This will lead to your flip-move, sort of that:
Code: <frame> 350 flip
pic: 999 state: 15 wait: 3 next: 351 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_j: 0 hit_d: 0
#frame property stuff
<frame_end>
#other frames for flip
#last frame for flip:
<frame> 359 flip
pic: 999 state: 15 wait: 8 next: 212 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_j: 360 hit_d: 0
#frame properties
<frame_end>
If you don't press the jump-key in the last frame, your char will go to the jumping-frames again. You could actually define another frame so that your char won't have the opportunity to do a second flip, like that:
Code: <frame> 349 no_flip
pic: 999 state: 15 wait: 5 next: 0 dvx: 0 hit_a: 0 hit_d: 0 hit_j: 0
#frame props
<frame_end>
just copy the pic number from frame 212...
well, then, after that, what kind of floating do you want? I'd take the easy one if I were you....
Code: <frame> 360 float
pic: 999 state: 15 wait: 5 next: 0 dvx: 0 dvy: 550 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 349 hit_j: 0
#frame props
<frame_end>
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by:
Posts: 233
Threads: 18
Joined: Jul 2008
OR you can use Windmill's levitation, which looks much cooler ^^
Code: <frame> 300 flying
pic: 63 state: 15 wait: 1 next: 301 dvx: 0 dvy: 0 centerx: 39 centery: 79
<frame_end>
<frame> 301 flying
pic: 63 state: 15 wait: 13 next: 302 dvx: 2 dvy: -2 dvz: 2 centerx: 39 centery: 79
<frame_end>
<frame> 302 flying
pic: 63 state: 4 wait: 1 next: 303 dvx: 2 dvy: 550 centerx: 39 centery: 79
<frame_end>
<frame> 303 flying
pic: 63 state: 4 wait: 13 next: 304 dvx: 4 dvy: -2 centerx: 39 centery: 79
<frame_end>
<frame> 304 flying
pic: 63 state: 4 wait: 11 next: 305 dvx: 8 dvy: -1 dvz: 550 centerx: 39 centery: 79 hit_d: 999
<frame_end>
<frame> 305 flying
pic: 63 state: 4 wait: 27 next: 304 dvx: 6 dvy: -2 dvz: 2 centerx: 39 centery: 79 hit_d: 999
<frame_end>
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
08-03-2008, 02:32 PM
(This post was last modified: 08-03-2008, 02:33 PM by Silverthorn.)
Deus Ex Machina Wrote:OR you can use Windmill's levitation, which looks much cooler ^^
Code: <frame> 300 flying
pic: 63 state: 15 wait: 1 next: 301 dvx: 0 dvy: 0 centerx: 39 centery: 79
<frame_end>
<frame> 301 flying
pic: 63 state: 15 wait: 13 next: 302 dvx: 2 dvy: -2 dvz: 2 centerx: 39 centery: 79
<frame_end>
<frame> 302 flying
pic: 63 state: 4 wait: 1 next: 303 dvx: 2 dvy: 550 centerx: 39 centery: 79
<frame_end>
<frame> 303 flying
pic: 63 state: 4 wait: 13 next: 304 dvx: 4 dvy: -2 centerx: 39 centery: 79
<frame_end>
<frame> 304 flying
pic: 63 state: 4 wait: 11 next: 305 dvx: 8 dvy: -1 dvz: 550 centerx: 39 centery: 79 hit_d: 999
<frame_end>
<frame> 305 flying
pic: 63 state: 4 wait: 27 next: 304 dvx: 6 dvy: -2 dvz: 2 centerx: 39 centery: 79 hit_d: 999
<frame_end>
little thing to revise, I'd start out with dvy: 550 in 300 to ensure a full-time-hover-effect .gif)
and, yes, it does look much cooler :P
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by:
Posts: 233
Threads: 18
Joined: Jul 2008
If you add 550 there you'll just keep floating upwards... Without it you'll keep floating up-down-up-down without fail.
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
Deus Ex Machina Wrote:If you add 550 there you'll just keep floating upwards... Without it you'll keep floating up-down-up-down without fail.
oh, wait, actually it shouldn't make any difference, since there is already a dvy: 550 in 302...
Never mind then :8
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by:
|