Sprite name |
File |
Image size |
spr_title |
title_sq.png |
500 x 500 |
spr_button_start |
button_start.png |
240 x 80 |
spr_button_load |
button_load.png |
240 x 80 |
spr_button_help |
button_help.png |
240 x 80 |
spr_button_scores |
button_scores.png |
240 x 80 |
spr_button_quit |
button_quit.png |
240 x 80 |
Background name |
File |
Image size |
bg_frontend |
background_frontend.png |
1920 x 1080 |
Sound resource |
File |
snd_frontend |
front_end.mp3 |
Event | Screen Capture |
---|---|
Create object obj_title using spr_title | ![]() |
Add Event > Create | ![]() |
Set Score ![]() |
![]() |
Add Event > Other > Game Start | ![]() |
Play Sound ![]() |
![]() |
Object Properties > OK | ![]() |
Event | Screen Capture |
---|---|
Create object obj_button_start using spr_button_start | ![]() |
Add Mouse > Left Pressed | ![]() |
Include Next Room action ![]() |
![]() |
Event | Screen Capture |
---|---|
Create obj_button_load using spr_button_load | ![]() |
Add Mouse > Left Pressed > Load Game ![]() |
![]() |
Event | Screen Capture |
---|---|
Create obj_button_quit using spr_button_quit | ![]() |
Add Mouse > Left Pressed > Show Info ![]() |
![]() |
Event | Screen Capture |
---|---|
Create obj_button_scores using spr_button_scores | ![]() |
Add Mouse > Left Pressed > Show High Score ![]() |
![]() |
Event | Screen Capture |
---|---|
Create obj_button_help using spr_button_help | |
Add Mouse > Left Pressed > End Game ![]() |
![]() |
The above steps gives us all the objects we need to create front end. Now create a front-end room for our objects.
Event | Screen Capture |
---|---|
Create room called room_front_end | ![]() |
On settings tab use set Name = room_front_end, Caption = Main menu, width = 1920, height - 1080 | ![]() |
On backgrounds tab select bg_frontend | ![]() |
On objects tab place one instance of each of the button objects created above. Place the obj_title. |
Event | Screen Capture |
---|---|
Create sprite spr_congrats Name = congratulations.png (1920 x 1080) > OK | ![]() |
Create object obj_contrats using spr_congrats | ![]() |
Add Event > Create > Set Alarm ![]() |
![]() |
Include Set Score ![]() |
![]() |
Add Event > Alarm > Alarm0 | ![]() |
Add Show Highscore ![]() |
![]() |
Add Different Room ![]() |
![]() |
Create Background | ![]() |
Background Properties > Name = bg_endgame > Load Background = background_endgame.png. Should show 1920 x 1080 | ![]() |
Create Room | ![]() |
Room Properties > Settings Tab > Name = room_endgame, Caption = End of Game, Width = 1920, Height = 1080, | ![]() |
Room Properties > Snap X = 40, Snap Y=40 | ![]() |
Objects tab > Object to add with left mouse = obj_congrats | ![]() |
Click left mouse one time in upper left 40 x 40 grid to place obj_congrats into room | ![]() |
Event | Screen Capture |
---|---|
Create object | ![]() |
Object Properties > Name = obj_controller, Sprite = no sprite | ![]() |
Add Event > Key Press > Others > Escape | ![]() |
main1 tab > Different Room ![]() |
![]() |
Event | Screen Capture |
---|---|
Create Background | ![]() |
Background Properties > Name = bg_level01 > Load Background > bg_level01.png Note: Width & Height should be 1920 & 1080 respectively. |
![]() |
Event | Screen Capture |
---|---|
Highlight room_endgame > Right Click > Insert Room Note: This should insert a room between room_front_end & room_endgame. If not drag new room between them now. The order of rooms does matter. |
![]() |
Room Properties > Snap X = 40, Snap Y=40 | ![]() |
Settings tab > Name = room_level_one, Caption for the room = Level One, Width = 1920, Height = 1080 | ![]() |
Backgrounds tab > select bg_level01 from drop down menu | ![]() |
Select green check mark to close out of Room Properties | ![]() |
Object tab > Object to add with left mouse = obj_controller | ![]() |
Left click once to add controller Note: Question mark means no sprite is associate to object which in this case is what we want. |
![]() |
Close & save room by selecting green check mark in upper left corner. |