integer changes from one number to another change position

digitalzerodigitalzero Member, BASIC Posts: 639
edited January 2014 in Working with GS (Mac)
basically im trying to make a rule like this...

if attribute "character select" changes from 0 to 1 then change position...

you see, im horrible at explaining things lol so i hope you understand what im trying to do...

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    When attribute game.characterSelect = 1
         [Change position]

    Are you trying to oscillate back and forth between two different positions when "character select" equals zero and when it equals one?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    ABSOLUTELY the character is going to scroll left and right depending upon which button you press (left or right button) but the buttons go from 0,1,2,3,4,5, then back to 0 so it really screws things up :(
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2014
    Uh... tell me more.

    You're going to have to get A LOT more specific. For example, does the actor move 60 pixels to the right the first time the right button is pressed and an integer attribute changes from 0 to 1, and then the second time the right button is pressed it moves another 60 and the integer changes from 1 to 2? 0r are there 6 different buttons for movement, numbered 0 through 5? And what is the purpose of the integer (what does it represent)? And why does it reset from 5 to 0?

    Maybe you can draw a picture, too. Anything that would help because right now it feels like you have a big idea and you're offering up tiny breadcrumbs of information.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    @tatiang drawing is my specialty so yeah i can definitely draw a picture :) i will post it in a little bit :)
  • cbtcbt Member Posts: 644
    Is this what you're trying to do?

    http://up.ht/1m9lkOz
  • digitalzerodigitalzero Member, BASIC Posts: 639
    so heres what im talking about... except when i hit the left button i would like for the characters to appear the opposite way..


    Original Video - More videos at TinyPic
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2014
    I get it now.

    This is what you need: http://gshelper.com/shop/gamesalad-templates/cover-flow-type-menu-template.

    More examples are available if you Google cover flow gamesalad

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    http://flic.kr/p/jhFrez

    @tatiang here is what im trying to get at pretty much
  • digitalzerodigitalzero Member, BASIC Posts: 639
    but its a continuous loop if you see what im talking about
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I understand it's not the exact same thing but those cover flow demos are pretty close.

    I built a slider puzzle template that does cycle endlessly like you're wanting. If you click the Templates link in my signature, you can watch a video of it.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    @tatiang... YOU HAVE AN AWESOME VOICE! i have a character named Bluebenschnïben that your voice works perfectly for! Image and video hosting by TinyPic
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Haha! Thanks! Maybe I can do some voice over work for you. :)

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    maybe :) :) :)
Sign In or Register to comment.