A condition is simply a way to determine when something has happened. This sentence is in two parts, the first part can be called the condition. If we use the name of the objects as we saw them in the frame editor, the sentence becomes : "when the object BallGolden collides with object SugarVertical1, then the Object BallGolden should bounce". We want the ball to bounce when it collides with the vertical and horizontal bars. Let's think about what we want to achieve. Locate the " Event editor" button in the tool bar, and click on it. To do that, we will now discover the Event editor. We have to instruct Clickteam Fusion 2.5 to make the ball bounce off of objects. It works, but we need the ball to stick around for the game! What is the problem? We can see that the ball does not bounce on the "sugar" object as it should. You should see the ball move and vanish out of the playfield. We have just defined the ball movement of the ball object : you can run the frame again, by clicking on the " Run Frame" button, as before.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |