Time for action – testing the game
The game file to import and load for this session is 5961_02_04.stencyl
.
Fortunately, Stencyl makes it very easy—and quick—to test our games:
- Click the Test Game icon on the right-hand side of the toolbar.
- Watch the progress messages that appear while the game is prepared.
- The Flash Player window opens so that we can see our game.
- Press the arrow keys on the keyboard. Don't worry—nothing should happen!
- Close the Flash Player window.
What just happened?
We tested our game, but it wasn't very exciting to see, was it?
However, when we clicked on the Test Game icon, Stencyl saved the game file, put together all the information that we have provided and compiled it into a Flash game that was displayed in the Flash Player window.
When we pressed the arrow keys on the keyboard, absolutely nothing happened because we haven't provided Stencyl with any information about how the monkey actor will be controlled by the player!
The other problem we have is that we have no scenery in our scene. If we don't make the scene interesting, it's not going to be a very interesting game, so let's make that our next task.