The Daily Click ::. Forums ::. Klik Coding Help ::. wall hanging/jumping with the pmo
 

Post Reply  Post Oekaki 
 

Posted By Message

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
16th June, 2009 at 06:00:56 -

how is this done? ive experimented a couple of times, and well, failed, it ended up being glitchy and dumb looking so it was abandoned, but it would be perfect for my next project, all help would be very appreciated.

 
[Game design makes my brain feel like its gonna explode.]

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
17th June, 2009 at 06:30:04 -

Well, I haven't exactly messed with that sort of thing yet, but my guess would be to use some positional testing.
Positional testing is incredibly useful and you'll see alot of it in my 2.5d project.

Basically what you'd do is relate the characters x and y positions to the x and y positions of the object you want him to grab, then when the character is within the specified area, activate or deactivate code to make the character hang. (animation change, gravity deactivation, and hotspot adjustments are things to consider) ... Another way would be to change the animation to "hanging" with the press of a button and while the "hanging" animation is playing and character collides with the object to hang from, then activate the hanging code (and deactivate relative things such as gravity).


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?
   

Post Reply



 



Advertisement

Worth A Click