Merge pull request 'develop' (#10) from develop into master

Reviewed-on: #10
This commit is contained in:
Chris Cromer 2022-04-16 20:05:31 -04:00
commit b6a8177f49
28 changed files with 559 additions and 574 deletions

2
.gitignore vendored
View File

@ -40,3 +40,5 @@ compile_commands.json
# docs
docs/
# tiled session files
*.tiled-session

View File

@ -1,9 +1,8 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Main.gdns" type="Script" id=1]
[ext_resource path="res://Level1.tscn" type="PackedScene" id=2]
[ext_resource path="res://levels/Prototype.tscn" type="PackedScene" id=2]
[node name="Main" type="Node"]
script = ExtResource( 1 )
[node name="Level1" parent="." instance=ExtResource( 2 )]
level = ExtResource( 2 )

View File

@ -84,6 +84,11 @@ func get_import_options(preset):
"default_value": 1,
"property_hint": PROPERTY_HINT_LAYERS_2D_PHYSICS
},
{
"name": "collision_mask",
"default_value": 1,
"property_hint": PROPERTY_HINT_LAYERS_2D_PHYSICS
},
{
"name": "embed_internal_images",
"default_value": true if preset == PRESET_PIXEL_ART else false

View File

@ -231,6 +231,7 @@ func make_layer(layer, parent, root, data):
tilemap.cell_y_sort = true
tilemap.cell_tile_origin = TileMap.TILE_ORIGIN_BOTTOM_LEFT
tilemap.collision_layer = options.collision_layer
tilemap.collision_mask = options.collision_mask
tilemap.z_index = z_index
var offset = Vector2()
@ -280,7 +281,7 @@ func make_layer(layer, parent, root, data):
var gid = int_id & ~(FLIPPED_HORIZONTALLY_FLAG | FLIPPED_VERTICALLY_FLAG | FLIPPED_DIAGONALLY_FLAG)
var cell_x = cell_offset.x + chunk.x + (count % int(chunk.width))
var cell_y = cell_offset.y + chunk.y + int(count / chunk.width)
var cell_y = cell_offset.y + chunk.y + int(count / chunk.width) + 1
tilemap.set_cell(cell_x, cell_y, gid, flipped_h, flipped_v, flipped_d)
count += 1
@ -1047,13 +1048,19 @@ func is_convex(vertices):
return true
# Decompress the data of the layer
# Compression argument is a string, either "gzip" or "zlib"
# Compression argument is a string, either "gzip", "zlib", or "zstd"
func decompress_layer_data(layer_data, compression, map_size):
if compression != "gzip" and compression != "zlib":
var compression_type = -1
match compression:
"zlib":
compression_type = File.COMPRESSION_DEFLATE
"gzip":
compression_type = File.COMPRESSION_GZIP
"zstd":
compression_type = File.COMPRESSION_ZSTD
_:
print_error("Unrecognized compression format: %s" % [compression])
return ERR_INVALID_DATA
var compression_type = File.COMPRESSION_DEFLATE if compression == "zlib" else File.COMPRESSION_GZIP
var expected_size = int(map_size.x) * int(map_size.y) * 4
var raw_data = Marshalls.base64_to_raw(layer_data).decompress(expected_size, compression_type)
@ -1220,7 +1227,7 @@ func validate_layer(layer):
print_error("Invalid data layer property.")
return ERR_INVALID_DATA
if "compression" in layer:
if layer.compression != "gzip" and layer.compression != "zlib":
if layer.compression != "gzip" and layer.compression != "zlib" and layer.compression != "zstd":
print_error("Invalid compression type.")
return ERR_INVALID_DATA
"imagelayer":

10
godot/camera_fix.gd Normal file
View File

@ -0,0 +1,10 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
var used_rect = get_node("Middleground").get_used_rect()
var bounds = Vector2(used_rect.position.x + used_rect.size.x, used_rect.position.y + used_rect.size.y - 1)
var camera : Camera2D = $"../../Player/Camera2D"
camera.limit_right = bounds.x * get_node("Middleground").cell_size.x
camera.limit_bottom = bounds.y * get_node("Middleground").cell_size.y

View File

@ -12,6 +12,7 @@
extents = Vector2( 7, 12 )
[node name="Player" type="KinematicBody2D"]
collision_mask = 2
script = ExtResource( 5 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]

View File

@ -1,285 +0,0 @@
{
"Map/SizeTest": {
"height": 4300,
"width": 2
},
"activeFile": "levels/level01.tmx",
"expandedProjectPaths": [
"tilesets",
"levels",
".",
"parallax"
],
"exportAsImage.useCurrentScale": false,
"file.lastUsedOpenFilter": "All Files (*)",
"fileStates": {
"": {
"scaleInDock": 1
},
"#backgrounds": {
"scaleInDock": 1
},
"/home/cromer/projects/edx/games/azaraka/misc/new-graphics/tf_darkdimension_updated2020/RMMV/tf_dd_B_3.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/home/cromer/projects/edx/games/azaraka/misc/new-graphics/tf_darkdimension_updated2020/dd_waterfall_sheet.tsx": {
"scaleInDock": 1,
"scaleInEditor": 2
},
"/home/cromer/projects/edx/games/azaraka/misc/new-graphics/tf_darkdimension_updated2020/tf_darkdimension_sheet.tsx": {
"scaleInDock": 2,
"scaleInEditor": 2
},
"/home/cromer/projects/edx/games/azaraka/misc/new-graphics/tf_darkdimension_updated2020/untitled.tmx": {
"scale": 2,
"selectedLayer": 3,
"viewCenter": {
"x": 465.75,
"y": 233.5
}
},
"/home/cromer/tilemaps/Dungeon.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/home/cromer/tilemaps/Grassland.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/home/cromer/tilemaps/dungeon_entrance.tmx": {
"scale": 0.53140625,
"selectedLayer": 0,
"viewCenter": {
"x": 902.3228462216996,
"y": 825.1690679211997
}
},
"/home/cromer/tilemaps/untitled.tmx": {
"scale": 0.53140625,
"selectedLayer": 1,
"viewCenter": {
"x": 798.8238753307851,
"y": 798.8238753307851
}
},
"/mnt/data/godot/projects/Azaraka/maps/cloud_city.tsx": {
"scaleInDock": 0.5
},
"/mnt/data/godot/projects/Azaraka/maps/dungeon1.tmx": {
"scale": 0.75,
"selectedLayer": 0,
"viewCenter": {
"x": 1209.3333333333333,
"y": 672
}
},
"/mnt/data/godot/projects/Azaraka/maps/shadowset.tsx": {
"scaleInDock": 1
},
"/mnt/data/godot/projects/Azaraka/maps/terrain.tsx": {
"scaleInDock": 0.75
},
"/mnt/data/godot/projects/Azaraka/maps/worldmap.tmx": {
"scale": 0.03125,
"selectedLayer": 0,
"viewCenter": {
"x": 10496,
"y": 2592
}
},
"/mnt/data/godot/projects/Azaraka/maps/worldmap.tsx": {
"scaleInDock": 0.33
},
"/mnt/data/godot/projects/Platformer/asset/spritesheet_ground.tsx": {
"scaleInDock": 0.125,
"scaleInEditor": 0.75
},
"/mnt/data/godot/projects/Platformer/asset/world.tmx": {
"scale": 0.5,
"selectedLayer": 0,
"viewCenter": {
"x": 1326,
"y": 1210
}
},
"/mnt/data/godot/projects/Platformer/asset/world1.tmx": {
"scale": 0.5714843749999999,
"selectedLayer": 0,
"viewCenter": {
"x": 640.4374572795626,
"y": 640.4374572795626
}
},
"/mnt/data/projects/edx/games/azaraka/maps/tilesets/grassland_shadows.tsx": {
"scaleInDock": 1
},
"/mnt/data/projects/edx/games/azaraka/maps/tilesets/grassland_spring.tsx": {
"scaleInDock": 1
},
"/mnt/data/projects/edx/games/azaraka/maps/tilesets/grassland_spring_water.tsx": {
"scaleInDock": 1
},
"/mnt/data/projects/edx/games/azaraka/maps/tilesets/grassland_spring_waterfall.tsx": {
"scaleInDock": 1
},
"/mnt/data/projects/edx/games/project/graphics/dungeon.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1.5
},
"/mnt/data/projects/edx/games/project/graphics/dungeon_entrance.tmx": {
"scale": 1,
"selectedLayer": 3,
"viewCenter": {
"x": 320,
"y": 175.5
}
},
"/mnt/data/projects/edx/games/project/graphics/flame.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/graphics/grassland.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/graphics/house.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/graphics/town.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/maps/dungeon.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/maps/dungeon/dungeon.tsx": {
"scaleInDock": 1
},
"/mnt/data/projects/edx/games/project/maps/dungeon/entrance.tmx": {
"scale": 1.3329687499999998,
"selectedLayer": 4,
"viewCenter": {
"x": 320.3375923103974,
"y": 176.67330910795923
}
},
"/mnt/data/projects/edx/games/project/maps/dungeon/entrance.tmx#dungeon": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/maps/entrance.tmx": {
"scale": 1.3332386363636362,
"selectedLayer": 4,
"viewCenter": {
"x": 292.89580225868315,
"y": 116.25825697847861
}
},
"/mnt/data/projects/edx/games/project/maps/grassland.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1.5
},
"/mnt/data/projects/edx/games/project/maps/outside_entrance.tmx": {
"scale": 1.3332386363636362,
"selectedLayer": 0,
"viewCenter": {
"x": 320.64777327935224,
"y": -69.00490091625824
}
},
"/mnt/data/projects/edx/games/project/maps/tilesets/dungeon.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"/mnt/data/projects/edx/games/project/maps/tilesets/grassland.tsx": {
"scaleInDock": 1,
"scaleInEditor": 1
},
"levels/level01.tmx": {
"scale": 0.75,
"selectedLayer": 1,
"viewCenter": {
"x": 544,
"y": 248
}
},
"parallax/clouds.tmx": {
"scale": 0.9252604166666667,
"selectedLayer": 0,
"viewCenter": {
"x": 264.790318041092,
"y": 384.7565437658316
}
},
"parallax/hills.tmx": {
"scale": 0.9252604166666667,
"selectedLayer": 0,
"viewCenter": {
"x": 264.790318041092,
"y": 384.7565437658316
}
},
"parallax/snow.tmx": {
"scale": 0.9252604166666667,
"selectedLayer": 0,
"viewCenter": {
"x": 264.790318041092,
"y": 384.7565437658316
}
},
"tilesets/backgrounds.tsx": {
"scaleInDock": 3,
"scaleInEditor": 4
},
"tilesets/tiles.tsx": {
"scaleInDock": 2,
"scaleInEditor": 2
}
},
"frame.defaultDuration": 300,
"last.exportedFilePath": "/mnt/data/godot/projects/Platformer",
"last.imagePath": "/mnt/data/godot/projects/juego/godot/assets/backgrounds",
"lastUsedTilesetExportFilter": "Godot Tileset format (*.tres)",
"loadedWorlds": [
"/home/cromer/projects/edx/games/project/maps/azaraka"
],
"map.fixedSize": true,
"map.height": 12,
"map.lastUsedExportFilter": "Godot Tilemap format (*.tscn)",
"map.lastUsedFormat": "tmx",
"map.tileHeight": 24,
"map.tileWidth": 24,
"map.width": 22,
"openFiles": [
"tilesets/tiles.tsx",
"levels/level01.tmx"
],
"project": "juego.tiled-project",
"property.type": "int",
"recentFiles": [
"tilesets/tiles.tsx",
"levels/level01.tmx",
"tilesets/backgrounds.tsx",
"parallax/snow.tmx",
"parallax/hills.tmx",
"/mnt/data/godot/projects/Azaraka/maps/worldmap.tsx",
"/mnt/data/godot/projects/Azaraka/maps/worldmap.tmx",
"/mnt/data/godot/projects/Platformer/asset/world1.tmx",
"/mnt/data/godot/projects/Platformer/asset/spritesheet_ground.tsx",
"/mnt/data/godot/projects/Platformer/asset/world.tmx",
"/mnt/data/godot/projects/Azaraka/maps/dungeon1.tmx",
"/mnt/data/projects/edx/games/azaraka/maps/outside_entrance.tmx"
],
"tileset.embedInMap": false,
"tileset.lastUsedFilter": "Tiled tileset files (*.tsx *.xml)",
"tileset.lastUsedFormat": "tsx",
"tileset.tileSize": {
"height": 24,
"width": 24
},
"tileset.transparentColor": "#000000",
"tileset.useTransparentColor": false
}

29
godot/levels/Level2.tmx Normal file
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="141" height="32" tilewidth="18" tileheight="18" infinite="0" nextlayerid="10" nextobjectid="2">
<tileset firstgid="1" source="../tilesets/tiles.tsx"/>
<layer id="5" name="MiddleBackground" width="141" height="32">
<data encoding="base64" compression="zstd">
KLUv/WCARXUAABgAdQACAH8FesSH8I4N
</data>
</layer>
<layer id="3" name="Background" width="141" height="32">
<data encoding="base64" compression="zstd">
KLUv/WCAReUHAMJFERyAa1oDcI3yNgxLrJADMYGMt1VK3WqlViu1WtMUj4khBhdcZJCFAKFxxnPnTUDFDzcs6dEhpRLMlytV2+7O8VvXySWPBFSgUI9lOjCDESmJ0wEFUDBH6aMKnaYbqE3TeZHUEB8pcQNNOxDfKqik4dIamYl9N6jbSwMvVRqDzrlB7c8GUWKOC6sUzQEVzzPO4IgxtKAog6tu1FTgDVN/nN++tBeZA0EN5xk1db0sksKmrmbykTr0A63DDawOgUagB0qpvyBVq4CeYFVHe3t5wv3BM1Ta3X7RbDSyulEpRUiNZjBlQK7pDf62ajznrSAe+evSQvunzakrBQ==
</data>
</layer>
<layer id="1" name="Middleground" width="141" height="32">
<data encoding="base64" compression="zstd">
KLUv/WCARRUIANIEDhigRa0BQ/Q7R/1PsR/MPm2z0rW2E5CaSAF3bMIsV1J77ry5tED4oDjxQam7jR15GE8B0aFV8PXATaBgbbV0gAIUiIjIcQ60HM0oqqweBdaQKlwM1t8qpJZ8tB1EMyqotCNCvamRnuRifF+MubDcIJ1XDxT2Dk2sGSCCbmjVF90Y3KEoKuyI0JoBkXSjVCsddwC1S4ocQUr6N/Q3mAJ9d6or3KrVk3AMw9j/AKvg1Qj5Vxzki1QZxqrbTl1K3FCJ/5Lc4JzPwKsSN+cBgD8c4+5imZRt4gscA6U5ZtMLqm/ED7qsETDJqarCYgqXJ/PkyFVHIrHjagYEG3EVjOLjEQ==
</data>
</layer>
<layer id="4" name="MiddleForeground" width="141" height="32">
<data encoding="base64" compression="zstd">
KLUv/WCARXUAABgANwACALtARV6C3bEB
</data>
</layer>
<layer id="2" name="Foreground" width="141" height="32">
<data encoding="base64" compression="zstd">
KLUv/WCARRUCAHgAa2sjADcAIzdLIiIiSkoUoMD4AUCDbgcmhQw6tZMClhqiTQoZdCqUCkMFg6qbwA28Xqj2RbVDFeykwP8N4YEe+Q==
</data>
</layer>
</map>

View File

@ -2,12 +2,12 @@
importer="vnen.tiled_importer"
type="PackedScene"
path="res://.import/level01.tmx-65e129bada03d3bf56997e5be6fa923f.scn"
path="res://.import/Level2.tmx-357d8ae9edfbc85f5abb1db3655640e1.scn"
[deps]
source_file="res://levels/level01.tmx"
dest_files=[ "res://.import/level01.tmx-65e129bada03d3bf56997e5be6fa923f.scn" ]
source_file="res://levels/Level2.tmx"
dest_files=[ "res://.import/Level2.tmx-357d8ae9edfbc85f5abb1db3655640e1.scn" ]
[params]
@ -15,7 +15,7 @@ custom_properties=true
tile_metadata=false
uv_clip=true
image_flags=7
collision_layer=1
collision_layer=2
embed_internal_images=false
save_tiled_properties=false
add_background=true

41
godot/levels/Level2.tscn Normal file
View File

@ -0,0 +1,41 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://camera_fix.gd" type="Script" id=1]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/backgrounds/hills.png" type="Texture" id=3]
[ext_resource path="res://levels/Level2.tmx" type="PackedScene" id=4]
[node name="Level2" type="Node2D"]
[node name="Player" parent="." instance=ExtResource( 2 )]
[node name="Camera2D" type="Camera2D" parent="Player"]
current = true
limit_left = 0
limit_top = 0
limit_right = 512
limit_bottom = 288
drag_margin_h_enabled = true
drag_margin_v_enabled = true
__meta__ = {
"_edit_bone_": true
}
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="Player/Camera2D"]
rect = Rect2( 0, 0, 24, 24 )
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.2, 0.2 )
motion_offset = Vector2( 0, -288 )
motion_mirroring = Vector2( 528, 0 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
texture = ExtResource( 3 )
centered = false
[node name="Map" type="Node2D" parent="."]
[node name="Level2" parent="Map" instance=ExtResource( 4 )]
script = ExtResource( 1 )

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="128" height="32" tilewidth="18" tileheight="18" infinite="0" nextlayerid="14" nextobjectid="3">
<tileset firstgid="1" source="../tilesets/tiles.tsx"/>
<layer id="2" name="Background" width="128" height="32">
<data encoding="base64" compression="zstd">
KLUv/WAAP20GABJGERuQO3NNu/20rYOLBoDnsuAchA019DLxK+U5sBQXD6KYaA0XcxunI957cDBeOKEgOvTBn4dTNWcCdwc09eUKY6XJJY9c1zqg8NKSVMsBUEOFKdYBV6kkVDgVA3BBilMak5J1yoCMyj0pTslLSkdK+RTnkpnQVQNN3T4TMjcjhShwR5/KA0g5Y6hH5+zqPVRmKBFAXiWeXJ0jZMyAqV8hipb7ZS4Q7Kw8YFMCM6KKE9kOxg3OyikJ6rgpHUBFzquSdsAeB1W/S8WFGjA=
</data>
</layer>
<layer id="7" name="MiddleBackground" width="128" height="32">
<data encoding="base64" compression="zstd">
KLUv/WAAP00AAAgAAQD8H94JAQ==
</data>
</layer>
<layer id="1" name="Middleground" width="128" height="32">
<data encoding="base64" compression="zstd">
KLUv/WAAP9UGAOIFEhyATVoDNMAhoPa22NTIGBKFNDIfHSIibyz03jMFm0ZJqPYRgbwFLkD8oBwO4LnaOOOxiaGTxBy9dyG5Yq3rvWsonHDwcssrATmgsFSmmgPAghTIiNpiJ4TqJc3SkwwJSg4APcRRfoOY1+s638xXEGVPdnihL1eyJmtrQfPoHCMEfDPBmKjZJOrT0aRrOHTPcMrOgmgE3lIzpHNOkOISUo0XouICnd+xyONUZ5iiAWnlRZv3ePaAQqUFU3r41eAPSOWeqo3U6/kpdKqp6QP0j4t4prLz73kK
</data>
</layer>
<layer id="5" name="MiddleForeground" width="128" height="32">
<data encoding="base64" compression="zstd">
KLUv/WAAP3UAABgAOAACABtBhdwc3rEB
</data>
</layer>
<layer id="3" name="Foreground" width="128" height="32">
<data encoding="base64" compression="zstd">
KLUv/WAAP+UCAHgAIwA3AGtGNzgAWjduIkoioGD5EAMMXLoGfShQn+oDTEcRNepUmq0wC6aVCsZisJoIqwOgVkFZmtHmGW5aSpVU0I02zg9VHyYlztrUaaKrOaDf/arsQw06wA8U
</data>
</layer>
<objectgroup id="12" name="Object Layer 1">
<object id="2" type="one-way" x="150.727" y="413.818" width="33.8182" height="15.4545"/>
</objectgroup>
</map>

View File

@ -0,0 +1,23 @@
[remap]
importer="vnen.tiled_importer"
type="PackedScene"
path="res://.import/Prototype.tmx-1674122a110386791b767b1f6628b68b.scn"
[deps]
source_file="res://levels/Prototype.tmx"
dest_files=[ "res://.import/Prototype.tmx-1674122a110386791b767b1f6628b68b.scn" ]
[params]
custom_properties=true
tile_metadata=false
uv_clip=true
image_flags=7
collision_layer=2
collision_mask=0
embed_internal_images=false
save_tiled_properties=false
add_background=true
post_import_script=""

View File

@ -1,23 +1,22 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/backgrounds/mountains.png" type="Texture" id=1]
[ext_resource path="res://levels/level01.tmx" type="PackedScene" id=3]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=4]
[ext_resource path="res://camera_fix.gd" type="Script" id=1]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://levels/Prototype.tmx" type="PackedScene" id=3]
[ext_resource path="res://assets/backgrounds/mountains.png" type="Texture" id=4]
[node name="Level1" type="Node2D"]
[node name="Prototype" type="Node2D"]
[node name="Player" parent="." instance=ExtResource( 4 )]
[node name="Player" parent="." instance=ExtResource( 2 )]
[node name="Camera2D" type="Camera2D" parent="Player"]
current = true
limit_left = 0
limit_top = 0
limit_right = 2304
limit_bottom = 576
limit_right = 512
limit_bottom = 288
drag_margin_h_enabled = true
drag_margin_v_enabled = true
editor_draw_limits = true
editor_draw_drag_margin = true
__meta__ = {
"_edit_bone_": true
}
@ -28,14 +27,15 @@ rect = Rect2( 0, 0, 24, 24 )
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.2, 1 )
motion_scale = Vector2( 0.2, 0.1 )
motion_offset = Vector2( 0, -288 )
motion_mirroring = Vector2( 528, 0 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
texture = ExtResource( 1 )
texture = ExtResource( 4 )
centered = false
[node name="Map" type="Node2D" parent="."]
position = Vector2( 0, 18 )
[node name="level01" parent="Map" instance=ExtResource( 3 )]
[node name="Prototype" parent="Map" instance=ExtResource( 3 )]
script = ExtResource( 1 )

View File

@ -1,112 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="128" height="32" tilewidth="18" tileheight="18" infinite="0" nextlayerid="4" nextobjectid="1">
<tileset firstgid="1" source="../tilesets/tiles.tsx"/>
<layer id="2" name="Background" width="128" height="32">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,122,123,123,123,123,123,123,123,123,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
122,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,124,69,121,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,122,123,123,123,123,123,123,123,123,124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="3" name="Foreground" width="128" height="32">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
</map>

View File

@ -2,31 +2,8 @@
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="22" height="24" tilewidth="24" tileheight="24" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv">
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
</data>
<data encoding="base64" compression="zstd">
KLUv/WBAB50AADABAAAAAgMDAGRAJQSmm9e/IwI=
</data>
</layer>
</map>

View File

@ -2,31 +2,8 @@
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="22" height="24" tilewidth="24" tileheight="24" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv">
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12
</data>
<data encoding="base64" compression="zstd">
KLUv/WBAB50AADAKAAAACwwDAGRAJQSmm9e/IwI=
</data>
</layer>
</map>

View File

@ -2,31 +2,8 @@
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="22" height="24" tilewidth="24" tileheight="24" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv">
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
</data>
<data encoding="base64" compression="zstd">
KLUv/WBAB50AADAEAAAABQYDAGRAJQSmm9e/IwI=
</data>
</layer>
</map>

View File

@ -2,31 +2,8 @@
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="22" height="24" tilewidth="24" tileheight="24" infinite="0" nextlayerid="2" nextobjectid="1">
<tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv">
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9
</data>
<data encoding="base64" compression="zstd">
KLUv/WBAB50AADAHAAAACAkDAGRAJQSmm9e/IwI=
</data>
</layer>
</map>

View File

@ -53,6 +53,18 @@ texture={
"stream": false,
"svg/scale": 1.0
}
vnen.tiled_importer={
"add_background": true,
"collision_layer": 2,
"collision_mask": 0,
"custom_properties": true,
"embed_internal_images": false,
"image_flags": 7,
"post_import_script": "",
"save_tiled_properties": false,
"tile_metadata": false,
"uv_clip": true
}
[input]
@ -81,8 +93,8 @@ right={
[layer_names]
2d_physics/layer_1="Tiles"
2d_physics/layer_2="Player"
2d_physics/layer_1="Player"
2d_physics/layer_2="Tiles"
[physics]

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.4" name="backgrounds" tilewidth="24" tileheight="24" tilecount="12" columns="6">
<transformations hflip="0" vflip="1" rotate="0" preferuntransformed="0"/>
<image source="../assets/backgrounds/backgrounds.png" width="144" height="48"/>
</tileset>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.4" name="tiles" tilewidth="18" tileheight="18" tilecount="180" columns="20">
<transformations hflip="1" vflip="1" rotate="0" preferuntransformed="0"/>
<image source="../assets/tiles/tiles.png" width="360" height="162"/>
<tile id="0">
<objectgroup draworder="index" id="2">
@ -21,11 +22,56 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="4">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="5">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="6">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="9">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="10">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="11">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="12">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="13">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="14">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="15">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="20">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -46,11 +92,48 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="24">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="25">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="26">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="29">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="30">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="31">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="33">
<animation>
<frame tileid="33" duration="300"/>
<frame tileid="53" duration="300"/>
</animation>
</tile>
<tile id="34">
<animation>
<frame tileid="34" duration="300"/>
<frame tileid="35" duration="300"/>
</animation>
</tile>
<tile id="40">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -91,6 +174,12 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="54">
<animation>
<frame tileid="54" duration="300"/>
<frame tileid="55" duration="300"/>
</animation>
</tile>
<tile id="60">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -111,6 +200,17 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="68">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="9" width="18" height="9"/>
</objectgroup>
</tile>
<tile id="74">
<animation>
<frame tileid="74" duration="300"/>
<frame tileid="75" duration="300"/>
</animation>
</tile>
<tile id="80">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -131,6 +231,38 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="90">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="2" width="6" height="14"/>
<object id="2" type="one-way" x="6" y="6" width="12" height="6"/>
</objectgroup>
</tile>
<tile id="91">
<objectgroup draworder="index" id="2">
<object id="1" type="one-way" x="0" y="6" width="18" height="6"/>
</objectgroup>
</tile>
<tile id="92">
<objectgroup draworder="index" id="2">
<object id="1" x="12" y="2" width="6" height="14"/>
<object id="2" type="one-way" x="0" y="6" width="12" height="6"/>
</objectgroup>
</tile>
<tile id="93">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="94">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="95">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="100">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -156,6 +288,27 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="111">
<animation>
<frame tileid="111" duration="300"/>
<frame tileid="112" duration="300"/>
</animation>
</tile>
<tile id="113">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="114">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="115">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="120">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -176,6 +329,26 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="132">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="133">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="134">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="135">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="140">
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/>
@ -196,4 +369,20 @@
<object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup>
</tile>
<tile id="146">
<objectgroup draworder="index" id="2">
<object id="1" type="one-way" x="0" y="0" width="18" height="10"/>
</objectgroup>
</tile>
<tile id="147">
<objectgroup draworder="index" id="2">
<object id="1" type="one-way" x="0" y="0" width="18" height="10"/>
</objectgroup>
</tile>
<tile id="151">
<animation>
<frame tileid="151" duration="300"/>
<frame tileid="152" duration="300"/>
</animation>
</tile>
</tileset>

View File

@ -9,6 +9,7 @@ void Main::_register_methods()
{
register_method("_ready", &Main::_ready);
register_method("_physics_process", &Main::_physics_process);
register_property<Main, Ref<PackedScene>>("level", &Main::set_level, &Main::get_level, NULL, GODOT_METHOD_RPC_MODE_DISABLED, GODOT_PROPERTY_USAGE_DEFAULT, GODOT_PROPERTY_HINT_RESOURCE_TYPE, String("PackedScene"));
register_property<Main, bool>("full_screen", &Main::set_full_screen, &Main::get_full_screen, main::full_screen);
register_property<Main, Vector2>("window_size", &Main::set_window_size, &Main::get_window_size, main::window_size);
register_property<Main, int8_t>("launch_screen", &Main::set_launch_screen, &Main::get_launch_screen, main::launch_screen);
@ -45,6 +46,11 @@ void Main::_ready()
_os->get_screen_position(get_launch_screen()) + _os->get_screen_size() * 0.5 - _os->get_window_size() * 0.5
);
}
if (level != NULL)
{
add_child(level->instance());
}
}
void Main::_physics_process(float delta)
@ -55,6 +61,16 @@ void Main::_physics_process(float delta)
}
}
void Main::set_level(Ref<PackedScene> level)
{
this->level = level;
}
Ref<PackedScene> Main::get_level()
{
return this->level;
}
void Main::set_full_screen(bool full_screen)
{
this->full_screen = full_screen;

View File

@ -5,6 +5,8 @@
#include <Node.hpp>
#include <OS.hpp>
#include <Input.hpp>
#include <PackedScene.hpp>
#include <Ref.hpp>
/**
* @brief This is the godot namespace for all the code included in the library.
@ -57,6 +59,11 @@ namespace godot
*/
Input *_input;
/**
* @brief The first level to load
*
*/
Ref<PackedScene> level;
/**
* @brief If the window is full screen or not.
*
@ -116,6 +123,20 @@ namespace godot
*/
void _physics_process(float delta);
/**
* @brief Set the level object.
*
* @param[in] level The new level to load when starting.
*/
void set_level(Ref<PackedScene> level);
/**
* @brief Get the level object.
*
* @return Ref<PackedScene> The level scene to load.
*/
Ref<PackedScene> get_level();
/**
* @brief Set the full screen object.
*

View File

@ -25,12 +25,12 @@ void State::_init()
void State::_state_enter(const String state, const Array args)
{
WARN_PRINT("State " + state + " is missing its _state_enter method!");
WARN_PRINT("State " + get_state_machine()->get_current_state() + " is missing its _state_enter method!");
}
void State::_state_exit(const String state, const Array args)
{
WARN_PRINT("State " + state + " is missing its _state_exit method!");
WARN_PRINT("State " + get_state_machine()->get_current_state() + " is missing its _state_exit method!");
}
void State::set_parent(Node *parent)

View File

@ -34,7 +34,15 @@ void StateMachine::_ready()
connect("tree_entered", this, "_on_StateMachine_tree_entered");
connect("tree_exiting", this, "_on_StateMachine_tree_exiting");
parent = get_parent();
add_states();
if (has(get_default_state()))
{
set_current_state(get_default_state());
}
else
{
WARN_PRINT("The selected default state " + get_default_state() + " doesn't exist!");
}
setup();
}
@ -46,13 +54,13 @@ void StateMachine::setup()
{
if (children.size() > 0)
{
WARN_PRINT("State machine doesn't have a default state set, using first child!");
WARN_PRINT("The state machine doesn't have a default state set, using first child!");
auto child = Object::cast_to<Node>(children[0].operator Object*());
set_current_state(child->get_name());
}
else
{
ERR_PRINT("State machine doesn't have a default state set and has no child states!");
ERR_PRINT("The state machine doesn't have a default state set and has no child states!");
return;
}
}
@ -60,7 +68,6 @@ void StateMachine::setup()
for (uint8_t i = 0; i < children.size(); i++)
{
auto child = Object::cast_to<Node>(children[i].operator Object*());
add_state(child->get_name(), child);
child->call("set_state_machine", this);
@ -72,7 +79,24 @@ void StateMachine::setup()
}
}
Node *state_node = Object::cast_to<Node>(this->states[get_current_state()]);
if (state_node->has_method("_state_enter"))
{
this->call("_state_enter", get_current_state());
}
else {
WARN_PRINT("The state " + get_current_state() + " doesn't have a _state_enter method!");
}
}
void StateMachine::add_states()
{
auto children = get_children();
for (uint8_t i = 0; i < children.size(); i++)
{
auto child = Object::cast_to<Node>(children[i].operator Object*());
add_state(child->get_name(), child);
}
}
void StateMachine::add_state(const String state, Node *child)
@ -111,8 +135,31 @@ void StateMachine::change(const String state, const Array &args)
return this->restart(state, args);
}
if (!has(state))
{
WARN_PRINT("The state " + state + " does not exist, called from state " + get_current_state() + "!");
return;
}
auto previous_state = get_current_state();
auto exiting = this->call("_state_exit", state, args);
Variant exiting;
Node *state_node = Object::cast_to<Node>(this->states[previous_state]);
if (state_node)
{
if (state_node->has_method("_state_exit"))
{
exiting = this->call("_state_exit", state, args);
}
else
{
WARN_PRINT("The state " + get_current_state() + " doesn't have a _state_exit method!");
}
}
else
{
ERR_PRINT("Could not get current state node for " + get_current_state() + "!");
}
if (get_current_state() != "")
{
@ -132,7 +179,23 @@ void StateMachine::change(const String state, const Array &args)
auto child = Object::cast_to<Node>(states[get_current_state()].operator Object*());
this->add_child(child);
state_node = Object::cast_to<Node>(this->states[get_current_state()]);
if (state_node)
{
if (state_node->has_method("_state_enter"))
{
this->call("_state_enter", previous_state, args);
}
else
{
WARN_PRINT("The state " + get_current_state() + " doesn't have a _state_enter method!");
}
}
else
{
ERR_PRINT("Could not get current state node for " + get_current_state() + "!");
}
this->emit_signal("state_entered", get_current_state());
if (debug)
{
@ -143,11 +206,23 @@ void StateMachine::change(const String state, const Array &args)
Variant StateMachine::call(const String method, const Array &args)
{
auto node = Object::cast_to<Node>(states[get_current_state()].operator Object*());
if (node != nullptr)
if (node)
{
if (node->has_method(method))
{
return node->call(method, args);
}
else
{
WARN_PRINT("The state " + get_current_state() + " doesn't contain the method " + method + "!");
return Variant();
}
}
else
{
ERR_PRINT("Could not get current state node for " + get_current_state() + "!");
return Variant();
}
}
Variant StateMachine::_call(const String method, const Array &args)
@ -196,7 +271,7 @@ void StateMachine::_on_StateMachine_tree_exiting()
for (uint8_t i = 0; i < keys.size(); i++)
{
auto child = Object::cast_to<Node>(states[keys[i]].operator Object*());
if (child != nullptr)
if (child)
{
auto children = get_children();
if (!children.has(child))
@ -204,5 +279,10 @@ void StateMachine::_on_StateMachine_tree_exiting()
this->add_child(child);
}
}
else
{
ERR_PRINT("Could not get child node!");
return;
}
}
}

View File

@ -43,6 +43,12 @@ namespace godot
*/
Dictionary states;
/**
* @brief This adds all nodes of the states machine as states in the machine.
*
*/
void add_states();
/**
* @brief This adds a state to the list of states in the state machine.
*
@ -51,6 +57,13 @@ namespace godot
*/
void add_state(const String state, Node *child);
/**
* @brief Set the current state object.
*
* @param[in] current_state The current state that is running.
*/
void set_current_state(const String current_state);
public:
/**
* @brief This method registers classes with Godot.
@ -157,6 +170,13 @@ namespace godot
*/
String get_default_state();
/**
* @brief Get the current state object.
*
* @return String The current running state.
*/
String get_current_state();
/**
* @brief Set the debug object.
*
@ -172,20 +192,6 @@ namespace godot
*/
bool get_debug();
/**
* @brief Set the current state object.
*
* @param[in] current_state The current state that is running.
*/
void set_current_state(const String current_state);
/**
* @brief Get the current state object.
*
* @return String The current running state.
*/
String get_current_state();
/**
* @brief This method is called when the signal tree_entered is emitted.
*