diff --git a/battle/ui/action/BattleCursorIcon.gd b/battle/ui/action/BattleCursorIcon.gd index 89adc00..f141cfc 100644 --- a/battle/ui/action/BattleCursorIcon.gd +++ b/battle/ui/action/BattleCursorIcon.gd @@ -22,7 +22,7 @@ enum Mode { func _ready() -> void: _updatePosition() -func _process(delta: float) -> void: +func _process(_delta: float) -> void: if mode == Mode.INACTIVE: self.visible = false return diff --git a/overworld/camera/OverworldCamera.gd b/overworld/camera/OverworldCamera.gd new file mode 100644 index 0000000..8ca6ba2 --- /dev/null +++ b/overworld/camera/OverworldCamera.gd @@ -0,0 +1 @@ +extends Camera3D diff --git a/overworld/camera/OverworldCamera.gd.uid b/overworld/camera/OverworldCamera.gd.uid new file mode 100644 index 0000000..9ca939b --- /dev/null +++ b/overworld/camera/OverworldCamera.gd.uid @@ -0,0 +1 @@ +uid://8tsov4ihmnxl diff --git a/overworld/map/TestMap.tscn b/overworld/map/TestMap.tscn index a38e253..4c05e13 100644 --- a/overworld/map/TestMap.tscn +++ b/overworld/map/TestMap.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=3 uid="uid://d0ywgijpuqy0r"] +[gd_scene load_steps=11 format=3 uid="uid://d0ywgijpuqy0r"] [ext_resource type="Script" uid="uid://xe6pcuq741xi" path="res://overworld/map/TestMap.gd" id="1_6ms5s"] [ext_resource type="PackedScene" uid="uid://cluuhtfjeodwb" path="res://overworld/map/TestMapBase.tscn" id="1_ox0si"] @@ -6,6 +6,7 @@ [ext_resource type="Script" uid="uid://yn7kxdargafx" path="res://cutscene/conversation/ConversationResource.gd" id="3_p7git"] [ext_resource type="Script" uid="uid://38ya6vphm5bu" path="res://item/ItemResource.gd" id="4_xf0pb"] [ext_resource type="Script" uid="uid://b5c8g5frishjs" path="res://cutscene/cutscene/TestCutscene.gd" id="5_125nt"] +[ext_resource type="Script" uid="uid://8tsov4ihmnxl" path="res://overworld/camera/OverworldCamera.gd" id="7_tr4a0"] [sub_resource type="Resource" id="Resource_xf0pb"] script = ExtResource("3_p7git") @@ -57,4 +58,5 @@ entityId = "player" movementType = 2 [node name="Camera3D" type="Camera3D" parent="."] -transform = Transform3D(-0.0384888, -0.605488, 0.794923, -0.0292824, 0.795854, 0.60478, -0.99883, 0, -0.0483617, 5.96324, 4.42257, 0) +transform = Transform3D(-0.0384888, -0.605488, 0.794923, -0.0292824, 0.795854, 0.60478, -0.99883, -5.59445e-09, -0.0483616, 9.84926, 12.5195, 0) +script = ExtResource("7_tr4a0") diff --git a/project.godot b/project.godot index cbb49c6..d0ddd03 100644 --- a/project.godot +++ b/project.godot @@ -132,5 +132,3 @@ locale/country_filter=["JP"] [rendering] textures/canvas_textures/default_texture_filter=0 -renderer/rendering_method="gl_compatibility" -renderer/rendering_method.mobile="gl_compatibility"