First commit 🎉
This commit is contained in:
commit
43ea213f9b
728 changed files with 37080 additions and 0 deletions
30
addons/popochiu/engine/templates/room_template.gd
Normal file
30
addons/popochiu/engine/templates/room_template.gd
Normal file
|
@ -0,0 +1,30 @@
|
|||
@tool
|
||||
extends PopochiuRoom
|
||||
|
||||
const Data := preload('room_state_template.gd')
|
||||
|
||||
var state: Data = null
|
||||
|
||||
|
||||
#region Virtual ####################################################################################
|
||||
# What happens when Popochiu loads the room. At this point the room is in the
|
||||
# tree but it is not visible
|
||||
func _on_room_entered() -> void:
|
||||
pass
|
||||
|
||||
|
||||
# What happens when the room changing transition finishes. At this point the room
|
||||
# is visible.
|
||||
func _on_room_transition_finished() -> void:
|
||||
# You can use await E.queue([]) to execute a sequence of instructions
|
||||
pass
|
||||
|
||||
|
||||
# What happens before Popochiu unloads the room.
|
||||
# At this point, the screen is black, processing is disabled and all characters
|
||||
# have been removed from the $Characters node.
|
||||
func _on_room_exited() -> void:
|
||||
pass
|
||||
|
||||
|
||||
#endregion
|
Loading…
Add table
Add a link
Reference in a new issue