The Daily Click ::. Forums ::. Klik Coding Help ::. PMO Moving Plaforms Question
 

Post Reply  Post Oekaki 
 

Posted By Message

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
7th February, 2009 at 20:13:54 -

For a game, if you're using the PMO for the character movement and using flags and +1/-1 Moving platforms, how do you keep the player on? And also the same for up and down platforms.

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1852

VIP Member
7th February, 2009 at 21:03:49 -

People write articles for a reason you know. (Hint: try the second one down)

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
7th February, 2009 at 21:47:43 -

I got around this by using a detector and an extension-free physics-y engine for the platforms. Say they move 1px in any direction - the players X and Y positions are set to 10x that (since the PMO can deal with some very small numbers).

Pretty much PT's method in that article too.

 
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
   

Post Reply



 



Advertisement

Worth A Click