The Daily Click ::. Forums ::. Klik Coding Help ::. anyone know how to make a 3D platforming engine?
 

Post Reply  Post Oekaki 
 

Posted By Message

NMasutaa



Registered
  26/12/2004
Points
  301
30th April, 2007 at 00:25:57 -

What I mean in particular is something like the map engine in the Mario & Luigi RPGs--top-down view, you can walk around and also jump. For one thing, I'm not too sure on how to adjust how high the ground the player is standing on is, so that he will drop if he walks off a ledge, etc. I'll probably need help w/ other stuff too, though.

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
30th April, 2007 at 09:57:56 -

probably be best with some kind of invisible tile system, every tile has a depth height, the player's Z value (or whatever their height positioner is) is the same as the ground then they stop moving in that dimension. if they walk into a tile thats higher than their Z then they stop.

wait. that won't work! it wouldn't compensate for going behind another obstacle.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
30th April, 2007 at 12:20:44 -

Hehe, I'm doing that in my game Works quite well.
you need a fair few alterable values to hold several height values (height of ground currently on, jump height, total height, etc.)
The tough bit is the ordering of objects so that a player can go behind an object.

 
n/a

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
30th April, 2007 at 21:16:36 -

If it's grid based, ordering objects by Y value (checking only by grid increments) with a fastloop should be easy enough.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click