Need help with ball actor

WoodGamesWoodGames Member Posts: 42
edited November 2012 in Working with GS (Mac)
Im making an ball game that drops when you touch the start button but if i reset the game the ball drops everytime? how do i make the ball stops dropping when the scene resets or to the next scene?

Comments

  • RPRP Member Posts: 1,990
    edited November 2012
    You will need an attribute that sets that ball's action (that button press) back to zero/false each time you reset, or start that scene. Otherwise the memory and logic will think, "okay time for the ball to drop, because you already pressed the button".

    So if the button press = 1 or true: ball drop (action). When scene is reset/restarted button press = 0 or false. It's kinda like having to give very precise instructions to someone with very short term memory.
  • WoodGamesWoodGames Member Posts: 42
    Thanks but can you make an project and send it to me? i dont understand it.
  • capitalcarnagecapitalcarnage Member Posts: 371
    edited November 2012
    @thomgames - I'm sure there is enough material available for free around this site that you don't need someone to spoon feed you an example.

    interrogate these examples - http://gamesalad.com/manuals
  • WoodGamesWoodGames Member Posts: 42
    @RP But how do i change it?
  • WoodGamesWoodGames Member Posts: 42
    @RP You will need an attribute that sets that ball's action (that button press) back to zero/false each time you reset, or start that scene. Otherwise the memory and logic will think, "okay time for the ball to drop, because you already pressed the button".
    How do i do that?
  • RPRP Member Posts: 1,990
    edited November 2012
    @ThomGames, just to be clear; understand that I'm not sitting on the edge of my seat to answer all your questions (or do it for you, I'm working)...please direct them to everyone in this thread.

    Direct your attention to the gamesalad cookbook and get an understanding on attributes, the types of attributes how and when to use them as well as when and how to implement behaviors and rules. You are jumping into the pool without a swimsuit. Ya dig? ;)

    http://cookbook.gamesalad.com/

    http://cookbook.gamesalad.com/tutorials/2/parts/8
Sign In or Register to comment.