Compare commits

..

15 Commits

Author SHA1 Message Date
gdz
4f9d5fc8bd Unit now does not handle the MovementMarker anymore. 2025-12-14 02:38:31 +01:00
gdz
a500e7ac3e Unit spawning. Added moving marker. 2025-12-14 02:37:34 +01:00
gdz
c8859d5e9f Set up input action for zooming 2025-12-14 00:17:11 +01:00
gdz
fdcef59322 removed old code for selecting units (not working) 2025-12-14 00:16:52 +01:00
gdz
6bfc792cd0 Camera can be zoomed with the scroll wheel. Position smoothing enabled. 2025-12-14 00:16:26 +01:00
gdz
fbc4795e8a added new input events 2025-12-14 00:02:10 +01:00
gdz
4b926f4ea5 z index of asphalt was 1, updated to 0 2025-12-14 00:01:55 +01:00
gdz
59bd119254 dont know 2025-12-14 00:01:30 +01:00
gdz
6029bc66bd wrong directory 2025-12-14 00:01:12 +01:00
gdz
4c1e5fe895 new structure more modulation 2025-12-14 00:00:54 +01:00
gdz
21bd9b1bb1 new version of main spawning a unit 2025-12-14 00:00:35 +01:00
gdz
d1758f750d camera as its own scene and not part of main 2025-12-14 00:00:08 +01:00
gdz
df937c69d0 old version of the main script 2025-12-13 23:59:40 +01:00
gdz
31241efd50 marker scene for the unit 2025-12-13 23:59:24 +01:00
gdz
7e9780b392 Basic Unit that is selectable 2025-12-13 23:59:00 +01:00
14 changed files with 864 additions and 50 deletions

View File

@@ -823,15 +823,12 @@ separation = Vector2i(1, 1)
25:14/0 = 0 25:14/0 = 0
26:14/0 = 0 26:14/0 = 0
0:15/0 = 0 0:15/0 = 0
0:15/0/z_index = 1
1:15/0 = 0 1:15/0 = 0
1:15/0/z_index = 1
1:15/0/terrain_set = 0 1:15/0/terrain_set = 0
1:15/0/terrains_peering_bit/right_side = 1 1:15/0/terrains_peering_bit/right_side = 1
1:15/0/terrains_peering_bit/bottom_side = 1 1:15/0/terrains_peering_bit/bottom_side = 1
1:15/0/terrains_peering_bit/left_side = 1 1:15/0/terrains_peering_bit/left_side = 1
2:15/0 = 0 2:15/0 = 0
2:15/0/z_index = 1
3:15/0 = 0 3:15/0 = 0
4:15/0 = 0 4:15/0 = 0
5:15/0 = 0 5:15/0 = 0
@@ -857,9 +854,7 @@ separation = Vector2i(1, 1)
25:15/0 = 0 25:15/0 = 0
26:15/0 = 0 26:15/0 = 0
0:16/0 = 0 0:16/0 = 0
0:16/0/z_index = 1
1:16/0 = 0 1:16/0 = 0
1:16/0/z_index = 1
1:16/0/y_sort_origin = 1 1:16/0/y_sort_origin = 1
1:16/0/terrain_set = 0 1:16/0/terrain_set = 0
1:16/0/terrains_peering_bit/right_side = 1 1:16/0/terrains_peering_bit/right_side = 1
@@ -867,23 +862,14 @@ separation = Vector2i(1, 1)
1:16/0/terrains_peering_bit/left_side = 1 1:16/0/terrains_peering_bit/left_side = 1
1:16/0/terrains_peering_bit/top_side = 1 1:16/0/terrains_peering_bit/top_side = 1
2:16/0 = 0 2:16/0 = 0
2:16/0/z_index = 1
3:16/0 = 0 3:16/0 = 0
3:16/0/z_index = 1
4:16/0 = 0 4:16/0 = 0
4:16/0/z_index = 1
5:16/0 = 0 5:16/0 = 0
5:16/0/z_index = 1
6:16/0 = 0 6:16/0 = 0
6:16/0/z_index = 1
7:16/0 = 0 7:16/0 = 0
7:16/0/z_index = 1
8:16/0 = 0 8:16/0 = 0
8:16/0/z_index = 1
9:16/0 = 0 9:16/0 = 0
9:16/0/z_index = 1
10:16/0 = 0 10:16/0 = 0
10:16/0/z_index = 1
11:16/0 = 0 11:16/0 = 0
12:16/0 = 0 12:16/0 = 0
13:16/0 = 0 13:16/0 = 0
@@ -903,42 +889,32 @@ separation = Vector2i(1, 1)
0:17/0 = 0 0:17/0 = 0
0:17/0/z_index = 1 0:17/0/z_index = 1
1:17/0 = 0 1:17/0 = 0
1:17/0/z_index = 1
1:17/0/terrain_set = 0 1:17/0/terrain_set = 0
1:17/0/terrains_peering_bit/right_side = 1 1:17/0/terrains_peering_bit/right_side = 1
1:17/0/terrains_peering_bit/left_side = 1 1:17/0/terrains_peering_bit/left_side = 1
1:17/0/terrains_peering_bit/top_side = 1 1:17/0/terrains_peering_bit/top_side = 1
2:17/0 = 0 2:17/0 = 0
2:17/0/z_index = 1
2:17/0/terrain_set = 0 2:17/0/terrain_set = 0
2:17/0/terrains_peering_bit/right_side = 1 2:17/0/terrains_peering_bit/right_side = 1
2:17/0/terrains_peering_bit/bottom_side = 1 2:17/0/terrains_peering_bit/bottom_side = 1
2:17/0/terrains_peering_bit/top_side = 1 2:17/0/terrains_peering_bit/top_side = 1
3:17/0 = 0 3:17/0 = 0
3:17/0/z_index = 1
3:17/0/terrain_set = 0 3:17/0/terrain_set = 0
3:17/0/terrains_peering_bit/right_side = 1 3:17/0/terrains_peering_bit/right_side = 1
3:17/0/terrains_peering_bit/bottom_side = 1 3:17/0/terrains_peering_bit/bottom_side = 1
3:17/0/terrains_peering_bit/left_side = 1 3:17/0/terrains_peering_bit/left_side = 1
3:17/0/terrains_peering_bit/top_side = 1 3:17/0/terrains_peering_bit/top_side = 1
4:17/0 = 0 4:17/0 = 0
4:17/0/z_index = 1
4:17/0/terrain_set = 0 4:17/0/terrain_set = 0
4:17/0/terrains_peering_bit/bottom_side = 1 4:17/0/terrains_peering_bit/bottom_side = 1
4:17/0/terrains_peering_bit/left_side = 1 4:17/0/terrains_peering_bit/left_side = 1
4:17/0/terrains_peering_bit/top_side = 1 4:17/0/terrains_peering_bit/top_side = 1
5:17/0 = 0 5:17/0 = 0
5:17/0/z_index = 1
6:17/0 = 0 6:17/0 = 0
6:17/0/z_index = 1
7:17/0 = 0 7:17/0 = 0
7:17/0/z_index = 1
8:17/0 = 0 8:17/0 = 0
8:17/0/z_index = 1
9:17/0 = 0 9:17/0 = 0
9:17/0/z_index = 1
10:17/0 = 0 10:17/0 = 0
10:17/0/z_index = 1
11:17/0 = 0 11:17/0 = 0
12:17/0 = 0 12:17/0 = 0
13:17/0 = 0 13:17/0 = 0

View File

@@ -14,4 +14,9 @@ func _process(delta: float) -> void:
if Input.is_action_pressed("MoveLeft"): if Input.is_action_pressed("MoveLeft"):
global_position += Vector2.LEFT * 2 global_position += Vector2.LEFT * 2
if Input.is_action_pressed("MoveRight"): if Input.is_action_pressed("MoveRight"):
global_position += Vector2.RIGHT * 2 global_position += Vector2.RIGHT * 2
if Input.is_action_just_released("ZoomIn"):
$SmartCamera2D.zoom += Vector2.ONE
if Input.is_action_just_released("ZoomOut"):
$SmartCamera2D.zoom -= Vector2.ONE

View File

@@ -0,0 +1,18 @@
[gd_scene load_steps=4 format=3 uid="uid://bfvijh611aggp"]
[ext_resource type="Script" uid="uid://brublmhrsdc7l" path="res://Scenes/Camera/camera_controller.gd" id="1_ig7ij"]
[ext_resource type="Script" uid="uid://xrddv2epi3ty" path="res://addons/smartcamera2D/SmartCamera2D.gd" id="2_du7i2"]
[ext_resource type="Texture2D" uid="uid://bq6ud1dmn8fds" path="res://addons/smartcamera2D/Camera2D.svg" id="3_bg4ca"]
[node name="CameraController" type="Node2D"]
script = ExtResource("1_ig7ij")
metadata/_edit_group_ = true
[node name="SmartCamera2D" type="Camera2D" parent="."]
position_smoothing_enabled = true
script = ExtResource("2_du7i2")
target = NodePath("..")
metadata/_custom_type_script = "uid://xrddv2epi3ty"
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("3_bg4ca")

View File

@@ -1,18 +1,48 @@
extends Node extends Node
@onready var _Map: Node = $Map @onready var _Map: Node = $Map
#@onready var _Player = $Player @onready var _Camera = $CameraController
#@onready var _Camera = $WorldCamera
@export var mapSize: int = 15 # Units
var _UnitScene = preload("res://Scenes/Unit/unit.tscn")
var _Units: Array[Unit] = []
# MovingMarker
var _MovingMarkerScene = preload("res://Scenes/Unit/marker.tscn")
var _MovingMarker: Node2D = _MovingMarkerScene.instantiate()
#@export var mapSize: int = 15
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
var thread: Thread = Thread.new() add_child(_MovingMarker)
thread.start(func(): _Map.generate_map(mapSize)) _MovingMarker.hide()
thread.wait_to_finish()
_createUnit(Vector2i(10,10))
for unit in _Units:
add_child(unit)
pass
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void: func _process(delta: float) -> void:
pass pass
func _createUnit(pos: Vector2i):
var newUnit = _UnitScene.instantiate()
newUnit.set("_spawnPosition", pos)
_Units.append(newUnit as Unit)
func _input(event: InputEvent) -> void:
if event.is_action_pressed("SetMarker"):
print("Action is SetMarker")
_MovingMarker.global_position = _getMousePosition(event).position
_MovingMarker.show()
func _getScreenCenter():
return get_viewport().get_camera_2d().get_screen_center_position()
func _getMousePosition(event: InputEvent):
return get_viewport().get_camera_2d().make_input_local(event)

View File

@@ -1,27 +1,12 @@
[gd_scene load_steps=6 format=3 uid="uid://d05j5yuhlsxp0"] [gd_scene load_steps=4 format=3 uid="uid://d05j5yuhlsxp0"]
[ext_resource type="PackedScene" uid="uid://cywuuce71rmgb" path="res://Scenes/Map/map.tscn" id="1_1r6ip"] [ext_resource type="PackedScene" uid="uid://cywuuce71rmgb" path="res://Scenes/Map/map.tscn" id="1_1r6ip"]
[ext_resource type="Script" uid="uid://btdvxp8ckmeb3" path="res://Scenes/Main/main.gd" id="1_qw60k"] [ext_resource type="Script" uid="uid://btdvxp8ckmeb3" path="res://Scenes/Main/main.gd" id="1_qw60k"]
[ext_resource type="Script" uid="uid://brublmhrsdc7l" path="res://Scenes/Main/camera_controller.gd" id="3_p6jpk"] [ext_resource type="PackedScene" uid="uid://bfvijh611aggp" path="res://Scenes/Camera/camera_controller.tscn" id="3_qw60k"]
[ext_resource type="Script" uid="uid://xrddv2epi3ty" path="res://addons/smartcamera2D/SmartCamera2D.gd" id="3_qw60k"]
[ext_resource type="Texture2D" uid="uid://bq6ud1dmn8fds" path="res://addons/smartcamera2D/Camera2D.svg" id="5_2a143"]
[node name="Main" type="Node"] [node name="Main" type="Node"]
script = ExtResource("1_qw60k") script = ExtResource("1_qw60k")
mapSize = 100
[node name="Map" parent="." instance=ExtResource("1_1r6ip")] [node name="Map" parent="." instance=ExtResource("1_1r6ip")]
[node name="CameraController" type="Node2D" parent="."] [node name="CameraController" parent="." instance=ExtResource("3_qw60k")]
script = ExtResource("3_p6jpk")
metadata/_edit_group_ = true
[node name="SmartCamera2D" type="Camera2D" parent="CameraController"]
script = ExtResource("3_qw60k")
target = NodePath("..")
metadata/_custom_type_script = "uid://xrddv2epi3ty"
[node name="Sprite2D" type="Sprite2D" parent="CameraController"]
texture = ExtResource("5_2a143")
[editable path="Map"]

18
Scenes/Main/main_old.gd Normal file
View File

@@ -0,0 +1,18 @@
extends Node
@onready var _Map: Node = $Map
#@onready var _Player = $Player
#@onready var _Camera = $WorldCamera
@export var mapSize: int = 15
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
var thread: Thread = Thread.new()
thread.start(func(): _Map.generate_map(mapSize))
thread.wait_to_finish()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@@ -0,0 +1 @@
uid://c2kiqy4eqhpoi

View File

@@ -28,7 +28,7 @@ tile_set = ExtResource("2_fyo8k")
metadata/_edit_lock_ = true metadata/_edit_lock_ = true
[node name="Buildings" type="TileMapLayer" parent="."] [node name="Buildings" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("AAAgAAkAAQAAAAMAAAAhAAkAAQACAAMAAAAkAAkAAQACAAMAAAAjAAkAAQACAAMAAAAiAAkAAQACAAMAAAAgAAsAAQAAAAMAAAAgAAwAAQAAAAQAAAAgAA0AAQAAAAUAAAAgAA4AAQAQAAQAAAAgAA8AAQAQAAUAAAAgABAAAQAQAAYAAAAgABEAAQAQAAYAAAAgABIAAQAQAAYAAAAgABMAAQAQAAcAAAAhAAsAAQABAAMAAAAhAAwAAQABAAQAAAAhAA0AAQABAAUAAAAhAA4AAQASAAQAAAAhAA8AAQASAAYAAAAhABAAAQASAAYAAAAhABEAAQASAAYAAAAhABIAAQASAAYAAAAhABMAAQASAAcAAAAiAAsAAQABAAMAAAAiAAwAAQABAAQAAAAiAA0AAQABAAUAAAAiAA4AAQASAAQAAAAiAA8AAQASAAYAAAAiABAAAQASAAYAAAAiABEAAQASAAYAAAAiABIAAQASAAYAAAAiABMAAQASAAcAAAAjAAsAAQABAAMAAAAjAAwAAQABAAQAAAAjAA0AAQABAAUAAAAjAA4AAQASAAQAAAAjAA8AAQASAAYAAAAjABAAAQASAAYAAAAjABEAAQASAAYAAAAjABIAAQASAAYAAAAjABMAAQASAAcAAAAkAAsAAQACAAMAAAAkAAwAAQACAAQAAAAkAA0AAQACAAUAAAAkAA4AAQAQAAQAAAAkAA8AAQAQAAYAAAAkABAAAQAQAAUAAAAkABEAAQAQAAYAAAAkABIAAQAQAAUAAAAkABMAAQAQAAcAAAAwAAsAAQAAAAMAAAAwAAwAAQAAAAQAAAAwAA0AAQAAAAUAAAAwAA4AAQAQAAQAAAAwAA8AAQAQAAUAAAAwABAAAQAQAAYAAAAwABEAAQAQAAYAAAAwABIAAQAQAAYAAAAxAAsAAQABAAMAAAAxAAwAAQABAAQAAAAxAA0AAQABAAUAAAAxAA4AAQASAAQAAAAxAA8AAQASAAYAAAAxABAAAQASAAYAAAAxABEAAQASAAYAAAAxABIAAQASAAYAAAAyAAsAAQABAAMAAAAyAAwAAQABAAQAAAAyAA0AAQABAAUAAAAyAA4AAQASAAQAAAAyAA8AAQASAAYAAAAyABAAAQASAAYAAAAyABEAAQASAAYAAAAyABIAAQASAAYAAAAzAAsAAQABAAMAAAAzAAwAAQABAAQAAAAzAA0AAQABAAUAAAAzAA4AAQASAAQAAAAzAA8AAQASAAYAAAAzABAAAQASAAYAAAAzABEAAQASAAYAAAAzABIAAQASAAYAAAA0AAsAAQACAAMAAAA0AAwAAQACAAQAAAA0AA0AAQACAAUAAAA0AA4AAQAQAAQAAAA0AA8AAQAQAAYAAAA0ABAAAQAQAAUAAAA0ABEAAQAQAAYAAAA0ABIAAQAQAAUAAAAwABMAAQAQAAcAAAAxABMAAQASAAcAAAAyABMAAQASAAcAAAAzABMAAQASAAcAAAA0ABMAAQAQAAcAAAA=") tile_map_data = PackedByteArray("AAAgAAsAAQAAAAMAAAAgAAwAAQAAAAQAAAAgAA0AAQAAAAUAAAAgAA4AAQAQAAQAAAAgAA8AAQAQAAUAAAAgABAAAQAQAAYAAAAgABEAAQAQAAYAAAAgABIAAQAQAAYAAAAgABMAAQAQAAcAAAAhAAsAAQABAAMAAAAhAAwAAQABAAQAAAAhAA0AAQABAAUAAAAhAA4AAQASAAQAAAAhAA8AAQASAAYAAAAhABAAAQASAAYAAAAhABEAAQASAAYAAAAhABIAAQASAAYAAAAhABMAAQASAAcAAAAiAAsAAQABAAMAAAAiAAwAAQABAAQAAAAiAA0AAQABAAUAAAAiAA4AAQASAAQAAAAiAA8AAQASAAYAAAAiABAAAQASAAYAAAAiABEAAQASAAYAAAAiABIAAQASAAYAAAAiABMAAQASAAcAAAAjAAsAAQABAAMAAAAjAAwAAQABAAQAAAAjAA0AAQABAAUAAAAjAA4AAQASAAQAAAAjAA8AAQASAAYAAAAjABAAAQASAAYAAAAjABEAAQASAAYAAAAjABIAAQASAAYAAAAjABMAAQASAAcAAAAkAAsAAQACAAMAAAAkAAwAAQACAAQAAAAkAA0AAQACAAUAAAAkAA4AAQAQAAQAAAAkAA8AAQAQAAYAAAAkABAAAQAQAAUAAAAkABEAAQAQAAYAAAAkABIAAQAQAAUAAAAkABMAAQAQAAcAAAAwAAsAAQAAAAMAAAAwAAwAAQAAAAQAAAAwAA0AAQAAAAUAAAAwAA4AAQAQAAQAAAAwAA8AAQAQAAUAAAAwABAAAQAQAAYAAAAwABEAAQAQAAYAAAAwABIAAQAQAAYAAAAxAAsAAQABAAMAAAAxAAwAAQABAAQAAAAxAA0AAQABAAUAAAAxAA4AAQASAAQAAAAxAA8AAQASAAYAAAAxABAAAQASAAYAAAAxABEAAQASAAYAAAAxABIAAQASAAYAAAAyAAsAAQABAAMAAAAyAAwAAQABAAQAAAAyAA0AAQABAAUAAAAyAA4AAQASAAQAAAAyAA8AAQASAAYAAAAyABAAAQASAAYAAAAyABEAAQASAAYAAAAyABIAAQASAAYAAAAzAAsAAQABAAMAAAAzAAwAAQABAAQAAAAzAA0AAQABAAUAAAAzAA4AAQASAAQAAAAzAA8AAQASAAYAAAAzABAAAQASAAYAAAAzABEAAQASAAYAAAAzABIAAQASAAYAAAA0AAsAAQACAAMAAAA0AAwAAQACAAQAAAA0AA0AAQACAAUAAAA0AA4AAQAQAAQAAAA0AA8AAQAQAAYAAAA0ABAAAQAQAAUAAAA0ABEAAQAQAAYAAAA0ABIAAQAQAAUAAAAwABMAAQAQAAcAAAAxABMAAQASAAcAAAAyABMAAQASAAcAAAAzABMAAQASAAcAAAA0ABMAAQAQAAcAAAA=")
tile_set = ExtResource("2_fyo8k") tile_set = ExtResource("2_fyo8k")
metadata/_edit_lock_ = true metadata/_edit_lock_ = true

18
Scenes/Unit/marker.tscn Normal file
View File

@@ -0,0 +1,18 @@
[gd_scene load_steps=3 format=3 uid="uid://bhcenjcsstaaf"]
[ext_resource type="Texture2D" uid="uid://cxtkb8rqq0j6r" path="res://Graphics/TileMaps/kenney_rpgUrbanKit/Tiles/tile_0407.png" id="1_y5thb"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4a8kw"]
size = Vector2(16, 16)
[node name="Marker" type="Node2D"]
top_level = true
z_index = 20
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_y5thb")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_4a8kw")

85
Scenes/Unit/unit.gd Normal file
View File

@@ -0,0 +1,85 @@
extends Node2D
class_name Unit
var _spawnPosition: Vector2
### Marker
# For now the marker will be spawned and deleted by the unit.
# Later it will be handled by the main scene.
# Load marker scene.
# var marker_scene: PackedScene = preload("res://Scenes/Unit/marker.tscn")
# var marker
## WE NOW USE A SIMPLE SPRITE2D FOR THE MARKER
@onready var _readyToSelectMarker: Sprite2D = $ReadyToSelectMarker
@onready var _selectedMarker: Sprite2D = $SelectedMarker
#@onready var _movingMarker: Sprite2D = $MovingMarker
var _readyToSelect: bool = false
var _selected: bool = false
#var _moving: bool = false
var TargetPosition: Vector2
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
# marker = marker_scene.instantiate()
# marker.hide()
global_position = _spawnPosition
_readyToSelectMarker.hide()
_selectedMarker.hide()
# _movingMarker.hide()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _input(event: InputEvent):
if event.is_action_pressed("Select"):
print_debug("Action is Select")
# We combine it with the fact that it is already marked (@see _markUnit)
if _readyToSelect: _selectUnit()
else: _deselectUnit()
# if event.is_action_pressed("SetMarker"):
# print("Action is SetMarker")
# if _selected:
# print("Setting marker to ", event.position)
# #marker.global_position = event.position
## marker.show()
## _movingMarker.position = get_global_mouse_position()
## _movingMarker.show()
func _getUnitPosition():
return $AnimatedSprite2D.global_position
func _setSelected(selected: bool):
_selected = selected
func _selectUnit():
_setSelected(true)
_selectedMarker.show()
func _deselectUnit():
_setSelected(false)
_selectedMarker.hide()
func _gets_selected(viewport: Node, event: InputEvent, shape_index: int):
if event.is_action_pressed("Select") and event.position == position:
_selectUnit()
func _markUnit():
_readyToSelect = true
_readyToSelectMarker.show()
func _unMarkUnit():
_readyToSelect = false
_readyToSelectMarker.hide()
func moveToTarget():

1
Scenes/Unit/unit.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://dpu6c0bpm0dvl

657
Scenes/Unit/unit.tscn Normal file
View File

@@ -0,0 +1,657 @@
[gd_scene load_steps=92 format=3 uid="uid://dy7rltpxyqyw7"]
[ext_resource type="Script" uid="uid://dpu6c0bpm0dvl" path="res://Scenes/Unit/unit.gd" id="1_15sed"]
[ext_resource type="Texture2D" uid="uid://cgvyfsuri6vmx" path="res://Graphics/TileMaps/kenney_rpgUrbanKit/Tilemap/tilemap.png" id="1_hgpyh"]
[ext_resource type="Texture2D" uid="uid://bprproedmlhtr" path="res://Graphics/TileMaps/kenney_rpgUrbanKit/Tiles/tile_0168.png" id="3_ladk0"]
[ext_resource type="Texture2D" uid="uid://b7ra2w7rdeqij" path="res://Graphics/TileMaps/kenney_rpgUrbanKit/Tiles/tile_0169.png" id="4_iuf4a"]
[ext_resource type="Texture2D" uid="uid://cxtkb8rqq0j6r" path="res://Graphics/TileMaps/kenney_rpgUrbanKit/Tiles/tile_0407.png" id="5_ulevp"]
[sub_resource type="AtlasTexture" id="AtlasTexture_15sed"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ladk0"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_iuf4a"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ulevp"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jbdwb"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_kakeo"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_2itl1"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_uodik"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_w60h1"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_q5c6k"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_y2hb5"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_5vvm1"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_0merg"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 51, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jahmd"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 51, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jtnns"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 51, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qcj6w"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 51, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_pdgau"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 68, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1k30j"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 68, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qmqog"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 68, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_prs0y"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 68, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qv1on"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 85, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_0ov37"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 85, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_m1pfp"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 85, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1jb5b"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 85, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_iyq01"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 102, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qpfpn"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 102, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_6evyw"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 102, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_cuap2"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 102, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_b4c2f"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 119, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_dvpvl"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 119, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gf8c1"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 119, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_pbs5w"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 119, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_7t4o5"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 136, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_1lkcx"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 136, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_6fub5"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 136, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_3wg47"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 136, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_l0rrp"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 153, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_skhnf"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 170, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_alkvx"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 170, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_o5opq"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 170, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_2rcer"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 170, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_bv4qt"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 153, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_0amuh"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 153, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_fd0xu"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 153, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_pkh51"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 187, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_5srdt"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 187, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_caihi"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 187, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_h1ku1"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 187, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_i4ovk"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 204, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_yqh1o"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 204, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_xpvdx"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 204, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_y2dgk"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 204, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_4cp2e"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 221, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gkacr"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 221, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8bkpn"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 221, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_geh57"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 221, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_vhmln"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 238, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_phgsf"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 238, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8c8dd"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 238, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_567f6"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 238, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_sh42c"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 255, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qrrk2"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 272, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jpfxb"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 272, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ltdu6"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 255, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_rpj10"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 255, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_bw0qi"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 255, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_shyl4"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 272, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_v5ygc"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 272, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ft25m"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 289, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_uijqx"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 289, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_kbxvt"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 289, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_sy06n"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 289, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_v64vj"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_hog1p"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_5yx1v"]
atlas = ExtResource("1_hgpyh")
region = Rect2(408, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gt2o7"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_k11yt"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lwxxd"]
atlas = ExtResource("1_hgpyh")
region = Rect2(391, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_df2x8"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_243qs"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_d7bi7"]
atlas = ExtResource("1_hgpyh")
region = Rect2(442, 34, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_4yov4"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_o1svm"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 17, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_jnhj3"]
atlas = ExtResource("1_hgpyh")
region = Rect2(425, 34, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_7f253"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_15sed")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ladk0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iuf4a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ulevp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jbdwb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kakeo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2itl1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uodik")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_w60h1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q5c6k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y2hb5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5vvm1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0merg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jahmd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jtnns")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qcj6w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pdgau")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1k30j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qmqog")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_prs0y")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qv1on")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0ov37")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m1pfp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1jb5b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iyq01")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qpfpn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6evyw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cuap2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b4c2f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dvpvl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gf8c1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pbs5w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7t4o5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1lkcx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6fub5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3wg47")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l0rrp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_skhnf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_alkvx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_o5opq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2rcer")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bv4qt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0amuh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fd0xu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pkh51")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5srdt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_caihi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_h1ku1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i4ovk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_yqh1o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xpvdx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y2dgk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4cp2e")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gkacr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8bkpn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_geh57")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vhmln")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_phgsf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8c8dd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_567f6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sh42c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qrrk2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jpfxb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ltdu6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rpj10")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bw0qi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_shyl4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_v5ygc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ft25m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uijqx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kbxvt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sy06n")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_v64vj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hog1p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5yx1v")
}],
"loop": true,
"name": &"down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gt2o7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_k11yt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lwxxd")
}],
"loop": true,
"name": &"left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_df2x8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_243qs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d7bi7")
}],
"loop": true,
"name": &"right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_4yov4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_o1svm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jnhj3")
}],
"loop": true,
"name": &"up",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_15sed"]
size = Vector2(16, 16)
[node name="Unit" type="Node2D"]
texture_filter = 1
script = ExtResource("1_15sed")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_7f253")
animation = &"down"
[node name="ReadyToSelectMarker" type="Sprite2D" parent="."]
position = Vector2(-0.225, -8)
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_ladk0")
[node name="SelectedMarker" type="Sprite2D" parent="."]
position = Vector2(-0.225, -8)
scale = Vector2(0.5, 0.5)
texture = ExtResource("4_iuf4a")
[node name="MovingMarker" type="Sprite2D" parent="."]
visible = false
scale = Vector2(0.5, 0.5)
texture = ExtResource("5_ulevp")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_15sed")
[connection signal="mouse_entered" from="Area2D" to="." method="_markUnit"]
[connection signal="mouse_exited" from="Area2D" to="." method="_unMarkUnit"]

View File

@@ -60,6 +60,26 @@ MoveRight={
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
] ]
} }
Select={
"deadzone": 0.2,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null)
]
}
SetMarker={
"deadzone": 0.2,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"canceled":false,"pressed":false,"double_click":false,"script":null)
]
}
ZoomIn={
"deadzone": 0.2,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":4,"canceled":false,"pressed":false,"double_click":false,"script":null)
]
}
ZoomOut={
"deadzone": 0.2,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":5,"canceled":false,"pressed":false,"double_click":false,"script":null)
]
}
[rendering] [rendering]