The Daily Click ::. Forums ::. Klik Coding Help ::. Best way to make pickup blocks mechanic?
 

Post Reply  Post Oekaki 
 

Posted By Message

JetpackLover



Registered
  01/03/2007
Points
  212
26th May, 2011 at 09:33:40 -

I'm trying to make a super easy way to have a character pick up blocks(think Super Mario Bros 2) and I want to use PMO because I don't have the expertise to code my own engine. I'm an artist primarily so I want to stick to my strengths(things run smoother that way lol)

Anyone know the best way to do this with the PMO? I also really want to have rudimentary stacking of same objects can 2 of the same object be stacked with pmo?

I've thought about just having like 12 different platform movement objects 1 for each thing to be picked up but that sounds stupidly inefficient.

Can(may?) someone please help me?



 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover


nim



Registered
  17/05/2002
Points
  7234
26th May, 2011 at 11:52:00 -

Re: Controlling multiple objects with one PMO object - there's a good example of this on Nifflas' website. Check the "Dynamic PMO Assigner" example on this page: http://bit.ly/iTtHvP

It may or may not be easy to edit that example but I think it'd be a good place to start if you're sure you don't want to make your own custom engine. I think what you want to do will require a fair amount of fast loops and time spent in MMF's event editor to get it working perfectly. Nifflas himself made a game (FiNCK) that features block carrying and throwing, as did Lyle in Cube Sector and A Game With a Kitty 2, so it's entirely possible. Perhaps someone here could make you an example.

 
//
   

Post Reply



 



Advertisement

Worth A Click