Forum Topic: I've made a jumping engine for all.

(29,585 views • 373 replies)

This topic is 13 pages long. [ 1 | 24 | 5 | 6 | 7 | 8 | 9 | 10 | 1113 ]

<< < > >>
None

The-Mercenary

Reply To Post Reply & Quote

Posted at: 1/21/05 08:52 PM

The-Mercenary EVIL LEVEL 17

Sign-Up: 01/22/03

Posts: 2,620

OH MY FUCKING GOD! NOT AGAIN! Suicide Bomber is my bros account, so I mistakenly posted it while he was logged in. ANyway, I e-mailed the code to you


None

Flyingcoin

Reply To Post Reply & Quote

Posted at: 1/23/05 10:01 AM

Flyingcoin NEUTRAL LEVEL 08

Sign-Up: 10/02/04

Posts: 82

I,ve run into a problem. My character can't jump. he is a sprite.
I don't know what I did wrong. Can somebody please help me out.
ohh and i used unaltered code (its the code in rystic's jump engine fla. file)


None

webermb

Reply To Post Reply & Quote

Posted at: 2/3/05 07:33 PM

webermb EVIL LEVEL 03

Sign-Up: 02/08/04

Posts: 86

cool that really cool for you to do that!


None

Rystic

Reply To Post Reply & Quote

Posted at: 2/6/05 07:19 PM

Rystic LIGHT LEVEL 50

Sign-Up: 03/09/02

Posts: 956

At 2/3/05 07:33 PM, webermb wrote: cool that really cool for you to do that!

I apologize to anyone who e-mailed me and didn't get a reply. I've been bit busy with school lately. However, I've managed to get myself more free time. If your still are having problems, e-mail me again and this time I'll respond.


None

Cloudv909

Reply To Post Reply & Quote

Posted at: 2/11/05 09:30 PM

Cloudv909 NEUTRAL LEVEL 10

Sign-Up: 01/26/05

Posts: 121

hey everytime i make the guy and the blocks something happens. the guy dont fall. If you put him somewhere he stays there. if you press space it jumps. then it passed the blocks and just keeps on falling.. HELP


Questioning

ImOnTheInternet

Reply To Post Reply & Quote

Posted at: 2/11/05 10:50 PM

ImOnTheInternet LIGHT LEVEL 10

Sign-Up: 12/07/03

Posts: 8

GREAT CODE! I've manage moving platforms and all that other junk and have even managed to improve on the code in some tidbits for my own use. THX! Only one prob... how would I go about making slanted platforms? This code is simple, short and sweet. I love it!


None

Starogre

Reply To Post Reply & Quote

Posted at: 2/12/05 12:39 PM

Starogre NEUTRAL LEVEL 18

Sign-Up: 05/08/04

Posts: 1,697

thanks for that awesome code! i got it from gamecubicle's tut, and i'd like to thank you since ur the creator of it...

ne ways, COULD u post the code for a slanted platform? one where when you stand on it, ur player's mc gets slanted and angled to the platform? thanks!

PS-not a platform that provides as a slide, one you can stand still on, thanks!! oh and also, could u make it so that the platform does let you slide down it, if the platform is over a 45 degree angle, but not under?

BBS Signature

None

Starogre

Reply To Post Reply & Quote

Posted at: 2/12/05 03:38 PM

Starogre NEUTRAL LEVEL 18

Sign-Up: 05/08/04

Posts: 1,697

I have one problem, again, it is that under the first if statement, the one that says what happens when you land on the top of the platform, when i say to go to my standing frame of my stick guy, when u hit the platform, when u land, you start jiggling, and it stays on the jump frame of my character...i made a ball version too, not with poses, but with colors...and it works...i think it has to do with the change in shape of the character, but there has to be someway to make it so when you land, you change frames of ur character...thanks for the help, if you leave some...

BBS Signature

None

Roguebot

Reply To Post Reply & Quote

Posted at: 2/13/05 12:40 AM

Roguebot NEUTRAL LEVEL 02

Sign-Up: 08/14/04

Posts: 1

Crap, how am i supposed to fix this for actionscript 2.0?


None

DrChaotix

Reply To Post Reply & Quote

Posted at: 2/19/05 11:42 PM

DrChaotix EVIL LEVEL 02

Sign-Up: 01/28/05

Posts: 14

hey guys id love to make a game but i am a complete idiot in the sense of i cant do action script and i dont understand how to make guys shoot and kick and fight and stuff any help plese?

I've made a jumping engine for all.


Thinking

Chekz

Reply To Post Reply & Quote

Posted at: 2/19/05 11:54 PM

Chekz EVIL LEVEL 08

Sign-Up: 12/27/04

Posts: 600

lol...ur a complete n00b but dont worry cause weve all passed through there.....being n00bs.....ill teach u just add me to ur MSN st slipknot_freak_11@hotmail.com


None

DrChaotix

Reply To Post Reply & Quote

Posted at: 2/20/05 12:27 AM

DrChaotix EVIL LEVEL 02

Sign-Up: 01/28/05

Posts: 14

thanx i will soon just gotta do some things first


None

Chekz

Reply To Post Reply & Quote

Posted at: 2/20/05 12:33 AM

Chekz EVIL LEVEL 08

Sign-Up: 12/27/04

Posts: 600

kk.....u wanna learn...i am willing to help u ....just add me


None

Insane-Sparrow

Reply To Post Reply & Quote

Posted at: 2/23/05 03:36 AM

Insane-Sparrow EVIL LEVEL 09

Sign-Up: 01/04/05

Posts: 94

Man, I just had to post in this thread... You can't let a great thread like this one die... even if the script is in Gamecubicle's Ultimate Tutorial.

KEEP POSTING IN HERE. I DONT WANT THIS THREAD TO DIE AGAIN.

YOU HEAR ME???


None

foxyb

Reply To Post Reply & Quote

Posted at: 2/23/05 12:30 PM

foxyb NEUTRAL LEVEL 08

Sign-Up: 01/29/05

Posts: 343

Could you send me the fla please :) Im a bit of a newbie here so I'd be very greatful. (Btw, i dont say n00b cos it sounds to much like nob) lol Me addy is: dangalyassgrape@hotmail.com


Happy

Bruute

Reply To Post Reply & Quote

Posted at: 2/23/05 01:03 PM

Bruute DARK LEVEL 15

Sign-Up: 09/01/02

Posts: 2,591

Rystic-

Just tried your code, worked great for me!
I just made a rectangle (longer veritcally)
and 2 others (longer horizontally)
and put the code for the player into the first rectangle
and then the block code into my 2 others and it worked fine.
I did try and move the registration point to the bottom of the player and it messes up when it lands so dont do that make sure its centerd =P

Also, I just skimmed through the code but what would you adjust if you wanted him to jump higher/shorter and faster/slower?

- Sig provided by ME of the NGSM - MYSPACE -
- If you try to stay high, your bound to stay low. -
- If I make you a sig, please credit me here -

BBS Signature

None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 2/23/05 02:24 PM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,041

Ah, everytime I make a game with jumping it is different for me, so I prefer to use my own code.


None

DrChaotix

Reply To Post Reply & Quote

Posted at: 2/25/05 04:29 AM

DrChaotix EVIL LEVEL 02

Sign-Up: 01/28/05

Posts: 14

still havent helped me yet im still waiting

I've made a jumping engine for all.


Happy

racingfan815

Reply To Post Reply & Quote

Posted at: 2/25/05 06:21 AM

racingfan815 NEUTRAL LEVEL 03

Sign-Up: 10/17/04

Posts: 1

This is the shit... I will use it in my class.


None

Reaperofgifs

Reply To Post Reply & Quote

Posted at: 3/1/05 11:28 PM

Reaperofgifs EVIL LEVEL 05

Sign-Up: 01/13/04

Posts: 44

Ok im having problems with mine because when i start the game the character falss, like he just jumped, i dont want him to do that, i only want him to jump when you hit spacebar, like when it starts he just keeps falling...


None

Wajaholic

Reply To Post Reply & Quote

Posted at: 3/2/05 08:26 AM

Wajaholic NEUTRAL LEVEL 06

Sign-Up: 02/28/05

Posts: 33

Everything works ok apart from one thing.. he wont jump when hes running left or right, only when hes standing still.. like.. if hes touching the bars which make the x axis move he wont jump..


None

Reaperofgifs

Reply To Post Reply & Quote

Posted at: 3/2/05 05:35 PM

Reaperofgifs EVIL LEVEL 05

Sign-Up: 01/13/04

Posts: 44

Ive tried and tried to make this work, but all it does is make my character fall off the screen, the game im trying to make isnt a side scroller, wait...well it is but its not the truditional style, its a side scroller on the angle...and this jumping thing isnt working...but i still want the character to stay inside the screen.
so if you get my idea PLEASE, PLLLLEEAAASEE HELP!


None

legendaryAce

Reply To Post Reply & Quote

Posted at: 3/3/05 11:06 PM

legendaryAce LIGHT LEVEL 08

Sign-Up: 04/29/04

Posts: 41

I don't like this script, doesnt work, I made bricks thicker but still huge problems...mabye because I have MX 2004 (7.2) <The best (er)


None

The-Mercenary

Reply To Post Reply & Quote

Posted at: 3/3/05 11:19 PM

The-Mercenary EVIL LEVEL 17

Sign-Up: 01/22/03

Posts: 2,620

At 2/11/05 10:50 PM, TakeOut wrote: GREAT CODE! I've manage moving platforms and all that other junk and have even managed to improve on the code in some tidbits for my own use. THX! Only one prob... how would I go about making slanted platforms? This code is simple, short and sweet. I love it!

thats easy, my game has it, but you'll have to apply this code to every slanted platform for it to work (which is the bad part about not making everything in one MC). Anyway just put that in any of the slanted blocks and it should work, the only thing you need to do is to have the center of your character by his feet, if its in the center then put _root.character._y+25 or how ever far the crosshair is from the feet)

onClipEvent(enterFrame){
if(this.hitTest(_root.character._x, _root.character._y, true)){
_root.character._y-=8
}
}


Angry

pcchipbrain

Reply To Post Reply & Quote

Posted at: 3/3/05 11:25 PM

pcchipbrain NEUTRAL LEVEL 03

Sign-Up: 03/01/05

Posts: 168

hey rystic you got that actionscript from the flash tuturial but anywase good idea of posting it here. me too i get the same errors when i jump from all the way on top of the stage of a platform and land on a platform all the way down the screen i go right through it. i set my max fall to -20 and it goes right through still the only ways is to make the plaforme huge so you dont go right through.


None

The-Mercenary

Reply To Post Reply & Quote

Posted at: 3/3/05 11:26 PM

The-Mercenary EVIL LEVEL 17

Sign-Up: 01/22/03

Posts: 2,620

At 2/12/05 03:38 PM, Starogre wrote: I have one problem, again, it is that under the first if statement, the one that says what happens when you land on the top of the platform, when i say to go to my standing frame of my stick guy, when u hit the platform, when u land, you start jiggling, and it stays on the jump frame of my character...i made a ball version too, not with poses, but with colors...and it works...i think it has to do with the change in shape of the character, but there has to be someway to make it so when you land, you change frames of ur character...thanks for the help, if you leave some...

god damn its that much of a pain in the ass just use my engine, sorry to sound like an asshole there but come on, its simple and there is no shit like that happening, if you dont want to then its fine. BTW, for the 45 degree angle thing
just take the code I posted for the slant and put it after "if(......_y, true) put it here )"
"and !this._rotation<-45"


None

The-Mercenary

Reply To Post Reply & Quote

Posted at: 3/3/05 11:28 PM

The-Mercenary EVIL LEVEL 17

Sign-Up: 01/22/03

Posts: 2,620

sorry, I mean
"and this._rotation<=-45"


None

Rystic

Reply To Post Reply & Quote

Posted at: 3/6/05 06:40 PM

Rystic LIGHT LEVEL 50

Sign-Up: 03/09/02

Posts: 956

At 3/3/05 11:25 PM, pcchipbrain wrote: hey rystic you got that actionscript from the flash tuturial but anywase good idea of posting it here. me too i get the same errors when i jump from all the way on top of the stage of a platform and land on a platform all the way down the screen i go right through it. i set my max fall to -20 and it goes right through still the only ways is to make the plaforme huge so you dont go right through.

The platform's size shouldn't be an issue when dealing with landing. E-mail me the flash file, and I'll see what I can do to fix it.


None

Rystic

Reply To Post Reply & Quote

Posted at: 3/6/05 06:41 PM

Rystic LIGHT LEVEL 50

Sign-Up: 03/09/02

Posts: 956

At 2/12/05 03:38 PM, Starogre wrote: I have one problem, again, it is that under the first if statement, the one that says what happens when you land on the top of the platform, when i say to go to my standing frame of my stick guy, when u hit the platform, when u land, you start jiggling, and it stays on the jump frame of my character...i made a ball version too, not with poses, but with colors...and it works...i think it has to do with the change in shape of the character, but there has to be someway to make it so when you land, you change frames of ur character...thanks for the help, if you leave some...

When that happens, go into the character clip and try moving it closer to the center of the movieclip (the '+' sign). Toy with that until the jiggling stops.


None

Rystic

Reply To Post Reply & Quote

Posted at: 3/6/05 06:44 PM

Rystic LIGHT LEVEL 50

Sign-Up: 03/09/02

Posts: 956

At 3/3/05 11:26 PM, The_Mercenary wrote:
god damn its that much of a pain in the ass just use my engine, sorry to sound like an asshole there but come on, its simple and there is no shit like that happening, if you dont want to then its fine. BTW, for the 45 degree angle thing
just take the code I posted for the slant and put it after "if(......_y, true) put it here )"
"and !this._rotation<-45"

Geez, Mercenary. It's not that big a problem. All you have to do is center the clip.


All times are Eastern Standard Time (GMT -5) | Current Time: 06:50 PM

<< Back

This topic is 13 pages long. [ 1 | 24 | 5 | 6 | 7 | 8 | 9 | 10 | 1113 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!