Level 1/2

Polish
This commit is contained in:
Sagi Dayan 2020-11-26 15:58:23 -05:00
parent 81bdc04ecb
commit 03596b833e
3 changed files with 86 additions and 8 deletions

View file

@ -0,0 +1,37 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Tiles/tileset.png" type="Texture" id=1]
[sub_resource type="TileSet" id=35]
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( 0, 0, 96, 48 )
0/tile_mode = 1
0/autotile/bitmask_mode = 0
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 256, Vector2( 0, 1 ), 260, Vector2( 0, 2 ), 4, Vector2( 1, 0 ), 320, Vector2( 1, 1 ), 325, Vector2( 1, 2 ), 5, Vector2( 2, 0 ), 64, Vector2( 2, 1 ), 65, Vector2( 2, 2 ), 1, Vector2( 3, 0 ), 69, Vector2( 3, 1 ), 65, Vector2( 3, 2 ), 321, Vector2( 4, 0 ), 5, Vector2( 4, 2 ), 320, Vector2( 5, 0 ), 261, Vector2( 5, 1 ), 260, Vector2( 5, 2 ), 324 ]
0/autotile/icon_coordinate = Vector2( 1, 0 )
0/autotile/tile_size = Vector2( 16, 16 )
0/autotile/spacing = 0
0/autotile/occluder_map = [ ]
0/autotile/navpoly_map = [ ]
0/autotile/priority_map = [ ]
0/autotile/z_index_map = [ ]
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
[node name="FakeSolidsTileMap" type="TileMap"]
z_index = 10
tile_set = SubResource( 35 )
cell_size = Vector2( 16, 16 )
collision_layer = 9
collision_mask = 0
occluder_light_mask = 8
format = 1

File diff suppressed because one or more lines are too long

View file

@ -3,6 +3,8 @@
[ext_resource path="res://assets/Tiles/spikes-sheet.png" type="Texture" id=1] [ext_resource path="res://assets/Tiles/spikes-sheet.png" type="Texture" id=1]
[ext_resource path="res://src/Hazards/SpikeTrap.gd" type="Script" id=2] [ext_resource path="res://src/Hazards/SpikeTrap.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1] [sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 5, 8 ) extents = Vector2( 5, 8 )