mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Removed test tiles and tilesets.
This commit is contained in:
parent
2ebb5ee8d9
commit
325d16b587
@ -1,9 +0,0 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://scenes/World.gd" type="Script" id=1]
|
|
||||||
[ext_resource path="res://world/WorldLayer.tscn" type="PackedScene" id=2]
|
|
||||||
|
|
||||||
[node name="World" type="Node2D" groups=["save"]]
|
|
||||||
scale = Vector2( 1, 0.706 )
|
|
||||||
script = ExtResource( 1 )
|
|
||||||
world_layer = ExtResource( 2 )
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,145 +0,0 @@
|
|||||||
[gd_resource type="RTileSet" load_steps=2 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://test_iso_tileset/test_tiles.png" type="Texture" id=1]
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
0/name = "t3"
|
|
||||||
0/texture = ExtResource( 1 )
|
|
||||||
0/tex_offset = Vector2( 0, 0 )
|
|
||||||
0/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
0/region = Rect2( 106, 15, 52, 27 )
|
|
||||||
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 = "t2"
|
|
||||||
1/texture = ExtResource( 1 )
|
|
||||||
1/tex_offset = Vector2( 0, 0 )
|
|
||||||
1/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
1/region = Rect2( 47, 8, 44, 23 )
|
|
||||||
1/tile_mode = 0
|
|
||||||
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_one_way = false
|
|
||||||
1/shape_one_way_margin = 0.0
|
|
||||||
1/shapes = [ ]
|
|
||||||
1/z_index = 0
|
|
||||||
2/name = "t1"
|
|
||||||
2/texture = ExtResource( 1 )
|
|
||||||
2/tex_offset = Vector2( 0, 0 )
|
|
||||||
2/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
2/region = Rect2( 1, 2, 32, 17 )
|
|
||||||
2/tile_mode = 0
|
|
||||||
2/occluder_offset = Vector2( 0, 0 )
|
|
||||||
2/navigation_offset = Vector2( 0, 0 )
|
|
||||||
2/shape_offset = Vector2( 0, 0 )
|
|
||||||
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
2/shape_one_way = false
|
|
||||||
2/shape_one_way_margin = 0.0
|
|
||||||
2/shapes = [ ]
|
|
||||||
2/z_index = 0
|
|
||||||
3/name = "test_tiles.png 3"
|
|
||||||
3/texture = ExtResource( 1 )
|
|
||||||
3/tex_offset = Vector2( 0, 0 )
|
|
||||||
3/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
3/region = Rect2( 59, 39, 46, 25 )
|
|
||||||
3/tile_mode = 0
|
|
||||||
3/occluder_offset = Vector2( 0, 0 )
|
|
||||||
3/navigation_offset = Vector2( 0, 0 )
|
|
||||||
3/shape_offset = Vector2( 0, 0 )
|
|
||||||
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
3/shape_one_way = false
|
|
||||||
3/shape_one_way_margin = 0.0
|
|
||||||
3/shapes = [ ]
|
|
||||||
3/z_index = 0
|
|
||||||
4/name = "test_tiles.png 4"
|
|
||||||
4/texture = ExtResource( 1 )
|
|
||||||
4/tex_offset = Vector2( 0, 0 )
|
|
||||||
4/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
4/region = Rect2( 129, 91, 47, 27 )
|
|
||||||
4/tile_mode = 0
|
|
||||||
4/occluder_offset = Vector2( 0, 0 )
|
|
||||||
4/navigation_offset = Vector2( 0, 0 )
|
|
||||||
4/shape_offset = Vector2( 0, 0 )
|
|
||||||
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
4/shape_one_way = false
|
|
||||||
4/shape_one_way_margin = 0.0
|
|
||||||
4/shapes = [ ]
|
|
||||||
4/z_index = 0
|
|
||||||
5/name = "test_tiles.png 5"
|
|
||||||
5/texture = ExtResource( 1 )
|
|
||||||
5/tex_offset = Vector2( 0, 0 )
|
|
||||||
5/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
5/region = Rect2( 135, 137, 47, 25 )
|
|
||||||
5/tile_mode = 0
|
|
||||||
5/occluder_offset = Vector2( 0, 0 )
|
|
||||||
5/navigation_offset = Vector2( 0, 0 )
|
|
||||||
5/shape_offset = Vector2( 0, 0 )
|
|
||||||
5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
5/shape_one_way = false
|
|
||||||
5/shape_one_way_margin = 0.0
|
|
||||||
5/shapes = [ ]
|
|
||||||
5/z_index = 0
|
|
||||||
6/name = "test_tiles.png 6"
|
|
||||||
6/texture = ExtResource( 1 )
|
|
||||||
6/tex_offset = Vector2( 0, 0 )
|
|
||||||
6/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
6/region = Rect2( 179, 111, 50, 28 )
|
|
||||||
6/tile_mode = 0
|
|
||||||
6/occluder_offset = Vector2( 0, 0 )
|
|
||||||
6/navigation_offset = Vector2( 0, 0 )
|
|
||||||
6/shape_offset = Vector2( 0, 0 )
|
|
||||||
6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
6/shape_one_way = false
|
|
||||||
6/shape_one_way_margin = 0.0
|
|
||||||
6/shapes = [ ]
|
|
||||||
6/z_index = 0
|
|
||||||
7/name = "test_tiles.png 7"
|
|
||||||
7/texture = ExtResource( 1 )
|
|
||||||
7/tex_offset = Vector2( 0, 0 )
|
|
||||||
7/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
7/region = Rect2( 167, 165, 48, 27 )
|
|
||||||
7/tile_mode = 0
|
|
||||||
7/occluder_offset = Vector2( 0, 0 )
|
|
||||||
7/navigation_offset = Vector2( 0, 0 )
|
|
||||||
7/shape_offset = Vector2( 0, 0 )
|
|
||||||
7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
7/shape_one_way = false
|
|
||||||
7/shape_one_way_margin = 0.0
|
|
||||||
7/shapes = [ ]
|
|
||||||
7/z_index = 0
|
|
||||||
8/name = "test_tiles.png 8"
|
|
||||||
8/texture = ExtResource( 1 )
|
|
||||||
8/tex_offset = Vector2( 0, 0 )
|
|
||||||
8/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
8/region = Rect2( 123, 186, 48, 27 )
|
|
||||||
8/tile_mode = 0
|
|
||||||
8/occluder_offset = Vector2( 0, 0 )
|
|
||||||
8/navigation_offset = Vector2( 0, 0 )
|
|
||||||
8/shape_offset = Vector2( 0, 0 )
|
|
||||||
8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
8/shape_one_way = false
|
|
||||||
8/shape_one_way_margin = 0.0
|
|
||||||
8/shapes = [ ]
|
|
||||||
8/z_index = 0
|
|
||||||
9/name = "test_tiles.png 9"
|
|
||||||
9/texture = ExtResource( 1 )
|
|
||||||
9/tex_offset = Vector2( 0, 0 )
|
|
||||||
9/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
9/region = Rect2( 205, 187, 50, 29 )
|
|
||||||
9/tile_mode = 0
|
|
||||||
9/occluder_offset = Vector2( 0, 0 )
|
|
||||||
9/navigation_offset = Vector2( 0, 0 )
|
|
||||||
9/shape_offset = Vector2( 0, 0 )
|
|
||||||
9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
9/shape_one_way = false
|
|
||||||
9/shape_one_way_margin = 0.0
|
|
||||||
9/shapes = [ ]
|
|
||||||
9/z_index = 0
|
|
Binary file not shown.
Before Width: | Height: | Size: 34 KiB |
@ -1,35 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/test_tiles.png-5a88da34746bccf98b2c562f5067716b.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://test_iso_tileset/test_tiles.png"
|
|
||||||
dest_files=[ "res://.import/test_tiles.png-5a88da34746bccf98b2c562f5067716b.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=1
|
|
||||||
flags/filter=false
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=false
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=false
|
|
||||||
svg/scale=1.0
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
@ -1,35 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/tiles.png-5d675a2fb09e0df27dbb24e34fa9fb00.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://tilesets/tiles.png"
|
|
||||||
dest_files=[ "res://.import/tiles.png-5d675a2fb09e0df27dbb24e34fa9fb00.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=false
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=false
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=false
|
|
||||||
svg/scale=1.0
|
|
@ -1,65 +0,0 @@
|
|||||||
[gd_resource type="RTileSet" load_steps=6 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://tilesets/tiles.png" type="Texture" id=1]
|
|
||||||
|
|
||||||
[sub_resource type="NavigationPolygon" id=1]
|
|
||||||
vertices = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
|
|
||||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
|
||||||
|
|
||||||
[sub_resource type="NavigationPolygon" id=2]
|
|
||||||
vertices = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
|
|
||||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
|
||||||
|
|
||||||
[sub_resource type="NavigationPolygon" id=3]
|
|
||||||
vertices = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 )
|
|
||||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
|
||||||
|
|
||||||
[sub_resource type="FastnoiseNoiseParams" id=4]
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
noise = SubResource( 4 )
|
|
||||||
0/name = "Grass"
|
|
||||||
0/texture = ExtResource( 1 )
|
|
||||||
0/tex_offset = Vector2( 0, 0 )
|
|
||||||
0/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
0/region = Rect2( 32, 32, 32, 32 )
|
|
||||||
0/tile_mode = 0
|
|
||||||
0/occluder_offset = Vector2( 0, 0 )
|
|
||||||
0/navigation_offset = Vector2( 0, 0 )
|
|
||||||
0/navigation = SubResource( 1 )
|
|
||||||
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 = "Grass Variant"
|
|
||||||
1/texture = ExtResource( 1 )
|
|
||||||
1/tex_offset = Vector2( 0, 0 )
|
|
||||||
1/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
1/region = Rect2( 96, 0, 32, 32 )
|
|
||||||
1/tile_mode = 0
|
|
||||||
1/occluder_offset = Vector2( 0, 0 )
|
|
||||||
1/navigation_offset = Vector2( 0, 0 )
|
|
||||||
1/navigation = SubResource( 2 )
|
|
||||||
1/shape_offset = Vector2( 0, 0 )
|
|
||||||
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
1/shape_one_way = false
|
|
||||||
1/shape_one_way_margin = 0.0
|
|
||||||
1/shapes = [ ]
|
|
||||||
1/z_index = 0
|
|
||||||
2/name = "Grass Variant 2"
|
|
||||||
2/texture = ExtResource( 1 )
|
|
||||||
2/tex_offset = Vector2( 0, 0 )
|
|
||||||
2/modulate = Color( 1, 1, 1, 1 )
|
|
||||||
2/region = Rect2( 96, 32, 32, 32 )
|
|
||||||
2/tile_mode = 0
|
|
||||||
2/occluder_offset = Vector2( 0, 0 )
|
|
||||||
2/navigation_offset = Vector2( 0, 0 )
|
|
||||||
2/navigation = SubResource( 3 )
|
|
||||||
2/shape_offset = Vector2( 0, 0 )
|
|
||||||
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
||||||
2/shape_one_way = false
|
|
||||||
2/shape_one_way_margin = 0.0
|
|
||||||
2/shapes = [ ]
|
|
||||||
2/z_index = 0
|
|
@ -1,31 +0,0 @@
|
|||||||
extends Navigation2D
|
|
||||||
|
|
||||||
# Copyright (c) 2019 Péter Magyar
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in all
|
|
||||||
# copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
# SOFTWARE.
|
|
||||||
|
|
||||||
var collision_layer : int
|
|
||||||
|
|
||||||
func add_entity(entity : Entity) -> void:
|
|
||||||
entity.owner = self
|
|
||||||
entity.collision_layer = collision_layer
|
|
||||||
|
|
||||||
|
|
||||||
func get_collision_layer() -> int:
|
|
||||||
return collision_layer
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user