The Daily Click ::. Forums ::. Klik Coding Help ::. Custom movement, player falls through platform.
 

Post Reply  Post Oekaki 
 

Posted By Message

eyeangle



Registered
  12/06/2003
Points
  1683
18th March, 2007 at 08:51:14 -

I followed the DavidN's tutorial but I keep having the problem of my character fall through a platform.
Why is this???
It happens with both moving platforms and still.
The platforms are 1 pixel high like the tutorial says to make. However when I make them thicker the player lands somewhere in the middle of the platform.
It seems as through my computer isn't reading the fast loops fast enough!

Please help.

 
theonecardgame.com

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
18th March, 2007 at 08:58:13 -

Do you have the latest build of MMF2? I had problems with the engine until I was told by Jeff at Clickteam to upgrade to Build 243.

 
n/a

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
18th March, 2007 at 10:04:38 -

The tutorial should have been corrected now - the problem before was that it added decimals to a global value rather than setting it, which didn't work properly in early versions.

I'm not sure about the problem you're having without seeing what you have in your event list... most likely you're missing an "On loop 'grav'" if you're only landing in the middle of the detector.

 
http://www.davidn.co.nr - Games, music, living in America

eyeangle



Registered
  12/06/2003
Points
  1683
19th March, 2007 at 05:48:23 -

Na I've got On loop "gravity" covered on the event. I can't figure it out.
Can I have the link to the new updated tutorial. I can't seem to find it.
The event for landing on a normal backdrop is exactly the same as the landing on a platform. (detector is overlapping group 0) instead, and without the (set Y position), and yet it doesn't work.

Does it work on the demos?

Also, what do you guys recommend I get- MMF2 or MMF2Dev.???

 
theonecardgame.com

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
19th March, 2007 at 22:19:13 -

The updated tutorial replaced the old one, so there isn't a separate link - if you have "Revision 1" at the bottom of the HTML page, then it's the updated one.

I can't really see anything else obvious wrong, unless you post your event list.

 
http://www.davidn.co.nr - Games, music, living in America
   

Post Reply



 



Advertisement

Worth A Click