feature/tilesets #9

Merged
cromer merged 6 commits from feature/tilesets into develop 2022-04-16 20:04:15 -04:00
25 changed files with 446 additions and 547 deletions

2
.gitignore vendored
View File

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

View File

@ -1,9 +1,8 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=3 format=2]
[ext_resource path="res://Main.gdns" type="Script" id=1] [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"] [node name="Main" type="Node"]
script = ExtResource( 1 ) script = ExtResource( 1 )
level = ExtResource( 2 )
[node name="Level1" parent="." instance=ExtResource( 2 )]

View File

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

View File

@ -211,12 +211,12 @@ func make_layer(layer, parent, root, data):
var opacity = float(layer.opacity) if "opacity" in layer else 1.0 var opacity = float(layer.opacity) if "opacity" in layer else 1.0
var visible = bool(layer.visible) if "visible" in layer else true var visible = bool(layer.visible) if "visible" in layer else true
var z_index = 0 var z_index = 0
if "properties" in layer and "z_index" in layer.properties: if "properties" in layer and "z_index" in layer.properties:
z_index = layer.properties.z_index z_index = layer.properties.z_index
if layer.type == "tilelayer": if layer.type == "tilelayer":
var layer_size = Vector2(int(layer.width), int(layer.height)) var layer_size = Vector2(int(layer.width), int(layer.height))
var tilemap = TileMap.new() var tilemap = TileMap.new()
@ -231,6 +231,7 @@ func make_layer(layer, parent, root, data):
tilemap.cell_y_sort = true tilemap.cell_y_sort = true
tilemap.cell_tile_origin = TileMap.TILE_ORIGIN_BOTTOM_LEFT tilemap.cell_tile_origin = TileMap.TILE_ORIGIN_BOTTOM_LEFT
tilemap.collision_layer = options.collision_layer tilemap.collision_layer = options.collision_layer
tilemap.collision_mask = options.collision_mask
tilemap.z_index = z_index tilemap.z_index = z_index
var offset = Vector2() 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 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_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) tilemap.set_cell(cell_x, cell_y, gid, flipped_h, flipped_v, flipped_d)
count += 1 count += 1
@ -702,26 +703,26 @@ func build_tileset_for_scene(tilesets, source_path, options):
var i = 0 var i = 0
var column = 0 var column = 0
# Needed to look up textures for animations # Needed to look up textures for animations
var tileRegions = [] var tileRegions = []
while i < tilecount: while i < tilecount:
var tilepos = Vector2(x, y) var tilepos = Vector2(x, y)
var region = Rect2(tilepos, tilesize) var region = Rect2(tilepos, tilesize)
tileRegions.push_back(region) tileRegions.push_back(region)
column += 1 column += 1
i += 1 i += 1
x += int(tilesize.x) + spacing x += int(tilesize.x) + spacing
if (columns > 0 and column >= columns) or x >= int(imagesize.x) - margin or (x + int(tilesize.x)) > int(imagesize.x): if (columns > 0 and column >= columns) or x >= int(imagesize.x) - margin or (x + int(tilesize.x)) > int(imagesize.x):
x = margin x = margin
y += int(tilesize.y) + spacing y += int(tilesize.y) + spacing
column = 0 column = 0
i = 0 i = 0
while i < tilecount: while i < tilecount:
var region = tileRegions[i] var region = tileRegions[i]
@ -778,7 +779,7 @@ func build_tileset_for_scene(tilesets, source_path, options):
result.tile_set_texture(gid, image) result.tile_set_texture(gid, image)
if options.apply_offset: if options.apply_offset:
result.tile_set_texture_offset(gid, Vector2(0, -image.get_height())) result.tile_set_texture_offset(gid, Vector2(0, -image.get_height()))
if "tiles" in ts and rel_id in ts.tiles and "objectgroup" in ts.tiles[rel_id] \ if "tiles" in ts and rel_id in ts.tiles and "objectgroup" in ts.tiles[rel_id] \
and "objects" in ts.tiles[rel_id].objectgroup: and "objects" in ts.tiles[rel_id].objectgroup:
for object in ts.tiles[rel_id].objectgroup.objects: for object in ts.tiles[rel_id].objectgroup.objects:
@ -803,10 +804,10 @@ func build_tileset_for_scene(tilesets, source_path, options):
result.tile_set_occluder_offset(gid, offset) result.tile_set_occluder_offset(gid, offset)
else: else:
result.tile_add_shape(gid, shape, Transform2D(0, offset), object.type == "one-way") result.tile_add_shape(gid, shape, Transform2D(0, offset), object.type == "one-way")
if "properties" in ts and "custom_material" in ts.properties: if "properties" in ts and "custom_material" in ts.properties:
result.tile_set_material(gid, load(ts.properties.custom_material)) result.tile_set_material(gid, load(ts.properties.custom_material))
if options.custom_properties and options.tile_metadata and "tileproperties" in ts \ if options.custom_properties and options.tile_metadata and "tileproperties" in ts \
and "tilepropertytypes" in ts and rel_id in ts.tileproperties and rel_id in ts.tilepropertytypes: and "tilepropertytypes" in ts and rel_id in ts.tileproperties and rel_id in ts.tilepropertytypes:
tile_meta[gid] = get_custom_properties(ts.tileproperties[rel_id], ts.tilepropertytypes[rel_id]) tile_meta[gid] = get_custom_properties(ts.tileproperties[rel_id], ts.tilepropertytypes[rel_id])
@ -815,7 +816,7 @@ func build_tileset_for_scene(tilesets, source_path, options):
if property in ts.tiles[rel_id]: if property in ts.tiles[rel_id]:
if not gid in tile_meta: tile_meta[gid] = {} if not gid in tile_meta: tile_meta[gid] = {}
tile_meta[gid][property] = ts.tiles[rel_id][property] tile_meta[gid][property] = ts.tiles[rel_id][property]
gid += 1 gid += 1
i += 1 i += 1
@ -1047,13 +1048,19 @@ func is_convex(vertices):
return true return true
# Decompress the data of the layer # 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): func decompress_layer_data(layer_data, compression, map_size):
if compression != "gzip" and compression != "zlib": var compression_type = -1
print_error("Unrecognized compression format: %s" % [compression]) match compression:
return ERR_INVALID_DATA "zlib":
compression_type = File.COMPRESSION_DEFLATE
var compression_type = File.COMPRESSION_DEFLATE if compression == "zlib" else File.COMPRESSION_GZIP "gzip":
compression_type = File.COMPRESSION_GZIP
"zstd":
compression_type = File.COMPRESSION_ZSTD
_:
print_error("Unrecognized compression format: %s" % [compression])
return ERR_INVALID_DATA
var expected_size = int(map_size.x) * int(map_size.y) * 4 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) 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.") print_error("Invalid data layer property.")
return ERR_INVALID_DATA return ERR_INVALID_DATA
if "compression" in layer: 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.") print_error("Invalid compression type.")
return ERR_INVALID_DATA return ERR_INVALID_DATA
"imagelayer": "imagelayer":

View File

@ -247,7 +247,7 @@ func parse_tile_data(parser):
var prop_data = parse_properties(parser) var prop_data = parse_properties(parser)
data["properties"] = prop_data.properties data["properties"] = prop_data.properties
data["propertytypes"] = prop_data.propertytypes data["propertytypes"] = prop_data.propertytypes
elif parser.get_node_name() == "animation": elif parser.get_node_name() == "animation":
var frame_list = [] var frame_list = []
var err2 = parser.read() var err2 = parser.read()
@ -265,7 +265,7 @@ func parse_tile_data(parser):
if parser.get_node_name() == "animation": if parser.get_node_name() == "animation":
break break
err2 = parser.read() err2 = parser.read()
data["animation"] = frame_list data["animation"] = frame_list
err = parser.read() err = parser.read()

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 ) extents = Vector2( 7, 12 )
[node name="Player" type="KinematicBody2D"] [node name="Player" type="KinematicBody2D"]
collision_mask = 2
script = ExtResource( 5 ) script = ExtResource( 5 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."] [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" importer="vnen.tiled_importer"
type="PackedScene" type="PackedScene"
path="res://.import/level01.tmx-65e129bada03d3bf56997e5be6fa923f.scn" path="res://.import/Level2.tmx-357d8ae9edfbc85f5abb1db3655640e1.scn"
[deps] [deps]
source_file="res://levels/level01.tmx" source_file="res://levels/Level2.tmx"
dest_files=[ "res://.import/level01.tmx-65e129bada03d3bf56997e5be6fa923f.scn" ] dest_files=[ "res://.import/Level2.tmx-357d8ae9edfbc85f5abb1db3655640e1.scn" ]
[params] [params]
@ -15,7 +15,7 @@ custom_properties=true
tile_metadata=false tile_metadata=false
uv_clip=true uv_clip=true
image_flags=7 image_flags=7
collision_layer=1 collision_layer=2
embed_internal_images=false embed_internal_images=false
save_tiled_properties=false save_tiled_properties=false
add_background=true 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://camera_fix.gd" type="Script" id=1]
[ext_resource path="res://levels/level01.tmx" type="PackedScene" id=3] [ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=4] [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"] [node name="Camera2D" type="Camera2D" parent="Player"]
current = true current = true
limit_left = 0 limit_left = 0
limit_top = 0 limit_top = 0
limit_right = 2304 limit_right = 512
limit_bottom = 576 limit_bottom = 288
drag_margin_h_enabled = true drag_margin_h_enabled = true
drag_margin_v_enabled = true drag_margin_v_enabled = true
editor_draw_limits = true
editor_draw_drag_margin = true
__meta__ = { __meta__ = {
"_edit_bone_": true "_edit_bone_": true
} }
@ -28,14 +27,15 @@ rect = Rect2( 0, 0, 24, 24 )
[node name="ParallaxBackground" type="ParallaxBackground" parent="."] [node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] [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 ) motion_mirroring = Vector2( 528, 0 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"] [node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
texture = ExtResource( 1 ) texture = ExtResource( 4 )
centered = false centered = false
[node name="Map" type="Node2D" parent="."] [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,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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,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,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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,0,0,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"> <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"/> <tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24"> <layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv"> <data encoding="base64" compression="zstd">
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, KLUv/WBAB50AADABAAAAAgMDAGRAJQSmm9e/IwI=
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, </data>
1,1,1,1,1,1,1,1,1,1,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.4" orientation="orthogonal" renderorder="right-down" width="22" height="24" tilewidth="24" tileheight="24" infinite="0" nextlayerid="2" nextobjectid="1"> <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"/> <tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24"> <layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv"> <data encoding="base64" compression="zstd">
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, KLUv/WBAB50AADAKAAAACwwDAGRAJQSmm9e/IwI=
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, </data>
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,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>
</layer> </layer>
</map> </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"> <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"/> <tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24"> <layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv"> <data encoding="base64" compression="zstd">
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, KLUv/WBAB50AADAEAAAABQYDAGRAJQSmm9e/IwI=
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, </data>
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,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>
</layer> </layer>
</map> </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"> <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"/> <tileset firstgid="1" source="../tilesets/backgrounds.tsx"/>
<layer id="1" name="Tile Layer 1" width="22" height="24"> <layer id="1" name="Tile Layer 1" width="22" height="24">
<data encoding="csv"> <data encoding="base64" compression="zstd">
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, KLUv/WBAB50AADAHAAAACAkDAGRAJQSmm9e/IwI=
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, </data>
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,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>
</layer> </layer>
</map> </map>

View File

@ -53,6 +53,18 @@ texture={
"stream": false, "stream": false,
"svg/scale": 1.0 "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] [input]
@ -81,8 +93,8 @@ right={
[layer_names] [layer_names]
2d_physics/layer_1="Tiles" 2d_physics/layer_1="Player"
2d_physics/layer_2="Player" 2d_physics/layer_2="Tiles"
[physics] [physics]

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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"/> <image source="../assets/backgrounds/backgrounds.png" width="144" height="48"/>
</tileset> </tileset>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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"/> <image source="../assets/tiles/tiles.png" width="360" height="162"/>
<tile id="0"> <tile id="0">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
@ -21,11 +22,56 @@
<object id="1" x="0" y="0" width="18" height="18"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="6">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="20">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="26">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="40">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </tile>
<tile id="54">
<animation>
<frame tileid="54" duration="300"/>
<frame tileid="55" duration="300"/>
</animation>
</tile>
<tile id="60"> <tile id="60">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="80">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="100">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="120">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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"> <tile id="140">
<objectgroup draworder="index" id="2"> <objectgroup draworder="index" id="2">
<object id="1" x="0" y="0" width="18" height="18"/> <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"/> <object id="1" x="0" y="0" width="18" height="18"/>
</objectgroup> </objectgroup>
</tile> </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> </tileset>

View File

@ -9,6 +9,7 @@ void Main::_register_methods()
{ {
register_method("_ready", &Main::_ready); register_method("_ready", &Main::_ready);
register_method("_physics_process", &Main::_physics_process); 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, 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, 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); 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 _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) 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) void Main::set_full_screen(bool full_screen)
{ {
this->full_screen = full_screen; this->full_screen = full_screen;

View File

@ -5,6 +5,8 @@
#include <Node.hpp> #include <Node.hpp>
#include <OS.hpp> #include <OS.hpp>
#include <Input.hpp> #include <Input.hpp>
#include <PackedScene.hpp>
#include <Ref.hpp>
/** /**
* @brief This is the godot namespace for all the code included in the library. * @brief This is the godot namespace for all the code included in the library.
@ -57,6 +59,11 @@ namespace godot
*/ */
Input *_input; Input *_input;
/**
* @brief The first level to load
*
*/
Ref<PackedScene> level;
/** /**
* @brief If the window is full screen or not. * @brief If the window is full screen or not.
* *
@ -116,6 +123,20 @@ namespace godot
*/ */
void _physics_process(float delta); 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. * @brief Set the full screen object.
* *