FMG tutorial basic movement / solid platform question

JamesZeppelinJamesZeppelin Member Posts: 1,927
edited November -1 in Working with GS (Mac)
Hey Joe (wow it just hit me, that would be a great name for a song)

anyways
I probably should have put this question on the tutorial but i didnt know how often you checked the comments.
I was using your tutorial and i ran into a question
The movement seems great and i wanted to use it in a game.
I ran into a problem. It seems really fluid but after about 400 pixils across it drags to a stop

would you suggest a boolean to turn gravity (the actors) on or off depending on rather you are on a platform or not?

I have a feeling i will run into the same issue when i need a platform to move

.........or

Am i just completely missing something and the movement works just fine?

thanks!

Comments

  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    Oh sorry
    To clarify when i said gravity i meant using acc for gravity simulation on just the actor

    I am not using any gravity on the scene

    thanks
  • bladeolsonbladeolson Member Posts: 295
    I have been playing with scroller stuff too and I found I was able to get the best jump so far using interpolate. Still working on figuring out how to keep my momentum in Jumps though. Hopefully I have something worth showing soon.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @James: What do you mean by 400 pixels across?
    When you make a single platform longer than 400 pixels?

    My test Scene is 1024x2400 and I just made a platform 1000 or so pixels long to test and it worked fine.

    Can you elaborate some more? I'll try to figure out what is going wrong for you.
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    yes, im sorry i just meant the scene size

    After running into some trouble trying to duplicate your movement in my game I downloaded the solid platform and the ducking tutorials to compare and see what i was missing.
    I tried both just to be safe.

    The demo was was in 480x320 so i upped it to ipad size and made one of the platforms full length (1024)

    When I move, it makes it about 3/4 the way across before dragging to a stop.

    I uploaded the larger size one so you could take a look

    The only thing i altered was the size

    http://gamesalad.com/game/play/51959

    thanks
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    I messed around for a couple hours and i think i have descent jump using your
    "actor has gravity not the scene approach"

    http://gamesalad.com/game/play/52008

    not as smooth as your jumping tutorial will be im sure but it seems to get the job done.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Oops! that was my bad. Good catch! I forgot to set Friction to 0 on the solid platform.
    That will fix it for you.

    I will update the tutorial when I get a chance.
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    lol

    that would do it!
    but, yeah i guess it would be hard to catch without traveling a greater distance

    thanks man!!!
Sign In or Register to comment.