diff --git a/steering_ai/Demos/Arrive/ArriveDemo.tscn b/steering_ai/Demos/Arrive/ArriveDemo.tscn index 8b02e8e..ac496d7 100644 --- a/steering_ai/Demos/Arrive/ArriveDemo.tscn +++ b/steering_ai/Demos/Arrive/ArriveDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=8 format=3] [ext_resource path="res://Demos/Arrive/Arriver.gd" type="Script" id=1] [ext_resource path="res://Demos/Utils/DemoInterface.tscn" type="PackedScene" id=2] diff --git a/steering_ai/Demos/Arrive3d/Arrive3dDemo.tscn b/steering_ai/Demos/Arrive3d/Arrive3dDemo.tscn index 8ffcc48..d7cc69d 100644 --- a/steering_ai/Demos/Arrive3d/Arrive3dDemo.tscn +++ b/steering_ai/Demos/Arrive3d/Arrive3dDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=14 format=2] +[gd_scene load_steps=14 format=3] [ext_resource path="res://Demos/Utils/DemoInterface.tscn" type="PackedScene" id=1] [ext_resource path="res://Demos/Arrive3d/Camera.gd" type="Script" id=2] @@ -54,7 +54,6 @@ material/0 = ExtResource( 5 ) [node name="Nose" type="MeshInstance" parent="Arriver"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 1.25 ) mesh = SubResource( 3 ) -material/0 = null [node name="Camera" type="Camera" parent="."] transform = Transform( 0.989952, 0.0720094, -0.121693, 0.0339305, 0.714503, 0.69881, 0.137271, -0.695917, 0.70488, -7.68317, 14.1265, 25.616 ) diff --git a/steering_ai/Demos/AvoidCollisions/AvoidCollisionsDemo.tscn b/steering_ai/Demos/AvoidCollisions/AvoidCollisionsDemo.tscn index 8dfadb0..712d33c 100644 --- a/steering_ai/Demos/AvoidCollisions/AvoidCollisionsDemo.tscn +++ b/steering_ai/Demos/AvoidCollisions/AvoidCollisionsDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=6 format=3] [ext_resource path="res://Demos/AvoidCollisions/Spawner.gd" type="Script" id=1] [ext_resource path="res://Demos/AvoidCollisions/AvoidCollisionsDemo.gd" type="Script" id=2] diff --git a/steering_ai/Demos/AvoidCollisions/Avoider.tscn b/steering_ai/Demos/AvoidCollisions/Avoider.tscn index 97f32cc..8515f7e 100644 --- a/steering_ai/Demos/AvoidCollisions/Avoider.tscn +++ b/steering_ai/Demos/AvoidCollisions/Avoider.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3] [ext_resource path="res://Demos/Utils/CircleDraw.gd" type="Script" id=1] [ext_resource path="res://Demos/AvoidCollisions/Avoider.gd" type="Script" id=2] diff --git a/steering_ai/Demos/DemoSelector.tscn b/steering_ai/Demos/DemoSelector.tscn index 6d36925..7edf790 100644 --- a/steering_ai/Demos/DemoSelector.tscn +++ b/steering_ai/Demos/DemoSelector.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=7 format=3] [ext_resource path="res://Demos/PopulateItemList.gd" type="Script" id=1] [ext_resource path="res://assets/theme/gdquest.theme" type="Theme" id=2] diff --git a/steering_ai/Demos/Face/FaceDemo.tscn b/steering_ai/Demos/Face/FaceDemo.tscn index 8115e44..66effad 100644 --- a/steering_ai/Demos/Face/FaceDemo.tscn +++ b/steering_ai/Demos/Face/FaceDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=9 format=2] +[gd_scene load_steps=9 format=3] [ext_resource path="res://Demos/Face/Turret.gd" type="Script" id=1] [ext_resource path="res://Demos/Face/FaceDemo.gd" type="Script" id=2] diff --git a/steering_ai/Demos/FollowPath/FollowPathDemo.tscn b/steering_ai/Demos/FollowPath/FollowPathDemo.tscn index 9614780..5da45ee 100644 --- a/steering_ai/Demos/FollowPath/FollowPathDemo.tscn +++ b/steering_ai/Demos/FollowPath/FollowPathDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=8 format=3] [ext_resource path="res://Demos/FollowPath/Drawer.gd" type="Script" id=1] [ext_resource path="res://Demos/Utils/DemoInterface.tscn" type="PackedScene" id=2] diff --git a/steering_ai/Demos/GroupBehaviors/GroupBehaviorsDemo.tscn b/steering_ai/Demos/GroupBehaviors/GroupBehaviorsDemo.tscn index 2fb5437..25cebc5 100644 --- a/steering_ai/Demos/GroupBehaviors/GroupBehaviorsDemo.tscn +++ b/steering_ai/Demos/GroupBehaviors/GroupBehaviorsDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=6 format=3] [ext_resource path="res://Demos/GroupBehaviors/Member.tscn" type="PackedScene" id=1] [ext_resource path="res://Demos/GroupBehaviors/Spawner.gd" type="Script" id=2] @@ -6,7 +6,6 @@ [ext_resource path="res://Demos/Utils/DemoInterface.tscn" type="PackedScene" id=4] [ext_resource path="res://Demos/Utils/BackgroudLayer.tscn" type="PackedScene" id=5] - [node name="GroupBehaviorsDemo" type="Node"] script = ExtResource( 3 ) linear_accel_max = 4234.0 diff --git a/steering_ai/Demos/GroupBehaviors/Member.tscn b/steering_ai/Demos/GroupBehaviors/Member.tscn index 7dd9ab8..5453350 100644 --- a/steering_ai/Demos/GroupBehaviors/Member.tscn +++ b/steering_ai/Demos/GroupBehaviors/Member.tscn @@ -1,9 +1,8 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3] [ext_resource path="res://Demos/GroupBehaviors/Member.gd" type="Script" id=1] [ext_resource path="res://Demos/Utils/CircleDraw.gd" type="Script" id=3] - [sub_resource type="CircleShape2D" id=1] radius = 16.0 diff --git a/steering_ai/Demos/PursueSeek/PursueAndSeekDemo.tscn b/steering_ai/Demos/PursueSeek/PursueAndSeekDemo.tscn index 2196f05..034050f 100644 --- a/steering_ai/Demos/PursueSeek/PursueAndSeekDemo.tscn +++ b/steering_ai/Demos/PursueSeek/PursueAndSeekDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=8 format=3] [ext_resource path="res://Demos/PursueSeek/Pursuer.gd" type="Script" id=1] [ext_resource path="res://Demos/PursueSeek/Player.gd" type="Script" id=2] diff --git a/steering_ai/Demos/Quickstart/Bullet.tscn b/steering_ai/Demos/Quickstart/Bullet.tscn index 60ceb8d..5f18da7 100644 --- a/steering_ai/Demos/Quickstart/Bullet.tscn +++ b/steering_ai/Demos/Quickstart/Bullet.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3] [ext_resource path="res://Demos/Utils/CircleDraw.gd" type="Script" id=1] [ext_resource path="res://Demos/Quickstart/Bullet.gd" type="Script" id=2] diff --git a/steering_ai/Demos/Quickstart/QuickStartDemo.tscn b/steering_ai/Demos/Quickstart/QuickStartDemo.tscn index 19e2854..bd0dda4 100644 --- a/steering_ai/Demos/Quickstart/QuickStartDemo.tscn +++ b/steering_ai/Demos/Quickstart/QuickStartDemo.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=6 format=3] [ext_resource path="res://Demos/Utils/Line2DDraw.gd" type="Script" id=1] [ext_resource path="res://Demos/Quickstart/Agent.gd" type="Script" id=2] @@ -10,9 +10,7 @@ [node name="BackgroudLayer" parent="." instance=ExtResource( 5 )] -[node name="Player" type="KinematicBody2D" parent="." groups=[ -"Player", -]] +[node name="Player" type="KinematicBody2D" parent="." groups=["Player"]] position = Vector2( 402.346, 573.791 ) rotation = 1.5708 collision_mask = 2 diff --git a/steering_ai/Demos/SeekFlee/Seeker.tscn b/steering_ai/Demos/SeekFlee/Seeker.tscn index e65c072..6cc76ea 100644 --- a/steering_ai/Demos/SeekFlee/Seeker.tscn +++ b/steering_ai/Demos/SeekFlee/Seeker.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3] [ext_resource path="res://Demos/SeekFlee/Seeker.gd" type="Script" id=1] [ext_resource path="res://Demos/Utils/CircleDraw.gd" type="Script" id=2] diff --git a/steering_ai/Demos/Utils/BackgroudLayer.tscn b/steering_ai/Demos/Utils/BackgroudLayer.tscn index 9b6a8f1..f8de36f 100644 --- a/steering_ai/Demos/Utils/BackgroudLayer.tscn +++ b/steering_ai/Demos/Utils/BackgroudLayer.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3] [ext_resource path="res://assets/sprites/background.png" type="Texture" id=1] diff --git a/steering_ai/Demos/Utils/DemoInterface.tscn b/steering_ai/Demos/Utils/DemoInterface.tscn index 7855926..853a9d0 100644 --- a/steering_ai/Demos/Utils/DemoInterface.tscn +++ b/steering_ai/Demos/Utils/DemoInterface.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3] [ext_resource path="res://assets/theme/gdquest.theme" type="Theme" id=1] [ext_resource path="res://Demos/Utils/DemoInterface.gd" type="Script" id=2] diff --git a/steering_ai/project.pandemonium b/steering_ai/project.pandemonium index c91957d..ac4287a 100644 --- a/steering_ai/project.pandemonium +++ b/steering_ai/project.pandemonium @@ -42,35 +42,35 @@ enabled=PoolStringArray( ) sf_left={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"action_match_force_exact":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) ] } sf_right={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"action_match_force_exact":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) ] } sf_up={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"action_match_force_exact":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) ] } sf_down={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"action_match_force_exact":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) ] } toggle_fullscreen={ "deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"physical_scancode":0,"unicode":0,"echo":false,"action_match_force_exact":false,"script":null) ] } click={ "deadzone": 0.5, -"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) +"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"canceled":false,"doubleclick":false,"script":null) ] }