flick scrolling (possible?)

part12studiospart12studios Member Posts: 620
edited November -1 in Working with GS (Mac)
I have a game idea I'm working on that I need help getting my bearings on... basically the game would require that the player can "pull" the screen down.. with random objects appearing as the player pulls it down.. can anyone offer some pointers on how i would approach this?

it would seem like i would need some kind of "piano roll" which i could attach the objects too perhaps? something that keeps all the objects relative motion together..

but maybe i'm making it too complicated and really its just a platformer like metroid (8 bit) that would just be "grabbed" by the finger to see what's above?

Thanks!
Caleb

Comments

  • PhoticsPhotics Member Posts: 4,172
    I'm confused. Do you want vertical scrolling or a menu that appears from the top of the screen?
  • part12studiospart12studios Member Posts: 620
    it would be vertical scrolling.. i guess the best example would be how you flick through your music on an iphone or other touch devices.. you can grab and "flick" the screen to scroll for awhile till it slows down to a stop.. or just drag your finger slowly and it track the finger
  • PhoticsPhotics Member Posts: 4,172
    Well, with BOT #1, I sorta have this working. Basically, it's a combination of a few behaviors...

    When mouse is down...
    set the start mouse position
    Then, launch other behaviors when the difference between the start mouse position is significantly different than the current mouse position.

    I didn't do the cover-flow type stuff like Apple does. That is technically possible with GameSalad though.
  • part12studiospart12studios Member Posts: 620
    that's great thanks for the lead.. i'll check it out and report back tonight! I picked up your book the other day. Very helpful and thank you for your help in the forum trentches for noobs like me. :) You and guys like Tshirt and the many others who give great answers!

    I look forward to getting my GS chops and be able to help others as i get better at this!

    Thanks
    Caleb
  • akstudiodevelopmentakstudiodevelopment Member Posts: 93
    Hey,

    Tshirtbooth has done a great tutorial on a menu system which is easily adaptable with what you're looking to do.

    Check it out. I used the mechanics from this tutorial to try and create an Angry Birds type template that allows you to scroll sideways, the way you described above.



    Cheers,

    K
  • part12studiospart12studios Member Posts: 620
    yea that's super cool! I'll definitely give that a shot. that does pretty much look spot on though.. now to adapt that to the specifics i need. it will be my first time using constraints... my other game didn't need them.. this looks uber promising!
Sign In or Register to comment.