Skip to content

Commit

Permalink
Building on alex's work
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixFrog committed Jan 8, 2024
1 parent cdef190 commit a1fe53a
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 57 deletions.
1 change: 0 additions & 1 deletion 2d/role_playing_game/Game.gd
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
extends Node


@export var combat_screen: NodePath
@export var exploration_screen: NodePath

Expand Down
2 changes: 1 addition & 1 deletion 2d/role_playing_game/Game.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[ext_resource type="Script" path="res://Game.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://1a847rc1yude" path="res://combat/Combat.tscn" id="2"]
[ext_resource type="PackedScene" path="res://grid_movement/Exploration.tscn" id="3"]
[ext_resource type="PackedScene" uid="uid://343t45ghceqo" path="res://grid_movement/Exploration.tscn" id="3"]

[sub_resource type="Animation" id="1"]
length = 0.5
Expand Down
2 changes: 0 additions & 2 deletions 2d/role_playing_game/combat/Combat.gd
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
extends Node


signal combat_finished(winner, loser)


func initialize(combat_combatants):
for combatant in combat_combatants:
combatant = combatant.instantiate()
Expand Down
Loading

0 comments on commit a1fe53a

Please sign in to comment.