Scene

MidNightGamer1125MidNightGamer1125 Member Posts: 50
edited November -1 in Working with GS (Mac)
In most tutorials that you watch the play area already has everything you need in it to play. Well the game i am trying to make has a lot of different selections in the menu. For example you can choose 3 different cars to race with. So my question is how do you fill the scene or play area with the objects you selected from the menu. I have been trying to figure this out for 2 days now and i can muster up nothing. If anyone can help I would greatly appreciate it.
Jon

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well for your car example Create and integer Game Attribute called car select.

    Then have in your menu you choose the car have each car when selected change attribute game.carselect to 1 or 2 or 3 or 4 etc..

    Then in your actual car actor have a rule
    When game.carselect = 1
    --Change image to Car1.png
    --Change Attribute (for all other Car 1 Settings)
    Otherwise
    Rule When game.carselect = 2
    --Change image to Car2.png
    --Change Attribute (For all other Car 2 Settings
    Otherwise
    Rule When game.carselect = 3
    Etc…..

    That make sense?

    You can use that for basically anything like that.

    ___________________________________________________________________________________
    GS BubbleBall Template HERE!!
    Stacks Level Selection Template HERE!!
    AppSolute Entertainment on Facebook
  • simo103simo103 Member, PRO Posts: 1,331
    don't know if my take on your issue is correct but I had a template for a popup menu with items you can drag out into the scene ... am working on a bigger free template with various parts like this but I copied out just that one part and uploaded it in case it helps you now:

    http://gamesalad.com/game/15105

    Click the lower button to open and close the menu. Click and drag any of the squares into the scene.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I think hes wanting like selectable stuff from a settings menu like say spiderball you can go in a chose what you want you ball to look like and then go to the level and thats what the ball is in the level
  • simo103simo103 Member, PRO Posts: 1,331
    @tenrdrmer

    yup read it again and think you're correct.
  • MidNightGamer1125MidNightGamer1125 Member Posts: 50
    Yes tenrdrmer is correct that's exactly what i am looking for. I am totally new to gamesalad but I am pretty sure I understand what your saying. However I am a litle confused on what you said in your first sentence there... Have each car change attribute to what exactly.
  • MidNightGamer1125MidNightGamer1125 Member Posts: 50
    If your still willing to help out correct me if I am wrong here. I think I grasp the first sentence I was talking about. Basically I would make a button to select the car in my menu. The within that button i would make a change attribute then press GAME and select the integer car. select I made in the menu. Then were it says = I would type in the expression editor the name of my car actor. Maybe....Ill give it a shot but please let me know if I am on the right track. Thanks for help and patience
  • simo103simo103 Member, PRO Posts: 1,331
    @>;MidNightGamer1125

    sometimes I use other peoples issues to teach myself new stuff so I took tenrdrmers info and put a demo template together. I think it will help you and as you pick through and create additional cars you can replicate how I did it and learn also.

    Note: I have it so that if you click the button in the top right it starts/stops the cars. Here is it to view and download:

    http://gamesalad.com/game/15145

    Right click download and then change .game at the end to .zip double click to expand.
  • MidNightGamer1125MidNightGamer1125 Member Posts: 50
    Thanks man theres a lot of good stuff in here
Sign In or Register to comment.