Time for action — creating the main game events
Now that our objects are set up, we can go on to make their events in the Game
event sheet.
1. We are now ready to switch to the
Event Sheet Editor
to make the basics of our game. Start by adding an event sheet namedGame
to our project and include this from the event sheet of our level.2. Open the
Game
event sheet and create the empty event groupsStartup, HUD, Scrolling, Enemies, Guns, Join-In, Players, Death, Sound
, andLevelTransitions
. These can be given descriptions relative to their group name in their group creation dialog box:3. In the Startup group, add the
System
conditionStart of layout
. Add actions for theBackStopper, FrontStopper
, andGoNextScreen
objects to match those as shown in the following screenshot:4. Now add actions to set the
Global Variable
values ofGameWonLost
andCurrentScreen
to0.
5. Next, add actions to destroy
P2Legs
and makeP2Face
andP2Info
invisible, before finally adding actions to set theGlobal...