Working meta scenes

This commit is contained in:
2025-01-15 22:18:44 -06:00
parent 5344fc4aeb
commit f767dbf966
15 changed files with 144 additions and 86 deletions

View File

@@ -1,17 +1,14 @@
class_name TestCutscene extends "res://scripts/Cutscene/Cutscene.gd"
const OverworldEntity = preload("res://scripts/Entities/OverworldEntity.gd");
const TextboxEvent = preload("res://scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd");
const PauseEvent = preload("res://scripts/Cutscene/Event/CutscenePauseEvent.gd");
const OverworldChangeDirectionEvent = preload("res://scripts/Cutscene/Event/Entity/OverworldChangeDirectionEvent.gd");
const BattleStartEvent = preload("res://scripts/Cutscene/Battle/BattleStartEvent.gd");
const CookingStartEvent = preload("res://scripts/Cutscene/Cooking/CookingStartEvent.gd");
var battle:Battle = null;
var cook:CookingGame;
func _init(speaker:OverworldEntity, interacted:OverworldEntity ) -> void:
battle = Battle.new();
cook = CookingGame.new(VerticalSlice.new());
pass
func setupCutscene() -> void:
add([
BattleStartEvent.new(battle),
CookingStartEvent.new(cook),
]);