Updated escoria-demo-game

This commit is contained in:
2023-06-06 19:28:49 +02:00
parent 6d3bd3511c
commit 0d38a8646a
116 changed files with 1670 additions and 1291 deletions

View File

@@ -1,15 +1,14 @@
:use
# Show main menu, automatic transitions ENABLED
show_menu main true
show_menu main
# wait 2 seconds
wait 2
# Hide main menu, automatic transitions ENABLED
hide_menu main true
hide_menu main
:look
say player "button main menu"
say player "button main menu"

View File

@@ -1,41 +0,0 @@
:use
# This event demonstrates the following:
#- fade out to black
#- show the pause menu (automatic transition disabled to manage those manually)
#- wait 2 seconds
#- change scene (automatic transition disabled to manage those manually) to reload this same room
set_global transition_manual true
# Fade out to black
transition fade_black out
wait 2
# Show main menu, automatic transition DISABLED
show_menu pause
# Showing menu
transition shards in
# Wait 2 seconds on menu
wait 2
# Transition out before hiding menu
transition fade_black out
# Hide the menu
hide_menu pause
wait 1
# Do NOT transition IN as this transition will be managed by the room's :setup event!
# If you transition IN here instead of room's :setup event, you will show the previous room
# Change scene to same scene, disabled automatic transition
change_scene res://game/rooms/room14/room14.tscn false
# Do not transition here either, as change_scene ends the execution of this script
:look
say player "Button change scene"

View File

@@ -1,30 +0,0 @@
:use
# This event demonstrates the following:
#- fade out to black
#- show the pause menu (automatic transition disabled to manage those manually)
#- wait 2 seconds
#- change scene (automatic transition enabled) to reload this same room
set_global transition_manual false
# Fade out to black
transition fade_black out
wait 2
# Show main menu, automatic transition DISABLED
show_menu pause
# Showing menu
transition shards in
# Wait 2 seconds on menu
wait 2
# Change scene to same scene, enabled automatic transition
change_scene res://game/rooms/room14/room14.tscn
:look
say player "Button change scene auto"

View File

@@ -1,16 +1,12 @@
:use
# Show pause menu, automatic transition are disabled by default
# So we can manage them manually using `transition` ESC command
# Show pause menu
show_menu pause
# wait 2 seconds
# Wait 2 seconds (this will run AFTER the pause menu is closed since the pause
# menu also pauses the game)
wait 2
# Hide pause menu, automatic transition are disabled by default
# So we can manage them manually using `transition` ESC command
hide_menu pause
:look
say player "Button pause menu"
say player "Button pause menu"

View File

@@ -44,4 +44,4 @@
queue_event worker moveworker _queuedemo true
queue_event worker2 moveworker2 _queuedemo