From e39977133be6bb1156b615f9b7d81391ecb89af3 Mon Sep 17 00:00:00 2001 From: Andus <30293380+AndusDEV@users.noreply.github.com> Date: Wed, 3 May 2023 21:40:50 +0200 Subject: [PATCH] Quick fix - Collisions (0.4.0.1) --- addons/kanban_tasks/data.json | 16 +++++----------- levels/test_level/TestLevel.tscn | 2 +- scenes/TileMaps/SurroundingsTileMap.tscn | 2 +- scenes/player/Player.tscn | 4 ++-- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/addons/kanban_tasks/data.json b/addons/kanban_tasks/data.json index f1db6cb..7203602 100644 --- a/addons/kanban_tasks/data.json +++ b/addons/kanban_tasks/data.json @@ -35,19 +35,18 @@ { "title": "Todo", "tasks": [ - 22, 7, 9, 14, 15, 13, - 12, - 11 + 12 ] }, { "title": "Doing", "tasks": [ + 21, 10 ] }, @@ -61,16 +60,16 @@ 4, 6, 16, - 19, + 18, 5, + 19, 20, - 21 + 11 ] }, { "title": "Waiting", "tasks": [ - 18, 8 ] }, @@ -172,11 +171,6 @@ "title": "Downloading Mods From In The Game", "details": "For now. Redirecting to GameBanana" }, - { - "category": 1, - "title": "Debug Console not working with int(s)", - "details": "Game pauses when using int in the commands" - }, { "category": 0, "title": "Chapter Selector", diff --git a/levels/test_level/TestLevel.tscn b/levels/test_level/TestLevel.tscn index 4e15448..8237e17 100644 --- a/levels/test_level/TestLevel.tscn +++ b/levels/test_level/TestLevel.tscn @@ -104,7 +104,7 @@ path = "player_interact" position = Vector2( 249, 146 ) [node name="SurroundingsTileMap" parent="." instance=ExtResource( 11 )] -tile_data = PoolIntArray( 7, 0, 0, 11, 0, 0, 655374, 0, 0, 655377, 0, 0, 720908, 0, 0, 720911, 0, 0, 720914, 0, 0, 786443, 0, 0, 786446, 0, 0, 786450, 0, 0, 851979, 0, 0, 851981, 0, 0, 851983, 0, 0, 851984, 0, 0, 851986, 0, 0 ) +tile_data = PoolIntArray( 7, 0, 0, 11, 0, 0, 655374, 0, 0, 655377, 0, 0, 720908, 0, 0, 720911, 0, 0, 720914, 0, 0, 786446, 0, 0, 851979, 0, 0, 851981, 0, 0, 851983, 0, 0, 851984, 0, 0, 851986, 0, 0 ) [node name="Collisions" type="StaticBody2D" parent="."] diff --git a/scenes/TileMaps/SurroundingsTileMap.tscn b/scenes/TileMaps/SurroundingsTileMap.tscn index 9ee846d..5fb477b 100644 --- a/scenes/TileMaps/SurroundingsTileMap.tscn +++ b/scenes/TileMaps/SurroundingsTileMap.tscn @@ -3,7 +3,7 @@ [ext_resource path="res://tilesets/surroundings/tree.png" type="Texture" id=1] [sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 48, 104, 32, 104, 32, 80, 48, 80 ) +points = PoolVector2Array( 24, 104, 32, 96, 32, 88, 48, 88, 48, 96, 56, 104, 24, 104 ) [sub_resource type="TileSet" id=2] 0/name = "Tree" diff --git a/scenes/player/Player.tscn b/scenes/player/Player.tscn index 0a20129..55b459a 100644 --- a/scenes/player/Player.tscn +++ b/scenes/player/Player.tscn @@ -8,7 +8,7 @@ [ext_resource path="res://fonts/m5x7/SmallTextTheme.tres" type="Theme" id=6] [sub_resource type="RectangleShape2D" id=27] -extents = Vector2( 12.5, 7.03126 ) +extents = Vector2( 8.50002, 25.5001 ) [sub_resource type="Animation" id=28] length = 0.001 @@ -190,7 +190,7 @@ vframes = 4 frame = 2 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( 0.499999, 20.0312 ) +position = Vector2( 0.5, 0.5 ) scale = Vector2( 0.999998, 0.999998 ) shape = SubResource( 27 )