ok I give up, simple platform moving problem....

StormyStudioStormyStudio United KingdomMember Posts: 3,989
edited November -1 in Working with GS (Mac)
OK I GIVE UP, HELP IF YOU PLEASE:
I've tried different things myself and I've tried things from the wiki and the forum. I'm sure I've read it somewhere an it can't be that hard.

WHAT I WANT TO DO:
I want a platform that at the press of a button (change of an attribute) will start automatically moving left and right across the screen. (Ideally moving in a way I can vary with a 'real' value that I can easily vary, to increase speed/difficulty on different levels).

But I also want objects that are sitting on top of it to then fall down when the actor has moved from underneath them using physics and gravity.

I've managed to get the platform actor moving left and right, but then the objects on top still sit there even when it is not underneath them even though they are affected by gravity. I've tried keeping gravity on the platform and counteracting it with acceleration, but the objects on top tip it due to their own weight and it flys off the screen. I've tried if an attribute = 1 then change velocity to 100 to the right, then every 1.4 secs change motion linear velocity x -100, but nothing happens. Did that following the make actor pace help in the wiki, but in the screen shots in that help there is the option for 'stacked' in Change velocity which I don't have.

Like I said before I sure it's simple enough, it just needs to move back and forth, not be affected by gravity, but affect things that are affected by gravity.

Hope that makes sense, sorry its a bit of a ramble, its late, I'm sitting up waiting to feed the baby (with a bottle not my own lactating boobs, she's now 3 weeks and 2 days old)...

Comments

  • ORBZORBZ Member Posts: 1,304
    have you applied fixed rotation to the platform? That should prevent it from tilting.
  • rebumprebump Member Posts: 1,058
    Friction may still be set too high for them to be left behind. If you lower it, lower it on the falling objects and not so much on the platform IF your player may want to land on the platform at some point (and not slide off).

    Sounds like ORBZ helped with the tilting.
  • ORBZORBZ Member Posts: 1,304
    Here, is this what you are trying to do?

    http://gamesalad.com/game/play/39351
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    yeah pretty much want it to do that, will check out the project and see where I've gone wrong.
    Many many thanks
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    brilliant sorted, many many thanks, been through it, and I guess the main difference was the fixed rotation. But I like the '100*sin( game.Time *100)' to create the movement. And the fixed altitude attribute.

    Cheers

    D3000
  • ORBZORBZ Member Posts: 1,304
    Glad I could help :)
Sign In or Register to comment.