I can't find a topic concering Ladders in DavidN's platform engine. So, here it is.
Can someone tell me how to make a ladder in their own terms? Like the events. I have tried many things but my character keeps getting stuck. >_<
Printable View
I can't find a topic concering Ladders in DavidN's platform engine. So, here it is.
Can someone tell me how to make a ladder in their own terms? Like the events. I have tried many things but my character keeps getting stuck. >_<
Also, like in this file, how do I make it so the background moves when the frame scrolls.
http://www.clickteam.com/eng/resources/fastloop_plattutorial.zip
Put you back ground on a layer behind your main frme and set the coeffecients.
Marv
set the coefficients? My backdrop thingy is at the VERY back. I did the "order -> to back" stuff
Place your backdrop on another layer, seperate from your game screen, if you are referring to paralax scrolling.
Marv
OK.
Also, concerning this file: http://rsguard.com/weka/weka_c2.mfa
If you overlap the side_k_detect object, the side killer active is suppose to shoot the B_Ball object in the east direction. Why isn't it happening? Can you take a look at my mfa I provided? Thanks!
Bumping since I still need help :P
As a simple measure, make the ladders into actives and test for:
Object is overlapping
Repeat while up is pressed
---Set Y coordinate to Y( "Active" )-1
A more complex method:
Create another Value called YLadder.
Make sure all of the ladders are backdrops set to the "Ladder" setting.
Write the events:
Hope it helps.Code:X Left( "Active" ),Y Bottom( "Active")is ladder
Up arrow is pressed
OR
X Left( "Active" )+1,Y Bottom( "Active")is ladder
Up arrow is pressed
OR
X Left( "Active" )+2,Y Bottom( "Active")is ladder
Up arrow is pressed
etc.
---Set YLadder to -1
YLadder <> 0
---Start loop Ladder [speed] times
On Loop Ladder
---Set Y position( "active" ) to Y( "active" )-Yladder( "Active" )
Argh, ladder settings? :S
Think you can do it for me. I tried doing this and failed... miserably.
Want the file?
In a backdrop there is a dropdown box that says something like obstacle properties.