I am developing a golf game using the GameSalad framework for iPhone. I have one attribute named speed of type integer with value 5000. I also have one boolean attribute named speedControl which is initially false.
When the ball is pressed and its sppedControl is true, I accelerate it with game.speed i.e. 5000.
Now I want to decrease the speed of the ball every 0.5 seconds, so i added a timer behavior and set it to every 0.5 seconds. Every tick of the timer, I set the CHANGE ATTRIBUTE game.speed to game.speed-300. but it's not working.
Sorry, I have no reputation, therefore I can't send you screenshots.
Please help me. I am very new to GameSalad and this is my first project.