Quellcode durchsuchen

Updated the tileset graphic. Added a tilemap and tileset to the game, with collisions. Tweaked the liquid script to behave independantly for each instance.

master
Bryan Miller vor 4 Jahren
Ursprung
Commit
75e8acaf8f
7 geänderte Dateien mit 410 neuen und 96 gelöschten Zeilen
  1. +2
    -2
      .import/Tileset.png-94e4bb279d0d6de91fd5dbad11924f37.md5
  2. BIN
      .import/Tileset.png-94e4bb279d0d6de91fd5dbad11924f37.stex
  3. BIN
      Data/Graphics/Tileset.png
  4. +2
    -2
      Data/Graphics/Tileset.png.import
  5. +385
    -0
      Data/Misc/Tileset.tres
  6. +3
    -2
      Data/Objects/Liquid.tscn
  7. +18
    -90
      Data/Scenes/World.tscn

+ 2
- 2
.import/Tileset.png-94e4bb279d0d6de91fd5dbad11924f37.md5 Datei anzeigen

@@ -1,3 +1,3 @@
source_md5="eabab2195aa00424d05d3eb7cc21b5fe"
dest_md5="40488fded75de2d73e1804c625341580"
source_md5="e41723119ad098ee6d774b2f16a39de9"
dest_md5="756d0b8eb8901dc659e286aee8d54ccf"


BIN
.import/Tileset.png-94e4bb279d0d6de91fd5dbad11924f37.stex Datei anzeigen


BIN
Data/Graphics/Tileset.png Datei anzeigen

Vorher Nachher
Breite: 1024  |  Höhe: 1024  |  Größe: 11KB Breite: 1024  |  Höhe: 1024  |  Größe: 9.0KB

+ 2
- 2
Data/Graphics/Tileset.png.import Datei anzeigen

@@ -20,7 +20,7 @@ compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
@@ -30,5 +30,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
detect_3d=false
svg/scale=1.0

+ 385
- 0
Data/Misc/Tileset.tres Datei anzeigen

@@ -0,0 +1,385 @@
[gd_resource type="TileSet" load_steps=40 format=2]

[ext_resource path="res://Data/Graphics/Tileset.png" type="Texture" id=1]

[sub_resource type="ConvexPolygonShape2D" id=3]
points = PoolVector2Array( 32.8313, 6.08595, 64, 6.27976, 64, 64, 5.89214, 64, 5.89214, 33.4127 )

[sub_resource type="ConvexPolygonShape2D" id=4]
points = PoolVector2Array( 30.9994, 6.27976, 58.1323, 33.6065, 57.9385, 64, 0, 64, 0.184143, 6.27976 )

[sub_resource type="ConvexPolygonShape2D" id=5]
points = PoolVector2Array( 0, 0, 57.9385, 0, 57.9385, 30.8056, 30.6118, 58.1323, 0, 58.1323 )

[sub_resource type="ConvexPolygonShape2D" id=6]
points = PoolVector2Array( 6.08595, 30.8056, 6.27975, 0, 64, 0, 64, 58.1323, 33.2189, 58.1323 )

[sub_resource type="ConvexPolygonShape2D" id=7]
points = PoolVector2Array( 64, 64, 0, 64, 0, 6.08595, 64, 6.27976 )

[sub_resource type="ConvexPolygonShape2D" id=8]
points = PoolVector2Array( 57.9385, 64, 0, 64, 0, 0, 58.1323, 0 )

[sub_resource type="ConvexPolygonShape2D" id=9]
points = PoolVector2Array( 6.08595, 0, 64, 0, 64, 64, 5.89214, 64 )

[sub_resource type="ConvexPolygonShape2D" id=10]
points = PoolVector2Array( 64, 57.9385, 0, 58.1323, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=11]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=16]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=17]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=18]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=19]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=20]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=21]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=22]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=23]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=24]
points = PoolVector2Array( 27.3148, 6.27084, 37.3617, 6.3755, 58.2928, 27.8648, 58.0137, 36.7954, 37.0826, 58.2847, 27.5938, 58.2847, 6.10455, 36.5163, 6.38361, 26.7485 )

[sub_resource type="ConvexPolygonShape2D" id=25]
points = PoolVector2Array( 64, 0, 64, 64, 5.0731, 63.9027, 0, 59.2514, 0, 0 )

[sub_resource type="ConvexPolygonShape2D" id=26]
points = PoolVector2Array( 64, 0, 64, 64, 0, 64, 0, 5.32932, 5.0731, 0 )

[sub_resource type="ConvexPolygonShape2D" id=27]
points = PoolVector2Array( 64, 64, 0, 64, 0, 0, 58.4137, 0, 64, 5.1355 )

[sub_resource type="ConvexPolygonShape2D" id=28]
points = PoolVector2Array( 64, 58.0885, 58.2823, 64, 6.14835, 64, 6.14835, 27.4671, 27.2733, 5.95453, 64, 5.95453 )

[sub_resource type="ConvexPolygonShape2D" id=29]
points = PoolVector2Array( 64, 58.2823, 0, 58.2823, 0, 6.14835, 64, 6.34213 )

[sub_resource type="ConvexPolygonShape2D" id=30]
points = PoolVector2Array( 0, 6.14835, 36.876, 6.14835, 58.1947, 27.2733, 58.0009, 64, 5.86694, 64, 0, 58.2823 )

[sub_resource type="ConvexPolygonShape2D" id=31]
points = PoolVector2Array( 58.0009, 64, 6.25452, 64, 6.25452, 0, 58.0009, 0 )

[sub_resource type="ConvexPolygonShape2D" id=32]
points = PoolVector2Array( 58.0009, 0, 58.0009, 36.6822, 36.4884, 58.1947, 0, 58.0009, 0, 6.06073, 6.25452, 0.246521 )

[sub_resource type="ConvexPolygonShape2D" id=33]
points = PoolVector2Array( 64, 58.0009, 0, 58.1947, 0, 6.25452, 64, 6.25452 )

[sub_resource type="ConvexPolygonShape2D" id=34]
points = PoolVector2Array( 57.8947, 0, 64, 6.61792, 64, 57.9767, 27.2733, 57.9767, 5.95453, 36.4641, 5.95453, 0 )

[sub_resource type="ConvexPolygonShape2D" id=35]
points = PoolVector2Array( 58.0885, 64, 5.95453, 64, 5.95453, 0, 57.8947, 0 )

[sub_resource type="ConvexPolygonShape2D" id=36]
points = PoolVector2Array( 64, 58.6942, 58.6075, 64, 0, 64, 0, 0, 64, 0 )

[sub_resource type="ConvexPolygonShape2D" id=37]
points = PoolVector2Array( 6.19214, 64, 5.99834, 26.8419, 27.5109, 5.52313, 36.8136, 5.71692, 57.9385, 27.2295, 57.9385, 64 )

[sub_resource type="ConvexPolygonShape2D" id=38]
points = PoolVector2Array( 58.1323, 0, 58.1323, 64, 5.80453, 64, 0, 58.7761, 0, 6.06073, 5.99835, 0 )

[sub_resource type="ConvexPolygonShape2D" id=39]
points = PoolVector2Array( 64, 58.7761, 58.9514, 64, 6.04215, 64, 0, 57.6133, 0, 5.86691, 64, 6.06073 )

[sub_resource type="ConvexPolygonShape2D" id=40]
points = PoolVector2Array( 64, 57.6133, 26.6295, 57.6133, 5.69833, 36.876, 5.89214, 27.5733, 27.2109, 6.06073, 64, 6.06073 )

[sub_resource type="ConvexPolygonShape2D" id=41]
points = PoolVector2Array( 58.3699, 0, 64, 5.2417, 64, 57.9571, 59.1452, 63.7713, 5.84834, 64, 6.42976, 0 )

[sub_resource type="ConvexPolygonShape2D" id=42]
points = PoolVector2Array( 6.23596, 0, 57.7885, 0, 57.9823, 36.4008, 36.4698, 58.1071, 27.1671, 58.1071, 6.04214, 36.0132 )

[sub_resource type="ConvexPolygonShape2D" id=43]
points = PoolVector2Array( 57.7447, 0, 64, 6.01691, 64, 57.9571, 0, 58.1509, 0, 5.43549, 5.41693, 0 )

[sub_resource type="ConvexPolygonShape2D" id=44]
points = PoolVector2Array( 0.527954, 6.21072, 36.576, 6.21072, 58.0885, 27.7233, 58.0885, 36.4445, 36.3822, 58.1509, 0, 57.7633 )

[resource]
0/name = "Tileset.png 0"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 424, 387, 273, 47 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape_one_way = false
0/shape_one_way_margin = 0.0
0/shapes = [ ]
0/z_index = 0
1/name = "Tileset.png 1"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 0, 0, 384, 512 )
1/tile_mode = 1
1/autotile/bitmask_mode = 1
1/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 187, Vector2( 0, 4 ), 250, Vector2( 0, 5 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 190, Vector2( 1, 4 ), 442, Vector2( 1, 5 ), 184, Vector2( 1, 6 ), 178, Vector2( 1, 7 ), 18, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 4 ), 144, Vector2( 2, 5 ), 154, Vector2( 2, 6 ), 58, Vector2( 3, 0 ), 255, Vector2( 3, 1 ), 219, Vector2( 3, 2 ), 507, Vector2( 3, 3 ), 176, Vector2( 3, 4 ), 146, Vector2( 3, 5 ), 50, Vector2( 3, 6 ), 24, Vector2( 4, 0 ), 63, Vector2( 4, 1 ), 16, Vector2( 4, 2 ), 504, Vector2( 4, 3 ), 56, Vector2( 4, 5 ), 56, Vector2( 5, 0 ), 447, Vector2( 5, 1 ), 438, Vector2( 5, 2 ), 510, Vector2( 5, 3 ), 152, Vector2( 5, 4 ), 146, Vector2( 5, 5 ), 26 ]
1/autotile/icon_coordinate = Vector2( 1, 1 )
1/autotile/tile_size = Vector2( 64, 64 )
1/autotile/spacing = 0
1/autotile/occluder_map = [ ]
1/autotile/navpoly_map = [ ]
1/autotile/priority_map = [ ]
1/autotile/z_index_map = [ ]
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape = SubResource( 3 )
1/shape_one_way = false
1/shape_one_way_margin = 1.0
1/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 3 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 4 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 7 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 8 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 10 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 11 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 16 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 17 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 18 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 19 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 20 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 21 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 22 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 23 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 24 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 25 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 26 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 27 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 28 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 29 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 30 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 31 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 5 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 32 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 5 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 33 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 5 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 34 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 35 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 36 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 37 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 5 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 38 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 5 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 39 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 5 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 40 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 6 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 41 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 7 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 42 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 6 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 43 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 6 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 44 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 0

+ 3
- 2
Data/Objects/Liquid.tscn Datei anzeigen

@@ -4,7 +4,8 @@
[ext_resource path="res://Data/Graphics/placeholder.png" type="Texture" id=2]
[ext_resource path="res://Data/Shaders/Liquid.shader" type="Shader" id=3]

[sub_resource type="ShaderMaterial" id=1]
[sub_resource type="ShaderMaterial" id=7]
resource_local_to_scene = true
shader = ExtResource( 3 )
shader_param/sprite_scale = Vector2( 2.96, 1 )
shader_param/distortion = 16.265
@@ -39,7 +40,7 @@ scale_curve = SubResource( 4 )
color = Color( 0.576471, 0.760784, 0.996078, 1 )

[node name="Liquid" type="Sprite"]
material = SubResource( 1 )
material = SubResource( 7 )
texture = ExtResource( 2 )
script = ExtResource( 1 )


+ 18
- 90
Data/Scenes/World.tscn Datei anzeigen

@@ -1,93 +1,34 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=6 format=2]

[ext_resource path="res://Data/Objects/PulseArrow.tscn" type="PackedScene" id=1]
[ext_resource path="res://Data/Objects/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://Data/Objects/Liquid.tscn" type="PackedScene" id=3]
[ext_resource path="res://Data/Graphics/placeholder.png" type="Texture" id=4]
[ext_resource path="res://Data/Objects/BladeSaw.tscn" type="PackedScene" id=5]
[ext_resource path="res://Data/Toggler.gd" type="Script" id=6]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 32, 32 )

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 32, 32 )
[ext_resource path="res://Data/Misc/Tileset.tres" type="TileSet" id=7]

[node name="World" type="Node2D"]

[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 83.8801, 47.7922 )

[node name="Ground" type="Node2D" parent="."]

[node name="StaticBody2D" type="StaticBody2D" parent="Ground"]
position = Vector2( 60.061, 218.684 )
collision_layer = 2
collision_mask = 5

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/StaticBody2D"]
shape = SubResource( 1 )

[node name="Sprite" type="Sprite" parent="Ground/StaticBody2D"]
self_modulate = Color( 0, 0, 0, 1 )
texture = ExtResource( 4 )

[node name="StaticBody2D2" type="StaticBody2D" parent="Ground"]
position = Vector2( 117.555, 225.357 )
collision_layer = 2
collision_mask = 5

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/StaticBody2D2"]
shape = SubResource( 1 )

[node name="Sprite" type="Sprite" parent="Ground/StaticBody2D2"]
self_modulate = Color( 0, 0, 0, 1 )
texture = ExtResource( 4 )

[node name="StaticBody2D3" type="StaticBody2D" parent="Ground"]
position = Vector2( 165.809, 209.444 )
collision_layer = 2
collision_mask = 5

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/StaticBody2D3"]
shape = SubResource( 1 )

[node name="Sprite" type="Sprite" parent="Ground/StaticBody2D3"]
self_modulate = Color( 0, 0, 0, 1 )
texture = ExtResource( 4 )

[node name="StaticBody2D4" type="StaticBody2D" parent="Ground"]
position = Vector2( 352.586, 167.485 )
collision_layer = 2
collision_mask = 5

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/StaticBody2D4"]
shape = SubResource( 1 )

[node name="Sprite" type="Sprite" parent="Ground/StaticBody2D4"]
self_modulate = Color( 0, 0, 0, 1 )
texture = ExtResource( 4 )

[node name="Blue Barrier" type="StaticBody2D" parent="Ground"]
position = Vector2( 258.724, 168.376 )
rotation = -0.303533
scale = Vector2( 2.16, 0.400001 )
collision_layer = 4096
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Blue Barrier"]
shape = SubResource( 1 )

[node name="Sprite" type="Sprite" parent="Ground/Blue Barrier"]
modulate = Color( 0.380392, 0.54902, 1, 1 )
texture = ExtResource( 4 )
[node name="Liquid2" parent="." instance=ExtResource( 3 )]
position = Vector2( -127.435, 105.962 )
scale = Vector2( 2.35979, 1.50659 )
liquid_body_color = Color( 0.517647, 0.145098, 0.145098, 1 )
liquid_surface_color = Color( 0.984314, 0.478431, 0.490196, 1 )

[node name="Liquid" parent="." instance=ExtResource( 3 )]
position = Vector2( 109.92, 197.289 )
scale = Vector2( 2.96, 1 )
position = Vector2( 539.108, -23.1772 )
scale = Vector2( 1.66713, 1.11691 )
liquid_body_color = Color( 0.180908, 0.250748, 0.8125, 1 )
liquid_surface_color = Color( 0.576471, 0.760784, 0.996078, 1 )

[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 7 )
collision_layer = 2
format = 1
tile_data = PoolIntArray( -327678, 1, 196611, -327677, 1, 327684, -327676, 1, 327684, -327675, 1, 327684, -327674, 1, 327684, -327673, 1, 196612, -327672, 1, 196612, -327671, 1, 327684, -327670, 1, 196613, -262142, 1, 458753, -262134, 1, 262149, -131081, 1, 0, -131080, 1, 1, -131079, 1, 65537, -131078, 1, 327684, -131077, 1, 327684, -131076, 1, 327684, -131075, 1, 327684, -131074, 1, 196612, -131073, 1, 393219, -196598, 1, 262149, -65545, 1, 65536, -65544, 1, 65537, -65543, 1, 65539, -131063, 1, 0, -131062, 1, 65537, -9, 1, 65541, -8, 1, 65537, -7, 1, 65539, -65529, 1, 262146, -65527, 1, 65536, -65526, 1, 65538, 65527, 1, 131072, 65528, 1, 65537, 65529, 1, 131074, 65532, 1, 262146, 65535, 1, 262146, 7, 1, 327683, 8, 1, 327684, 9, 1, 196609, 10, 1, 65539, 131064, 1, 262147, 131068, 1, 262149, 131071, 1, 262147, 65545, 1, 65536, 65546, 1, 65538, 196600, 1, 262149, 196602, 1, 0, 196603, 1, 1, 196604, 1, 65537, 196605, 1, 131076, 196606, 1, 131076, 196607, 1, 65537, 131081, 1, 131072, 131082, 1, 65537, 262136, 1, 262147, 262138, 1, 131072, 262139, 1, 4, 262140, 1, 65537, 262141, 1, 4, 262142, 1, 4, 262143, 1, 131074, 196618, 1, 262147, 327672, 1, 262147, 327676, 1, 262147, 262154, 1, 262149, 393208, 1, 327683, 393209, 1, 196612, 393210, 1, 196612, 393211, 1, 196612, 393212, 1, 393218, 393213, 1, 327684, 393214, 1, 393219, 327683, 1, 327680, 327684, 1, 196612, 327685, 1, 196612, 327686, 1, 327684, 327687, 1, 196612, 327688, 1, 196612, 327689, 1, 196612, 327690, 1, 327685 )

[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( -32.4329, -11.6956 )

[node name="PulseArrow" parent="." instance=ExtResource( 1 )]
position = Vector2( 250.511, 119.095 )
scale = Vector2( 0.1, 0.1 )
@@ -95,16 +36,3 @@ pulse_color = Color( 0.356863, 0.960784, 0.211765, 1 )

[node name="BladeSaw" parent="." instance=ExtResource( 5 )]
position = Vector2( 271.339, 28.5271 )

[node name="Toggler" type="Node2D" parent="."]
script = ExtResource( 6 )

[node name="Area2D" type="Area2D" parent="Toggler"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Toggler/Area2D"]
shape = SubResource( 2 )

[node name="Sprite" type="Sprite" parent="Toggler"]
modulate = Color( 0.996078, 0.815686, 0.815686, 1 )
texture = ExtResource( 4 )
[connection signal="body_entered" from="Toggler/Area2D" to="Toggler" method="_on_Area2D_body_entered"]

Laden…
Abbrechen
Speichern