The Daily Click ::. Forums ::. Klik Coding Help ::. Lifting things?
 

Post Reply  Post Oekaki 
 

Posted By Message

Chester Chestnut



Registered
  01/03/2009
Points
  9
9th March, 2009 at 15:06:45 -

I was wondering, if I want the players character to lift things up, balls for example, by landing ontop of them and lift them up and be able to walk around carrying them over his head and throw them away, how do I make that happen?^^

Using MMF2 btw.

Edited by Chester Chestnut

 
n/a

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
9th March, 2009 at 16:35:29 -

in the event editor, you can create a line of code saying "Set Position of Brick to Player (0,-32)" which will make it always over his head. Put this in an event with the condition "Player Flag 10 is On" AND "Object Flag 10 is On". Now, have an event that says that when the player is overlapping the object and presses the button you want, you set both of their Flag 10's On. Then when he puts it down, set those flags off again.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Mr G



Registered
  31/12/2008
Points
  178

VIP MemberPS3 OwnerI like Aliens!Attention GetterDos Rules!
9th March, 2009 at 20:28:33 -

My noob game had a "permanent lift" effect

Like pixelthief said, it's all about flags and setting position

 
Image

http://create-games.com/project.asp?id=1549
   

Post Reply



 



Advertisement

Worth A Click