The Daily Click ::. Forums ::. Non-Klik Coding Help ::. ladders
 

Post Reply  Post Oekaki 
 

Posted By Message

SquishyGecko840



Registered
  28/11/2008
Points
  38
5th December, 2008 at 22:32:53 -

How do i make a ladder work?

If you answer that then how can i also conttinue to shoot in a platform game while on the ladder still.
||
||
||**
||****> . . . .
||**
||**
||

Like that so your faceing one direction but still on the ladder.

 
oh ya

http://www.afrankwillis.com/gallery/pet%20moose.jpg

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4075

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
5th December, 2008 at 22:34:41 -

http://www.create-games.com/download.asp?id=7140
look at the code in ladders 2
you'll notice that as you climb up, the player gets automatically centered on the ladder

Edited by Ricky

 
-

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
5th December, 2008 at 23:12:28 -

You could do something like:
-Always
-(maincharacter) is overlapping (ladder)
-Repeat while (up) is pressed
----Set x(maincharacter) to x(ladder)
----Sety(maincharacter) to y(maincharacter)+1

Here is for going down:

-Always
-(maincharacter) is overlapping (ladder)
-Repeat while (down) is pressed
----Set x(maincharacter) to x(ladder)
----Sety(maincharacter) to y(maincharacter)-1

Shooting:
-Repeat while (left) is pressed
----Set (alt a) to 1

-Repeat while (right) is pressed
----Set (alt a) to 2

-upon pressing (shift)
-Alt A = 1
----Shoot (bullet) left

-upon pressing (shift)
-Alt A = 2
----Shoot (bullet) right


-----------------
Im not really sure if this will work, but I am almost sure it will.
Hope I helped

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

SquishyGecko840



Registered
  28/11/2008
Points
  38
6th December, 2008 at 09:30:28 -

ok i got the ladder to work for the most part but you cant jump while on it so ill put the file up if you are willing to help

http://www.wikiupload.com/download_page.php?id=78806

just post you updated version and your comments about it here

***thanx***

 
oh ya

http://www.afrankwillis.com/gallery/pet%20moose.jpg

-J-



Registered
  05/10/2008
Points
  228

VIP MemberThe Cake is a Lie
6th December, 2008 at 09:47:51 -

In your code, the only condition that makes the player jump says:

-Upon Pressing Shift
-PMO: Test for obstacle overlap
-(X) "you" is overlapping "ladder"
>Jump

This means the player can only jump when it's not overlapping the ladder. If you want the player to be able to jump while on the ladder, try changing that condition to this:

-Upon Pressing Shift
>Jump

Hope that helps!

 
n/a ...

SquishyGecko840



Registered
  28/11/2008
Points
  38
6th December, 2008 at 19:31:57 -

i tried doing that and i think what happened was he went FLYING up the ladder instantly

 
oh ya

http://www.afrankwillis.com/gallery/pet%20moose.jpg
   

Post Reply



 



Advertisement

Worth A Click