From f195eb5f90f763341f67ca05c2cd32d78bc8aa9d Mon Sep 17 00:00:00 2001 From: skyace65 Date: Sun, 11 Jun 2023 16:10:16 -0400 Subject: [PATCH] Update Kinematic Character assets for 4.0 --- src/kinematic_character_2d_starter/map.tscn | 32 ++--- .../tileset.res | Bin 3338 -> 710 bytes .../tileset_edit.tscn | 109 ------------------ 3 files changed, 7 insertions(+), 134 deletions(-) delete mode 100644 src/kinematic_character_2d_starter/tileset_edit.tscn diff --git a/src/kinematic_character_2d_starter/map.tscn b/src/kinematic_character_2d_starter/map.tscn index 217ea76..09399bc 100644 --- a/src/kinematic_character_2d_starter/map.tscn +++ b/src/kinematic_character_2d_starter/map.tscn @@ -1,28 +1,10 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3 uid="uid://cvvf6rt75h0yu"] -[ext_resource path="res://tileset.res" type="TileSet" id=1] - -[node name="Node" type="Node" index="0"] - -[node name="TileMap" type="TileMap" parent="." index="0"] - -mode = 0 -tile_set = ExtResource( 1 ) -cell_size = Vector2( 50, 50 ) -cell_quadrant_size = 16 -cell_custom_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -cell_half_offset = 2 -cell_tile_origin = 0 -cell_y_sort = false -cell_clip_uv = false -collision_use_kinematic = false -collision_friction = 1.0 -collision_bounce = 0.0 -collision_layer = 1 -collision_mask = 1 -occluder_light_mask = 1 -format = 1 -tile_data = PoolIntArray( 0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0, 196612, 2, 0, 196613, 1, 0, 196614, 1, 0, 196615, 3, 0, 262144, 0, 0, 262145, 1, 0, 262146, 1, 0, 262147, 1, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 262152, 1, 0, 262153, 1, 0 ) -_sections_unfolded = [ "Cell" ] +[ext_resource type="TileSet" uid="uid://dvu6xanwufudg" path="res://tileset.res" id="1"] +[node name="Node" type="Node"] +[node name="TileMap" type="TileMap" parent="."] +tile_set = ExtResource("1") +format = 2 +layer_0/tile_data = PackedInt32Array(0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0, 262144, 0, 0, 262145, 65536, 0, 262146, 65536, 0, 262147, 65536, 0, 196612, 131072, 0, 196613, 65536, 0, 196614, 65536, 0, 262152, 65536, 0, 262153, 65536, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 196615, 196608, 0) diff --git a/src/kinematic_character_2d_starter/tileset.res b/src/kinematic_character_2d_starter/tileset.res index d767610ee936b4a62f028bb1c6cb2db22d68ae6e..6eb5b514a205e62824a0564586499ec76e77e3e5 100644 GIT binary patch literal 710 zcmV;%0y+IsQ$s@n000005C8xO2mk=C0ssIgwJ-f(2nQt<0CrtsKtOGi4#U94sMCqQ zm_OnEDvF{E(>4g%w%WU$fiz;$wk?MphTZs_+p{HvFab?4iocHmXLJ}5n6b!+=u`b8 z1xWx-08Ri*U)Q)BDtqJpXMA6@ z!o3=G8yT{w(G5A+`f-OmlSz2QB1}|8=5X9>ZQI%p+$~D3mbMQ^-CP3i$Q5;;rB(%P ztuvV3j%S!oegJ!Mb&+m`ZlpO>$_Mva*2^GCCxb_b25DG(r5;` zR<}DH$?E!v@AM z|3xen4vXSMh!wBmyim6p3xJEL0cj*eGgFXMG9ADIk*Oi^65ul(4}wM;B4CV=#7X>2 z=m8hQphxF%7w%n@A49y}h%K@>i=g}}x=>QD$cmc<*=fR2!|ydveIeL(4e7#%Iq1(U}jQyUNhjtZDB0GNDx!3@7> zwyXKg&*sBP#Q}zj351tMk|vVqy|*8fLJ&ck%njxUJ0?Ki6e5Bb4+jaT#oiR`_%O2r zw*L{b>X?go&ST^Y23My5lv^BoYyco)YVJEBhg3q1*!~1kv7=uJgeTSr=(-Xx`MYx< swPS0kgP7;M1& literal 3338 zcmcgvS#Q)Z5O%rmn{v|yT5g)=C`Y-vZ7F?3Er`b`r0KF!HeQl!51#tVkorX5_(|m( zC*B=*11d#e$@0v6@z~$z^;kQ3qfB%GHqeCR?sd3fPJ~Nl!4h%^+hYlqqG^s+Leo)7$I?3p=s1;%0z8) z%xY$S(8*;EWyBc;%P@>Pi`b!&Qb)zPVh_P`vk~OTqdzP6){U2oWuJp~RIsyqlx%|% z0F#n}bz-7qTLvY#oRV!ZN_HP5+tQmiQ|hRqM4PLk#N&#RZ81ttkCJ0h0$@^7Fkjy> zDZ%BG98SsUqvTXl>O~bL+FTVS9#@ncPRZ?2at%rVOiBvolw6Y%Tu#a5l-xc_ZY8B& zR8gYMRZ-$`MakuqydEXbpaj6Aq+m|TGbzF4lsrz!>!ajVQtCw&CE8pSB_3ClJWXi; z7eZCDvMSKEMJ1ZBEV{+00;BDuA@(Cm)kBpgV7B;5Av7L!#E*)oD~1pBf9r`a7143= zt&E<>lxdkPN2~8-yw;G(0^NOQM(hDVeP5ANP+1=7`n3%qY8!h*t*%FI?=tBolB$lR z-LY%`anj-;+3Y4j(yqPRWE)jGPF>W zV-%;-EyVh3-l@7$@3pxpA?BuzAwXwFjY@lwSFx_s^QQBj+=iWE*lF0;(Ff2kqtp2l z5#peVsLDdC&=-WzY=!uF8YI~gZl`*cwzh^Q0a05gdu!`^ojT1S)-s9wm0+#AV~W$x z^wZ{tQl^WBICN|DW@cl+>W${ol3bc59Ws}8kYN{KS4m5A3u#GGYK63yU}cVKgI@50yO-rI)VXV?SSI}?{~;eQtQVYws`Q{v9Z zl|(#($K@R@eGI}v=kks*%!XYhuY-6Y@8C2{wBonx!qW13u(`bB@U^^;w_#5h_7wKc z?&Pxy>v}5be%+8>sp7+ Yb*108)|Do4Y=&WPV3V%Y=J7A+C&Do_Y5)KL diff --git a/src/kinematic_character_2d_starter/tileset_edit.tscn b/src/kinematic_character_2d_starter/tileset_edit.tscn deleted file mode 100644 index 55152e5..0000000 --- a/src/kinematic_character_2d_starter/tileset_edit.tscn +++ /dev/null @@ -1,109 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://tileset.png" type="Texture" id=1] - -[node name="Node" type="Node" index="0"] - -[node name="Wall" type="Sprite" parent="." index="0"] - -position = Vector2( 25, 25 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 0, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Wall" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D" index="0"] - -position = Vector2( -1.90735e-06, -1.90735e-06 ) -scale = Vector2( 2.5, 2.5 ) -build_mode = 0 -polygon = PoolVector2Array( -10, -10, 10, -10, 10, 10, -10, 10 ) - -[node name="Floor" type="Sprite" parent="." index="1"] - -position = Vector2( 125, 25 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 50, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Floor" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Floor/StaticBody2D" index="0"] - -build_mode = 0 -polygon = PoolVector2Array( -25, -25, 25, -25, 25, 25, -25, 25 ) - -[node name="Ramp Up" type="Sprite" parent="." index="2"] - -position = Vector2( 225, 25 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 100, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Ramp Up" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ramp Up/StaticBody2D" index="0"] - -build_mode = 0 -polygon = PoolVector2Array( 25, -25, 25, 25, -25, 25 ) - -[node name="Ramp Down" type="Sprite" parent="." index="3"] - -position = Vector2( 25, 125 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 150, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Ramp Down" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ramp Down/StaticBody2D" index="0"] - -build_mode = 0 -polygon = PoolVector2Array( -25, -25, 25, 25, -25, 25 ) - -[node name="BG" type="Sprite" parent="." index="4"] - -position = Vector2( 125, 125 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 200, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -