Posted By
|
Message
|
Metal Maiden
Registered 10/09/2002
Points 900
|
23rd August, 2003 at 21:16:41 -
WOw. I feel like a jerk asking the most common question...custom platform movement.
Well, I have it down (thanks to the slipstream) ,yet it didn't turn out all to well.
I have the following problems:
*Character can jump indefinately. (sp?)
*Left and right detectors fly off in thier corrosponding directions.
*Bottom detector appears in the center of the "mask" object, instead of the bottom.
I messed around a bit, but I can't get most of that X-Y crap down. Too much math for me! I have the game at
http://www.geocities.com/sport_bike_fan99/helpme.zip
If anyone's willing to help, I'll be happy to give much praise and credit! Oh, don't mind all the other crap. Thanks peeps!
Death in the air
Strapped in the electric chair
This can't be happening to me
Who made you God to say
"I'll take your life from you!!"
|
Metal Maiden
Registered 10/09/2002
Points 900
|
23rd August, 2003 at 21:22:00 -
Oh yea, Andyuk, I do have your custom platform example too,
Death in the air
Strapped in the electric chair
This can't be happening to me
Who made you God to say
"I'll take your life from you!!"
|
Weston L
Registered 16/12/2002
Points 1603
|
24th August, 2003 at 00:34:15 -
For jumping I use:
-Pressed spacebar AND p1 flag 2 is off > set p1 flag 1 on
-p1 flag 1 on > set pos. at current minus some on y axis
-p1 flag 1 on AND every .5 seconds > add 1 to counterA
-counterA = 4 > p1 set flag 1 off, set flag 2 on
-p1 flag 2 on > set pos. at current plus some on y axis
-p1 collides with platform > set flag 2 off
theres more that could be added for less brick-like physics, but this is just to give you an idea.
n/a
|
|
|