The Daily Click ::. Forums ::. Klik Coding Help ::. How do i crouch
 

Post Reply  Post Oekaki 
 

Posted By Message

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
5th June, 2005 at 21:11:22 -

im making a platform, im using the PMO and im trying to make my character crouch, its most likely to be a simple problem but im stumped, if somone could help me that would be great!

 
n/a

»xerus



Registered
  28/06/2002
Points
  675

You've Been Circy'd!Game of the Week Winner
5th June, 2005 at 22:24:49 -

Can you test to see if the player is not moving and holding down a key to crouch? O_o

 
n/a

Weston L



Registered
  16/12/2002
Points
  1603
5th June, 2005 at 22:54:42 -

Yeah, do the above and also make it so that the player can't move while the crouch is going on... if that's what you want.

I'm not familiar with the PMO, but it should equate to something like...
If crouch animation is not playing & the player presses right -> move right

 
n/a

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
5th June, 2005 at 23:25:22 -

Test to see if the character is on the ground (or on an obstacle) and pressing down. Then you can move and stuff.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

KevinHaag



Registered
  28/01/2005
Points
  266

VIP Member
6th June, 2005 at 21:14:41 -

Funny you should ask! I just figured this out yesterday (in TGF):

Go to the animation editor of your object, and go to the set "crouching down" animation. Now make an image of your player crouching and set the animation to looping.

Now exit the animation editor and go to the event editor. Make the event following to test it:

[PLAYER] leaves the playfield
-[PLAYER]: stop movement.

Now run the frame. The player should stop when it hits the bottom of the screen. You should now be able to walk around and if you press the down arrow, your crouching animation will play.

Hope this helped!


Image Edited by the Author.

Image Edited by the Author.

 
Image
http://www.kevinhaag.ca

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
6th June, 2005 at 21:22:20 -

Thanks

 
n/a

KevinHaag



Registered
  28/01/2005
Points
  266

VIP Member
6th June, 2005 at 22:32:45 -

Let me know if it works!

 
Image
http://www.kevinhaag.ca
   

Post Reply



 



Advertisement

Worth A Click