Compare commits
2 Commits
90afeab0a6
...
fbc9544386
Author | SHA1 | Date |
---|---|---|
|
fbc9544386 | |
|
2a81bcfd53 |
|
@ -0,0 +1,11 @@
|
||||||
|
# Build files
|
||||||
|
/build*/
|
||||||
|
/*.g1a
|
||||||
|
/*.g3a
|
||||||
|
|
||||||
|
# Python bytecode
|
||||||
|
__pycache__/
|
||||||
|
|
||||||
|
# Common IDE files
|
||||||
|
*.sublime-project
|
||||||
|
*.sublime-workspace
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "fx-9860G",
|
||||||
|
"compilerPath": "~/.local/bin/sh-elf-gcc",
|
||||||
|
"compilerArgs": [ "-D FX9860G" ],
|
||||||
|
|
||||||
|
"cStandard": "c17",
|
||||||
|
"cppStandard": "gnu++17",
|
||||||
|
|
||||||
|
"includePath": [],
|
||||||
|
"intelliSenseMode": "${default}",
|
||||||
|
"mergeConfigurations": false,
|
||||||
|
"browse": {
|
||||||
|
"path": [],
|
||||||
|
"limitSymbolsToIncludedHeaders": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fx-CG50",
|
||||||
|
"compilerPath": "~/.local/bin/sh-elf-gcc",
|
||||||
|
"compilerArgs": [ "-D FXCG50" ],
|
||||||
|
|
||||||
|
"cStandard": "c17",
|
||||||
|
"cppStandard": "gnu++17",
|
||||||
|
|
||||||
|
"includePath": [],
|
||||||
|
"intelliSenseMode": "${default}",
|
||||||
|
"mergeConfigurations": false,
|
||||||
|
"browse": {
|
||||||
|
"path": [],
|
||||||
|
"limitSymbolsToIncludedHeaders": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"debug.showInStatusBar": "never",
|
||||||
|
"cmake.options.statusBarVisibility": "hidden",
|
||||||
|
"files.associations": {
|
||||||
|
"keyboard.h": "c",
|
||||||
|
"display.h": "c",
|
||||||
|
"stdlib.h": "c",
|
||||||
|
"kmalloc.h": "c",
|
||||||
|
"types.h": "c",
|
||||||
|
"linked_list.h": "c"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Build CG",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "fxsdk build-cg",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Copy G3A to Calculator",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "cp ${workspaceFolder}/*.g3a /media/$USER/disk/ && udisksctl unmount -b /dev/sdc1 && udisksctl power-off -b /dev/sdc1",
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Configure with [fxsdk build-fx] or [fxsdk build-cg], which provide the
|
||||||
|
# toolchain file and module path of the fxSDK
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.15)
|
||||||
|
project(2D_Engine)
|
||||||
|
|
||||||
|
include(GenerateG1A)
|
||||||
|
include(GenerateG3A)
|
||||||
|
include(GenerateHH2Bin)
|
||||||
|
include(Fxconv)
|
||||||
|
find_package(Gint 2.9 REQUIRED)
|
||||||
|
|
||||||
|
set(SOURCES
|
||||||
|
src/main.c
|
||||||
|
src/game.c
|
||||||
|
src/linked_list.c
|
||||||
|
src/texture_manager.c
|
||||||
|
src/vector2d.c
|
||||||
|
)
|
||||||
|
|
||||||
|
# fx-CG-50-only assets
|
||||||
|
set(ASSETS_cg
|
||||||
|
)
|
||||||
|
|
||||||
|
fxconv_declare_assets(${ASSETS_cg} WITH_METADATA)
|
||||||
|
|
||||||
|
add_executable(myaddin ${SOURCES} ${ASSETS} ${ASSETS_${FXSDK_PLATFORM}})
|
||||||
|
target_compile_options(myaddin PRIVATE -Wall -Wextra -Os -g -flto)
|
||||||
|
target_link_libraries(myaddin Gint::Gint)
|
||||||
|
|
||||||
|
if("${FXSDK_PLATFORM_LONG}" STREQUAL fxCG50)
|
||||||
|
generate_g3a(TARGET myaddin OUTPUT "2D_Engine.g3a"
|
||||||
|
NAME "2D_Engine" ICONS assets-cg/Icon/icon-uns.png assets-cg/Icon/icon-sel.png)
|
||||||
|
elseif("${FXSDK_PLATFORM_LONG}" STREQUAL fx9860G_G3A)
|
||||||
|
generate_g3a(TARGET myaddin OUTPUT "2D_Engine-fx.g3a"
|
||||||
|
NAME "2D_Engine-fx" ICONS assets-cg/Icon/icon-uns.png assets-cg/Icon/icon-sel.png)
|
||||||
|
elseif("${FXSDK_PLATFORM_LONG}" STREQUAL fxCP)
|
||||||
|
generate_hh2_bin(TARGET myaddin OUTPUT "2D_Engine-hh2.bin")
|
||||||
|
endif()
|
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 68 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
Tileset/tileset.png:
|
||||||
|
type: bopti-image
|
||||||
|
name: img_tileset
|
||||||
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="22" height="21" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="1">
|
||||||
|
<editorsettings>
|
||||||
|
<export target="../../maps/dungeon entry prout.json" format="json"/>
|
||||||
|
</editorsettings>
|
||||||
|
<tileset firstgid="1" source="../../tileset/tileset.tsx"/>
|
||||||
|
<layer id="1" name="Calque de Tuiles 1" width="22" height="21">
|
||||||
|
<data encoding="csv">
|
||||||
|
297,306,306,306,306,297,306,297,297,306,297,306,297,408,306,306,278,297,278,306,278,297,
|
||||||
|
278,278,278,297,692,306,306,306,306,297,278,297,297,417,306,278,297,306,278,630,278,297,
|
||||||
|
306,297,278,278,306,278,278,297,297,278,278,306,278,297,297,278,297,306,297,306,306,306,
|
||||||
|
278,278,278,278,306,297,297,306,297,297,297,278,297,306,297,297,306,297,306,306,278,297,
|
||||||
|
306,297,306,278,297,297,297,306,278,306,278,297,306,297,278,306,278,297,297,306,297,297,
|
||||||
|
297,278,274,282,306,297,297,297,306,297,297,306,306,297,297,278,278,297,274,282,297,297,
|
||||||
|
306,278,273,274,278,278,306,302,310,309,1,1,310,309,299,306,278,297,274,274,278,306,
|
||||||
|
297,278,274,282,297,297,302,311,319,318,322,323,319,318,308,310,299,278,283,273,306,278,
|
||||||
|
297,297,274,274,302,310,311,320,328,327,331,332,328,327,317,319,308,299,273,273,297,278,
|
||||||
|
306,297,283,273,285,319,320,329,306,306,306,306,306,297,326,328,317,280,282,283,297,306,
|
||||||
|
278,278,283,273,285,329,324,278,297,297,306,306,306,297,297,315,326,280,283,274,306,306,
|
||||||
|
306,278,274,274,285,297,306,306,297,306,315,297,278,306,306,278,297,280,274,282,278,278,
|
||||||
|
278,278,274,273,285,278,297,306,306,297,306,306,278,306,297,306,306,280,274,273,278,278,
|
||||||
|
278,599,283,273,275,306,297,297,278,306,278,306,278,297,333,306,278,272,282,283,297,297,
|
||||||
|
607,608,609,274,283,1,278,306,324,278,297,364,365,366,278,297,278,282,274,283,278,306,
|
||||||
|
306,297,273,438,439,274,274,306,306,278,306,373,374,375,272,273,283,659,660,274,297,278,
|
||||||
|
278,297,306,278,278,306,278,306,306,364,365,365,366,278,306,278,306,412,306,278,278,278,
|
||||||
|
306,278,278,297,297,297,297,278,278,373,374,374,375,297,306,306,278,297,306,306,306,306,
|
||||||
|
278,278,306,297,306,306,278,278,297,373,374,374,375,306,306,297,278,278,278,297,278,278,
|
||||||
|
278,297,278,306,306,278,278,278,278,382,363,374,379,366,278,297,278,278,306,297,278,297,
|
||||||
|
297,306,297,278,278,278,278,278,297,306,373,374,374,375,297,306,297,306,278,297,306,278
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<layer id="2" name="Calque de Tuiles 2" width="22" height="21">
|
||||||
|
<data encoding="csv">
|
||||||
|
620,621,1,682,683,684,1,640,641,1,1,406,407,646,452,453,1,619,620,621,1,1,
|
||||||
|
629,630,1,691,409,693,1,649,650,1,1,415,416,655,461,462,1,628,629,397,398,1,
|
||||||
|
569,570,571,1,418,419,1,658,659,1,1,424,425,664,470,471,1,421,422,406,407,408,
|
||||||
|
578,579,580,1,427,428,1,667,668,1,1,433,434,435,479,480,1,430,431,415,416,417,
|
||||||
|
587,588,589,1,1,437,1,1,677,1,1,442,443,1,488,489,1,439,440,424,425,426,
|
||||||
|
596,597,598,1,1,1,1,1,1,1,1,1,1,1,1,1,1,508,509,510,511,512,
|
||||||
|
605,606,607,1,1,1,1,1,1,1,1,1,1,1,1,1,1,457,518,519,520,521,
|
||||||
|
614,615,616,1,1,464,1,1,1,1,1,1,1,1,1,1,1,1,407,408,529,629,
|
||||||
|
1,1,585,558,1,1,1,1,1,515,1,1,516,1,1,1,1,1,416,417,538,1,
|
||||||
|
1,1,1,1,1,1,638,639,1,1,1,1,1,1,533,1,1,1,425,546,547,1,
|
||||||
|
1,644,645,646,1,532,647,648,1,1,1,1,1,1,515,1,1,1,434,1,1,1,
|
||||||
|
1,653,654,655,1,1,534,1,1,1,1,1,1,1,1,1,1,1,586,587,588,589,
|
||||||
|
1,662,663,664,1,1,514,1,714,1,1,1,1,1,1,525,514,1,595,596,597,598,
|
||||||
|
670,418,419,420,1,276,1,1,1,1,1,1,697,1,1,1,640,641,642,605,606,607,
|
||||||
|
1,427,428,429,567,275,265,266,1,516,1,1,1,1,271,264,649,650,651,614,615,616,
|
||||||
|
1,436,493,494,1,440,460,461,264,265,265,265,264,264,400,401,402,403,404,662,662,663,
|
||||||
|
1,1,502,503,1,1,469,470,471,1,1,1,1,1,409,410,411,404,669,1,671,672,
|
||||||
|
1,1,511,512,570,571,572,573,480,1,1,715,1,1,418,419,420,413,678,1,680,681,
|
||||||
|
1,1,520,521,579,580,581,582,583,1,1,1,1,1,427,428,429,422,687,1,689,690,
|
||||||
|
1,1,529,530,588,589,590,591,592,1,1,1,1,1,1,1,1,431,1,1,1,1,
|
||||||
|
1,1,538,1,597,598,599,600,1,1,1,1,1,1,1,1,1,440,1,1,1,1
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<layer id="3" name="Calque de Tuiles 3" width="22" height="21">
|
||||||
|
<data encoding="csv">
|
||||||
|
551,552,553,554,400,401,402,403,404,642,643,644,645,451,400,401,402,403,404,388,389,390,
|
||||||
|
560,561,562,563,564,410,411,412,413,651,652,653,654,460,409,410,411,412,473,474,475,399,
|
||||||
|
474,475,0,572,573,574,420,421,422,660,661,662,663,469,418,419,420,481,482,483,484,485,
|
||||||
|
483,484,485,581,582,583,429,430,431,669,670,671,672,478,427,428,429,490,491,492,493,494,
|
||||||
|
492,493,494,590,591,592,438,439,440,678,679,680,681,487,436,437,438,499,500,501,502,503,
|
||||||
|
501,502,503,599,600,446,447,448,686,687,688,689,690,496,497,498,447,388,389,390,610,611,
|
||||||
|
510,511,512,608,609,455,456,457,1,1,313,314,1,505,506,455,456,397,398,399,619,620,
|
||||||
|
519,520,521,617,618,464,465,466,1,1,1,1,1,1,1,464,465,406,550,551,552,553,
|
||||||
|
625,626,627,1,1,1,1,1,1,1,1,1,1,1,1,1,1,415,559,560,561,562,
|
||||||
|
634,635,636,637,1,1,1,1,1,1,1,1,1,1,1,1,1,424,568,569,570,571,
|
||||||
|
643,391,392,393,394,1,1,1,1,1,1,1,1,1,391,1,1,433,577,578,579,580,
|
||||||
|
652,400,401,402,403,404,1,1,1,1,1,1,1,1,1,1,622,623,624,625,626,1,
|
||||||
|
661,409,410,411,412,413,1,1,1,1,1,1,1,1,1,1,631,632,633,634,635,636,
|
||||||
|
473,474,475,476,421,422,1,1,1,1,1,1,1,1,1,1,640,641,1,643,644,645,
|
||||||
|
482,483,484,485,430,431,451,452,453,1,1,1,1,1,1,392,393,394,1,652,653,654,
|
||||||
|
491,492,1,551,552,553,554,555,462,1,1,1,1,1,392,393,394,472,473,474,475,476,
|
||||||
|
500,501,559,560,561,562,563,564,565,1,1,1,1,400,401,402,403,481,482,483,484,485,
|
||||||
|
509,510,568,569,472,473,474,475,574,1,1,1,1,409,410,411,412,490,491,492,493,494,
|
||||||
|
518,519,577,578,481,482,483,484,485,1,1,1,1,418,419,420,421,499,500,501,502,503,
|
||||||
|
527,528,586,587,490,491,492,493,494,1,1,1,1,427,428,429,430,508,509,510,511,512,
|
||||||
|
536,537,595,596,499,500,501,502,503,1,1,1,1,436,437,438,439,517,518,519,520,521
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
</map>
|
|
@ -0,0 +1,118 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="51" height="33" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="1">
|
||||||
|
<editorsettings>
|
||||||
|
<export target="../../maps/map 1.tmj" format="json"/>
|
||||||
|
</editorsettings>
|
||||||
|
<tileset firstgid="1" source="../../tileset/tileset.tsx"/>
|
||||||
|
<layer id="1" name="Calque de Tuiles 1" width="51" height="33">
|
||||||
|
<data encoding="csv">
|
||||||
|
19,31,31,31,31,31,31,31,31,31,31,31,31,20,1,1,1,1,1,19,31,31,163,165,31,31,20,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
28,3,2,2,2,2,2,2,2,2,2,2,4,29,1,1,1,1,1,28,3,2,163,165,2,4,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
28,12,11,11,11,11,95,95,11,11,11,11,13,29,1,1,1,1,1,28,12,11,163,165,11,13,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
28,154,155,155,155,130,131,131,132,155,155,155,156,29,1,1,1,1,1,28,154,155,167,166,155,156,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
28,163,164,164,164,139,140,140,141,164,164,164,165,29,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,19,31,31,31,31,31,31,31,31,31,31,31,31,31,20,
|
||||||
|
28,163,164,181,182,148,149,149,150,164,164,164,165,29,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,3,2,2,2,2,2,2,2,2,2,2,2,4,29,
|
||||||
|
28,163,164,190,191,164,164,164,164,183,164,164,165,29,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,12,11,11,11,11,11,11,11,11,11,11,11,13,29,
|
||||||
|
28,163,164,164,164,193,164,164,164,164,193,164,165,29,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,154,155,155,155,155,155,155,155,155,155,155,155,156,29,
|
||||||
|
28,172,173,173,173,173,158,157,173,173,173,173,174,29,1,1,1,1,1,28,163,164,164,164,193,165,29,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,164,164,164,164,164,164,164,165,29,
|
||||||
|
37,22,22,22,359,46,163,165,46,377,22,22,22,38,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,172,173,173,173,173,173,173,173,158,157,173,173,174,29,
|
||||||
|
1,1,1,1,28,3,163,165,4,29,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,52,46,46,46,46,46,46,46,46,163,165,46,46,46,44,
|
||||||
|
1,1,1,1,28,12,163,165,13,29,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,3,2,2,2,2,2,2,2,163,165,2,2,4,29,
|
||||||
|
1,1,1,1,28,154,167,166,156,29,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,12,11,11,11,11,11,11,11,163,165,11,11,13,29,
|
||||||
|
1,1,1,1,28,163,164,164,165,30,31,31,31,31,31,31,31,31,31,32,163,164,164,164,164,165,30,31,31,31,31,31,31,31,31,31,32,154,155,155,155,155,155,155,155,167,166,155,155,156,29,
|
||||||
|
1,1,1,1,28,163,164,164,165,6,2,2,2,2,2,2,2,2,2,7,163,164,164,164,164,165,6,2,2,2,2,2,2,2,2,2,7,163,164,164,157,173,173,173,173,173,173,173,173,174,29,
|
||||||
|
1,1,1,1,28,163,164,164,165,15,11,11,11,11,11,11,10,11,11,16,163,164,164,164,164,165,15,11,11,11,11,11,11,11,11,11,16,163,164,164,165,21,22,22,22,22,22,22,22,22,38,
|
||||||
|
1,1,1,1,28,163,164,164,166,155,155,155,155,155,155,155,155,155,155,155,167,164,164,164,164,166,155,155,155,155,155,155,155,155,155,155,155,167,164,164,165,30,31,31,31,31,31,31,31,31,20,
|
||||||
|
1,1,1,1,28,172,173,173,173,173,173,173,173,173,173,173,173,173,173,173,158,183,164,164,164,157,173,173,173,173,173,173,173,173,173,173,173,158,164,164,165,6,2,2,2,2,2,2,2,4,29,
|
||||||
|
1,1,1,1,37,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,163,164,164,164,164,165,21,22,22,22,22,22,22,22,22,22,23,163,164,164,165,15,11,11,10,11,11,11,11,13,29,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,163,164,183,166,155,155,155,155,155,155,155,155,156,29,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,28,172,173,173,173,173,173,173,173,173,173,173,173,174,29,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,37,22,22,22,22,22,22,22,22,22,22,22,22,22,38,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,28,163,164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,19,31,31,31,31,31,32,163,164,164,164,164,165,30,31,31,31,31,31,20,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,19,31,31,31,31,31,360,3,2,2,2,2,7,163,164,164,164,164,165,6,2,2,2,2,4,386,31,31,31,31,31,20,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,28,3,2,2,2,4,33,12,11,11,11,11,16,163,164,164,164,164,165,15,11,11,11,11,13,33,2,2,2,2,4,29,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,28,12,11,11,11,13,234,154,155,155,155,155,155,167,164,164,164,164,166,155,155,155,155,155,156,234,11,11,10,11,13,29,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,28,154,155,155,155,156,243,163,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,165,243,154,155,155,155,156,29,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,28,163,164,192,193,166,155,167,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,166,155,167,164,164,164,165,29,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,28,172,173,173,173,173,173,173,173,173,173,173,173,173,173,158,157,173,173,173,173,173,173,173,173,173,173,173,173,173,174,29,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,37,22,22,22,22,22,22,22,22,22,22,22,22,22,22,1,1,22,22,22,22,22,22,22,22,22,22,22,22,22,22,38,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<layer id="2" name="Calque de Tuiles 2" width="51" height="33">
|
||||||
|
<data encoding="csv">
|
||||||
|
1,1,1,1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1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,188,189,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,188,189,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,252,1,1,1,1,1,1,1,1,188,189,1,1,1,1,1,1,1,1,252,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,197,198,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<layer id="3" name="Calque de Tuiles 3" width="51" height="33">
|
||||||
|
<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,55,56,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1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
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,341,342,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,350,351,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
</map>
|
|
@ -0,0 +1,340 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="left-up" width="30" height="20" tilewidth="16" tileheight="16" infinite="1" nextlayerid="8" nextobjectid="1">
|
||||||
|
<tileset firstgid="1" source="../tileset/tileset.tsx"/>
|
||||||
|
<layer id="5" name="Calque de Tuiles 1" width="30" height="20">
|
||||||
|
<data encoding="csv">
|
||||||
|
<chunk x="-32" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,19,31,31,31,31,31,31,31,
|
||||||
|
1,1,1,1,1,1,1,1,28,3,2,2,2,2,2,2,
|
||||||
|
1,1,1,1,1,1,1,1,28,12,11,10,11,11,11,11,
|
||||||
|
1,1,1,1,1,1,1,1,28,154,155,155,155,155,155,155,
|
||||||
|
1,1,1,1,1,1,1,1,28,163,157,173,173,173,173,173,
|
||||||
|
1,1,1,1,1,1,1,1,28,163,165,21,22,22,22,22,
|
||||||
|
1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-16" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
19,1,1,20,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
28,1,1,29,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
32,1,1,30,31,31,31,31,31,31,31,31,31,31,31,31,
|
||||||
|
7,154,156,6,2,2,2,2,2,2,2,2,2,2,2,2,
|
||||||
|
16,163,165,15,11,11,11,11,11,11,11,11,10,11,11,11,
|
||||||
|
155,167,166,155,155,155,155,155,155,155,155,155,155,155,155,155,
|
||||||
|
173,173,173,173,173,173,173,173,173,173,158,157,173,173,173,173,
|
||||||
|
22,22,22,22,22,22,22,22,22,23,163,165,21,22,22,22,
|
||||||
|
1,1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,28,159,160,29,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="0" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
31,31,1,1,31,20,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
2,2,1,1,4,29,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
11,11,1,1,13,29,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
155,155,155,155,156,29,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
173,173,173,173,174,29,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
22,22,22,22,22,38,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-32" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,28,163,165,29,1,1,1,1,
|
||||||
|
1,1,1,19,31,31,31,31,32,1,1,30,31,31,31,31,
|
||||||
|
1,1,1,28,3,2,2,2,7,1,1,6,2,2,2,2,
|
||||||
|
1,1,1,28,12,11,11,11,16,1,1,15,11,11,11,11,
|
||||||
|
1,1,1,28,199,200,200,200,200,200,200,200,200,200,200,201,
|
||||||
|
1,1,1,28,208,209,209,236,209,209,209,209,209,209,209,210,
|
||||||
|
1,1,1,28,208,209,209,209,209,209,236,209,236,209,209,210,
|
||||||
|
1,1,1,28,208,209,209,209,209,209,209,209,209,209,209,210,
|
||||||
|
1,1,1,28,208,209,236,209,209,209,209,209,236,209,209,210,
|
||||||
|
1,1,1,28,217,218,218,218,218,218,218,218,218,218,218,219,
|
||||||
|
1,1,1,37,22,22,22,22,22,22,22,22,22,22,22,22,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-16" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,28,168,169,29,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,28,154,156,29,1,1,1,
|
||||||
|
43,31,31,31,31,31,31,31,31,32,163,165,30,31,31,31,
|
||||||
|
47,3,2,2,2,2,2,2,2,7,163,165,6,2,2,2,
|
||||||
|
47,10,11,11,11,11,11,11,11,16,163,165,15,11,11,11,
|
||||||
|
47,154,155,155,155,155,155,155,155,155,167,166,155,155,155,155,
|
||||||
|
47,163,164,164,164,164,164,164,164,164,164,164,164,164,164,164,
|
||||||
|
47,163,164,164,164,164,164,164,164,164,39,40,164,164,164,164,
|
||||||
|
47,163,164,164,164,164,164,164,164,164,48,49,164,164,183,164,
|
||||||
|
47,163,164,164,164,164,181,182,164,164,6,7,164,164,164,164,
|
||||||
|
47,172,173,173,173,158,190,191,164,164,15,16,164,164,164,164,
|
||||||
|
53,22,22,22,23,163,164,164,164,164,164,164,164,164,193,164,
|
||||||
|
1,1,1,1,28,172,173,173,173,173,173,173,173,173,173,173,
|
||||||
|
1,1,1,1,37,22,22,22,22,22,1,1,22,22,22,22,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="0" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
31,31,31,31,31,20,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
2,2,2,2,4,386,31,1,1,31,20,1,1,1,1,1,
|
||||||
|
11,11,11,11,13,234,3,1,1,4,29,1,1,1,1,1,
|
||||||
|
155,155,155,155,156,243,12,1,1,13,29,1,1,1,1,1,
|
||||||
|
164,164,164,164,165,173,154,155,155,156,29,1,1,1,1,1,
|
||||||
|
164,164,164,164,165,25,172,173,173,174,29,1,1,1,1,1,
|
||||||
|
164,164,164,164,165,368,22,22,22,22,38,1,1,1,1,1,
|
||||||
|
164,164,164,164,165,29,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
157,173,173,173,174,29,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
165,21,22,22,22,38,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
174,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
22,38,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<layer id="6" name="Calque de Tuiles 2" width="30" height="20">
|
||||||
|
<data encoding="csv">
|
||||||
|
<chunk x="-32" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-16" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="0" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,57,58,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,66,67,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,75,76,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
0,253,206,256,207,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,251,260,242,216,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-32" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,773,774,1,1,1,1,1,1,773,774,773,774,
|
||||||
|
1,1,1,1,782,783,751,752,753,1,1,1,782,783,782,783,
|
||||||
|
1,1,1,1,791,792,760,761,762,1,1,1,791,792,791,792,
|
||||||
|
1,1,1,1,1,771,772,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,780,781,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,789,790,1,754,755,755,756,1,754,756,1,
|
||||||
|
1,1,1,1,1,1,1,1,763,764,764,765,1,763,765,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-16" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,701,1,1,1,701,1,1,1,1,1,1,701,1,
|
||||||
|
1,1,1,710,1,1,1,710,1,1,1,1,1,1,710,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="0" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,701,1,1,1,1,57,58,1,1,1,1,1,1,1,
|
||||||
|
1,1,710,1,1,1,1,66,67,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,75,76,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,252,260,251,260,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,261,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<layer id="7" name="Calque de Tuiles 3" width="30" height="20">
|
||||||
|
<data encoding="csv">
|
||||||
|
<chunk x="-32" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-16" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="0" y="0" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-32" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,341,342,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,395,396,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="-16" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,341,342,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,350,351,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
<chunk x="0" y="16" width="16" height="16">
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||||
|
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
|
</chunk>
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
</map>
|
|
@ -0,0 +1,118 @@
|
||||||
|
{
|
||||||
|
"TileMapWidth": 22,
|
||||||
|
"TileMapHeight": 21,
|
||||||
|
|
||||||
|
"Layer 1": [
|
||||||
|
[297, 306, 306, 306, 306, 297, 306, 297, 297, 306, 297, 306, 297, 408, 306, 306, 278, 297, 278, 306, 278, 297],
|
||||||
|
[278, 278, 278, 297, 692, 306, 306, 306, 306, 297, 278, 297, 297, 417, 306, 278, 297, 306, 278, 630, 278, 297],
|
||||||
|
[306, 297, 278, 278, 306, 278, 278, 297, 297, 278, 278, 306, 278, 297, 297, 278, 297, 306, 297, 306, 306, 306],
|
||||||
|
[278, 278, 278, 278, 306, 297, 297, 306, 297, 297, 297, 278, 297, 306, 297, 297, 306, 297, 306, 306, 278, 297],
|
||||||
|
[306, 297, 306, 278, 297, 297, 297, 306, 278, 306, 278, 297, 306, 297, 278, 306, 278, 297, 297, 306, 297, 297],
|
||||||
|
[297, 278, 274, 282, 306, 297, 297, 297, 306, 297, 297, 306, 306, 297, 297, 278, 278, 297, 274, 282, 297, 297],
|
||||||
|
[306, 278, 273, 274, 278, 278, 306, 302, 310, 309, 330, 330, 310, 309, 299, 306, 278, 297, 274, 274, 278, 306],
|
||||||
|
[297, 278, 274, 282, 297, 297, 302, 311, 319, 318, 322, 323, 319, 318, 308, 310, 299, 278, 283, 273, 306, 278],
|
||||||
|
[297, 297, 274, 274, 302, 310, 311, 320, 328, 327, 331, 332, 328, 327, 317, 319, 308, 299, 273, 273, 297, 278],
|
||||||
|
[306, 297, 283, 273, 285, 319, 320, 329, 306, 306, 306, 306, 306, 297, 326, 328, 317, 280, 282, 283, 297, 306],
|
||||||
|
[278, 278, 283, 273, 285, 329, 324, 278, 297, 297, 306, 306, 306, 297, 297, 315, 326, 280, 283, 274, 306, 306],
|
||||||
|
[306, 278, 274, 274, 285, 297, 306, 306, 297, 306, 315, 297, 278, 306, 306, 278, 297, 280, 274, 282, 278, 278],
|
||||||
|
[278, 278, 274, 273, 285, 278, 297, 306, 306, 297, 306, 306, 278, 306, 297, 306, 306, 280, 274, 273, 278, 278],
|
||||||
|
[278, 599, 283, 273, 275, 306, 297, 297, 278, 306, 278, 306, 278, 297, 333, 306, 278, 272, 282, 283, 297, 297],
|
||||||
|
[607, 608, 609, 274, 283, 1, 278, 306, 324, 278, 297, 364, 365, 366, 278, 297, 274, 282, 274, 283, 278, 306],
|
||||||
|
[306, 297, 273, 438, 439, 274, 274, 306, 306, 278, 306, 373, 374, 375, 272, 273, 283, 659, 660, 274, 297, 278],
|
||||||
|
[278, 297, 306, 278, 278, 306, 278, 306, 306, 364, 365, 365, 366, 278, 306, 278, 306, 412, 306, 278, 278, 278],
|
||||||
|
[306, 278, 278, 297, 297, 297, 297, 278, 278, 373, 374, 374, 375, 297, 306, 306, 278, 297, 306, 306, 306, 306],
|
||||||
|
[278, 278, 306, 297, 306, 306, 278, 278, 297, 373, 374, 374, 375, 306, 306, 297, 278, 278, 278, 297, 278, 278],
|
||||||
|
[278, 297, 278, 306, 306, 278, 278, 278, 278, 382, 363, 374, 379, 366, 278, 297, 278, 278, 306, 297, 278, 297],
|
||||||
|
[297, 306, 297, 278, 278, 278, 278, 278, 297, 306, 373, 374, 374, 375, 297, 306, 297, 306, 278, 297, 306, 278]
|
||||||
|
],
|
||||||
|
|
||||||
|
"Layer 2": [
|
||||||
|
[620, 621, 1, 682, 683, 684, 1, 640, 641, 1, 1, 406, 407, 646, 452, 453, 1, 619, 620, 621, 1, 1],
|
||||||
|
[629, 630, 1, 691, 409, 693, 1, 649, 650, 1, 1, 415, 416, 655, 461, 462, 1, 628, 629, 397, 398, 1],
|
||||||
|
[569, 570, 571, 1, 418, 419, 1, 658, 659, 1, 1, 424, 425, 664, 470, 471, 1, 421, 422, 406, 407, 408],
|
||||||
|
[578, 579, 580, 1, 427, 428, 1, 667, 668, 1, 1, 433, 434, 435, 479, 480, 1, 430, 431, 415, 416, 417],
|
||||||
|
[587, 588, 589, 1, 1, 437, 1, 1, 677, 1, 1, 442, 443, 1, 488, 489, 1, 439, 440, 424, 425, 426],
|
||||||
|
[596, 597, 598, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 508, 509, 510, 511, 512],
|
||||||
|
[605, 606, 607, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 457, 518, 519, 520, 521],
|
||||||
|
[614, 615, 616, 1, 1, 464, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 407, 408, 529, 629],
|
||||||
|
[1, 1, 585, 558, 1, 1, 1, 1, 1, 515, 1, 1, 516, 1, 1, 1, 1, 1, 416, 417, 538, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 638, 639, 1, 1, 1, 1, 1, 1, 533, 1, 1, 1, 425, 546, 547, 1],
|
||||||
|
[1, 644, 645, 646, 1, 532, 647, 648, 1, 1, 1, 1, 1, 1, 515, 1, 1, 1, 434, 1, 1, 1],
|
||||||
|
[1, 653, 654, 655, 1, 1, 534, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 586, 587, 588, 589],
|
||||||
|
[1, 662, 663, 664, 1, 1, 514, 1, 714, 1, 1, 1, 1, 1, 1, 525, 514, 1, 595, 596, 597, 598],
|
||||||
|
[670, 418, 419, 420, 1, 276, 1, 1, 1, 1, 1, 1, 697, 1, 1, 1, 640, 641, 642, 605, 606, 607],
|
||||||
|
[1, 427, 428, 429, 567, 275, 265, 266, 1, 516, 1, 1, 1, 1, 271, 264, 649, 650, 651, 614, 615, 616],
|
||||||
|
[1, 436, 493, 494, 1, 440, 460, 461, 264, 265, 265, 265, 264, 264, 400, 401, 402, 403, 404, 662, 662, 663],
|
||||||
|
[1, 1, 502, 503, 1, 1, 469, 470, 471, 1, 1, 1, 1, 1, 409, 410, 411, 404, 669, 1, 671, 672],
|
||||||
|
[1, 1, 511, 512, 570, 571, 572, 573, 480, 1, 1, 715, 1, 1, 418, 419, 420, 413, 678, 1, 680, 681],
|
||||||
|
[1, 1, 520, 521, 579, 580, 581, 582, 583, 1, 1, 1, 1, 1, 427, 428, 429, 422, 687, 1, 689, 690],
|
||||||
|
[1, 1, 529, 530, 588, 589, 590, 591, 592, 1, 1, 1, 1, 1, 1, 1, 1, 431, 1, 1, 1, 1],
|
||||||
|
[1, 1, 538, 1, 597, 598, 599, 600, 1, 1, 1, 1, 1, 1, 1, 1, 1, 440, 1, 1, 1, 1]
|
||||||
|
],
|
||||||
|
|
||||||
|
"Layer 3": [
|
||||||
|
[551, 552, 553, 554, 400, 401, 402, 403, 404, 642, 643, 644, 645, 451, 400, 401, 402, 403, 404, 388, 389, 390],
|
||||||
|
[560, 561, 562, 563, 564, 410, 411, 412, 413, 651, 652, 653, 654, 460, 409, 410, 411, 412, 473, 474, 475, 399],
|
||||||
|
[474, 475, 0, 572, 573, 574, 420, 421, 422, 660, 661, 662, 663, 469, 418, 419, 420, 481, 482, 483, 484, 485],
|
||||||
|
[483, 484, 485, 581, 582, 583, 429, 430, 431, 669, 670, 671, 672, 478, 427, 428, 429, 490, 491, 492, 493, 494],
|
||||||
|
[492, 493, 494, 590, 591, 592, 438, 439, 440, 678, 679, 680, 681, 487, 436, 437, 438, 499, 500, 501, 502, 503],
|
||||||
|
[501, 502, 503, 599, 600, 446, 447, 448, 686, 687, 688, 689, 690, 496, 497, 498, 447, 388, 389, 390, 610, 611],
|
||||||
|
[510, 511, 512, 608, 609, 455, 456, 457, 1, 1, 313, 314, 1, 505, 506, 455, 456, 397, 398, 399, 619, 620],
|
||||||
|
[519, 520, 521, 617, 618, 464, 465, 466, 1, 1, 1, 1, 1, 1, 1, 464, 465, 406, 550, 551, 552, 553],
|
||||||
|
[625, 626, 627, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 415, 559, 560, 561, 562],
|
||||||
|
[634, 635, 636, 637, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 424, 568, 569, 570, 571],
|
||||||
|
[643, 391, 392, 393, 394, 1, 1, 1, 1, 1, 1, 1, 1, 1, 391, 1, 1, 433, 577, 578, 579, 580],
|
||||||
|
[652, 400, 401, 402, 403, 404, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 622, 623, 624, 625, 626, 1],
|
||||||
|
[661, 409, 410, 411, 412, 413, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 631, 632, 633, 634, 635, 636],
|
||||||
|
[473, 474, 475, 476, 421, 422, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 640, 641, 1, 643, 644, 645],
|
||||||
|
[482, 483, 484, 485, 430, 431, 451, 452, 453, 1, 1, 1, 1, 1, 1, 392, 393, 394, 1, 652, 653, 654],
|
||||||
|
[491, 492, 1, 551, 552, 553, 554, 555, 462, 1, 1, 1, 1, 1, 392, 393, 394, 472, 473, 474, 475, 476],
|
||||||
|
[500, 501, 559, 560, 561, 562, 563, 564, 565, 1, 1, 1, 1, 400, 401, 402, 403, 481, 482, 483, 484, 485],
|
||||||
|
[509, 510, 568, 569, 472, 473, 474, 475, 574, 1, 1, 1, 1, 409, 410, 411, 412, 490, 491, 492, 493, 494],
|
||||||
|
[518, 519, 577, 578, 481, 482, 483, 484, 485, 1, 1, 1, 1, 418, 419, 420, 421, 499, 500, 501, 502, 503],
|
||||||
|
[527, 528, 586, 587, 490, 491, 492, 493, 494, 1, 1, 1, 1, 427, 428, 429, 430, 508, 509, 510, 511, 512],
|
||||||
|
[536, 537, 595, 596, 499, 500, 501, 502, 503, 1, 1, 1, 1, 436, 437, 438, 439, 517, 518, 519, 520, 521]
|
||||||
|
],
|
||||||
|
|
||||||
|
"Hitboxes": [
|
||||||
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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]
|
||||||
|
],
|
||||||
|
|
||||||
|
"NextMaps": [
|
||||||
|
{
|
||||||
|
"Number": 2,
|
||||||
|
|
||||||
|
"Path": "ressources/maps/map dungeon 1.json",
|
||||||
|
|
||||||
|
"PlayerInitPos": {
|
||||||
|
"x": 22,
|
||||||
|
"y": 30
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"PlayerInitPos": {
|
||||||
|
"x": 10,
|
||||||
|
"y": 11
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,434 @@
|
||||||
|
{
|
||||||
|
"TileMapWidth": 51,
|
||||||
|
"TileMapHeight": 33,
|
||||||
|
|
||||||
|
"Layer 1": [
|
||||||
|
[19, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 20, 1, 1, 1, 1, 1, 19, 31, 31, 163, 165, 31, 31, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[28, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 29, 1, 1, 1, 1, 1, 28, 3, 2, 163, 165, 2, 4, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[28, 12, 11, 11, 11, 11, 95, 95, 11, 11, 11, 11, 13, 29, 1, 1, 1, 1, 1, 28, 12, 11, 163, 165, 11, 13, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[28, 154, 155, 155, 155, 130, 131, 131, 132, 155, 155, 155, 156, 29, 1, 1, 1, 1, 1, 28, 154, 155, 167, 166, 155, 156, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[28, 163, 164, 164, 164, 139, 140, 140, 141, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 20],
|
||||||
|
[28, 163, 164, 181, 182, 148, 149, 149, 150, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 29],
|
||||||
|
[28, 163, 164, 190, 191, 164, 164, 164, 164, 183, 164, 164, 165, 29, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 12, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 29],
|
||||||
|
[28, 163, 164, 164, 164, 193, 164, 164, 164, 164, 193, 164, 165, 29, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 154, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 156, 29],
|
||||||
|
[28, 172, 173, 173, 173, 173, 158, 157, 173, 173, 173, 173, 174, 29, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 193, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 29],
|
||||||
|
[37, 22, 22, 22, 359, 46, 163, 165, 46, 377, 22, 22, 22, 38, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 172, 173, 173, 173, 173, 173, 173, 173, 158, 157, 173, 173, 174, 29],
|
||||||
|
[1, 1, 1, 1, 28, 3, 163, 165, 4, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 52, 46, 46, 46, 46, 46, 46, 46, 46, 163, 165, 46, 46, 46, 44],
|
||||||
|
[1, 1, 1, 1, 28, 12, 163, 165, 13, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 3, 2, 2, 2, 2, 2, 2, 2, 163, 165, 2, 2, 4, 29],
|
||||||
|
[1, 1, 1, 1, 28, 154, 167, 166, 156, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 12, 11, 11, 11, 11, 11, 11, 11, 163, 165, 11, 11, 13, 29],
|
||||||
|
[1, 1, 1, 1, 28, 163, 164, 164, 165, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 32, 163, 164, 164, 164, 164, 165, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 32, 154, 155, 155, 155, 155, 155, 155, 155, 167, 166, 155, 155, 156, 29],
|
||||||
|
[1, 1, 1, 1, 28, 163, 164, 164, 165, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 163, 164, 164, 164, 164, 165, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 163, 164, 164, 157, 173, 173, 173, 173, 173, 173, 173, 173, 174, 29],
|
||||||
|
[1, 1, 1, 1, 28, 163, 164, 164, 165, 15, 11, 11, 11, 11, 11, 11, 10, 11, 11, 16, 163, 164, 164, 164, 164, 165, 15, 11, 11, 11, 11, 11, 11, 11, 11, 11, 16, 163, 164, 164, 165, 21, 22, 22, 22, 22, 22, 22, 22, 22, 38],
|
||||||
|
[1, 1, 1, 1, 28, 163, 164, 164, 166, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 167, 164, 164, 164, 164, 166, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 167, 164, 164, 165, 30, 31, 31, 31, 31, 31, 31, 31, 31, 20],
|
||||||
|
[1, 1, 1, 1, 28, 172, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 158, 183, 164, 164, 164, 157, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 158, 164, 164, 165, 6, 2, 2, 2, 2, 2, 2, 2, 4, 29],
|
||||||
|
[1, 1, 1, 1, 37, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 163, 164, 164, 164, 164, 165, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 163, 164, 164, 165, 15, 11, 11, 10, 11, 11, 11, 11, 13, 29],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 183, 166, 155, 155, 155, 155, 155, 155, 155, 155, 156, 29],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 172, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 174, 29],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 37, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 38],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 31, 31, 31, 31, 31, 32, 163, 164, 164, 164, 164, 165, 30, 31, 31, 31, 31, 31, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 19, 31, 31, 31, 31, 31, 360, 3, 2, 2, 2, 2, 7, 163, 164, 164, 164, 164, 165, 6, 2, 2, 2, 2, 4, 386, 31, 31, 31, 31, 31, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 28, 3, 2, 2, 2, 4, 33, 12, 11, 11, 11, 11, 16, 163, 164, 164, 164, 164, 165, 15, 11, 11, 11, 11, 13, 33, 2, 2, 2, 2, 4, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 28, 12, 11, 11, 11, 13, 234, 154, 155, 155, 155, 155, 155, 167, 164, 164, 164, 164, 166, 155, 155, 155, 155, 155, 156, 234, 11, 11, 10, 11, 13, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 28, 154, 155, 155, 155, 156, 243, 163, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 243, 154, 155, 155, 155, 156, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 28, 163, 164, 192, 193, 166, 155, 167, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 166, 155, 167, 164, 164, 164, 165, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 28, 172, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 158, 157, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 174, 29, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 37, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 1, 1, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 38, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
|
||||||
|
],
|
||||||
|
|
||||||
|
"Layer 2": [
|
||||||
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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 0, 0, 0, 0, 0],
|
||||||
|
[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
|
||||||
|
"NextMaps": [
|
||||||
|
{
|
||||||
|
"Number": 2,
|
||||||
|
|
||||||
|
"Path": "ressources/maps/dungeon entry.json",
|
||||||
|
|
||||||
|
"PlayerInitPos": {
|
||||||
|
"x": 10,
|
||||||
|
"y": 7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"Entities": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Type": "TransformComponent",
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 47,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
|
||||||
|
"Dimension": {
|
||||||
|
"x": 48,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
|
||||||
|
"Scale": 2,
|
||||||
|
|
||||||
|
"Speed": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SpriteComponent",
|
||||||
|
|
||||||
|
"Path": "ressources/props/lever.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "AnimationSystem",
|
||||||
|
|
||||||
|
"NbFrames": 3,
|
||||||
|
|
||||||
|
"CurrentFrame": 0,
|
||||||
|
|
||||||
|
"FrameDelay": 10,
|
||||||
|
|
||||||
|
"PlayAnimation": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "HitboxComponent",
|
||||||
|
|
||||||
|
"Scale": {
|
||||||
|
"x": 0.33333,
|
||||||
|
"y": 0.21875
|
||||||
|
},
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.82
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Lever",
|
||||||
|
|
||||||
|
"Channel": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Type": "TransformComponent",
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 47,
|
||||||
|
"y": 18
|
||||||
|
},
|
||||||
|
|
||||||
|
"Dimension": {
|
||||||
|
"x": 48,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
|
||||||
|
"Scale": 2,
|
||||||
|
|
||||||
|
"Speed": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SpriteComponent",
|
||||||
|
|
||||||
|
"Path": "ressources/props/lever.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "AnimationSystem",
|
||||||
|
|
||||||
|
"NbFrames": 3,
|
||||||
|
|
||||||
|
"CurrentFrame": 0,
|
||||||
|
|
||||||
|
"FrameDelay": 10,
|
||||||
|
|
||||||
|
"PlayAnimation": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "HitboxComponent",
|
||||||
|
|
||||||
|
"Scale": {
|
||||||
|
"x": 0.33333,
|
||||||
|
"y": 0.21875
|
||||||
|
},
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.82
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Lever",
|
||||||
|
|
||||||
|
"Channel": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Type": "TransformComponent",
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 23,
|
||||||
|
"y": 1
|
||||||
|
},
|
||||||
|
|
||||||
|
"Dimension": {
|
||||||
|
"x": 16,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
|
||||||
|
"Scale": 2,
|
||||||
|
|
||||||
|
"Speed": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SpriteComponent",
|
||||||
|
|
||||||
|
"Path": "ressources/props/lock.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "AnimationSystem",
|
||||||
|
|
||||||
|
"NbFrames": 7,
|
||||||
|
|
||||||
|
"CurrentFrame": 0,
|
||||||
|
|
||||||
|
"FrameDelay": 8,
|
||||||
|
|
||||||
|
"PlayAnimation": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Lock",
|
||||||
|
|
||||||
|
"Channel": 2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Type": "TransformComponent",
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 45,
|
||||||
|
"y": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"Dimension": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 48
|
||||||
|
},
|
||||||
|
|
||||||
|
"Scale": 2,
|
||||||
|
|
||||||
|
"Speed": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SpriteComponent",
|
||||||
|
|
||||||
|
"Path": "ressources/props/barred door 2.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "AnimationSystem",
|
||||||
|
|
||||||
|
"NbFrames": 8,
|
||||||
|
|
||||||
|
"CurrentFrame": 0,
|
||||||
|
|
||||||
|
"FrameDelay": 3,
|
||||||
|
|
||||||
|
"PlayAnimation": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "HitboxComponent",
|
||||||
|
|
||||||
|
"Scale": {
|
||||||
|
"x": 1,
|
||||||
|
"y": 0.6666666666666
|
||||||
|
},
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Door",
|
||||||
|
|
||||||
|
"States": [
|
||||||
|
{
|
||||||
|
"Channel": 0,
|
||||||
|
"State": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Channel": 1,
|
||||||
|
"State": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Type": "TransformComponent",
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 6,
|
||||||
|
"y": 9
|
||||||
|
},
|
||||||
|
|
||||||
|
"Dimension": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 48
|
||||||
|
},
|
||||||
|
|
||||||
|
"Scale": 2,
|
||||||
|
|
||||||
|
"Speed": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SpriteComponent",
|
||||||
|
|
||||||
|
"Path": "ressources/props/barred door 2.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "AnimationSystem",
|
||||||
|
|
||||||
|
"NbFrames": 8,
|
||||||
|
|
||||||
|
"CurrentFrame": 0,
|
||||||
|
|
||||||
|
"FrameDelay": 3,
|
||||||
|
|
||||||
|
"PlayAnimation": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "HitboxComponent",
|
||||||
|
|
||||||
|
"Scale": {
|
||||||
|
"x": 1,
|
||||||
|
"y": 0.6666666666666
|
||||||
|
},
|
||||||
|
|
||||||
|
"Position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Door",
|
||||||
|
|
||||||
|
"States": [
|
||||||
|
{
|
||||||
|
"Channel": 0,
|
||||||
|
"State": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Channel": 1,
|
||||||
|
"State": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 480 B |
After Width: | Height: | Size: 928 B |
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 1004 B |
After Width: | Height: | Size: 621 B |
After Width: | Height: | Size: 670 B |
After Width: | Height: | Size: 526 B |
After Width: | Height: | Size: 519 B |
After Width: | Height: | Size: 698 B |
After Width: | Height: | Size: 503 B |
After Width: | Height: | Size: 526 B |
After Width: | Height: | Size: 68 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<tileset version="1.10" tiledversion="1.11.0" name="tileset" tilewidth="16" tileheight="16" tilecount="1053" columns="9">
|
||||||
|
<image source="tileset.png" width="144" height="1408"/>
|
||||||
|
</tileset>
|
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 793 B |
After Width: | Height: | Size: 6.3 KiB |
|
@ -0,0 +1,10 @@
|
||||||
|
#ifndef EVENT_H
|
||||||
|
#define EVENT_H
|
||||||
|
|
||||||
|
#include <gint/keycodes.h>
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
bool keys[0xa6];
|
||||||
|
} event_t;
|
||||||
|
|
||||||
|
#endif // EVENT_H
|
|
@ -0,0 +1,11 @@
|
||||||
|
#include <gint/kmalloc.h>
|
||||||
|
#include "game.h"
|
||||||
|
|
||||||
|
int game_init(game_t *game)
|
||||||
|
{
|
||||||
|
game = kmalloc(sizeof(game_t), NULL);
|
||||||
|
|
||||||
|
if(game == NULL) return 1;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
#ifndef GAME_H
|
||||||
|
#define GAME_H
|
||||||
|
|
||||||
|
#include <gint/defs/types.h>
|
||||||
|
#include "event.h"
|
||||||
|
#include "texture_manager.h"
|
||||||
|
|
||||||
|
#define WINDOW_WIDTH 396
|
||||||
|
#define WINDOW_HEIGHT 224
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
event_t event;
|
||||||
|
texture_manager_t *texture_manager;
|
||||||
|
bool is_running;
|
||||||
|
} game_t;
|
||||||
|
|
||||||
|
int game_init(game_t*);
|
||||||
|
|
||||||
|
int game_handle_event(game_t*);
|
||||||
|
int game_update(game_t*);
|
||||||
|
int game_render(game_t*);
|
||||||
|
|
||||||
|
int game_exit(game_t*);
|
||||||
|
|
||||||
|
#endif // GAME_H
|
|
@ -0,0 +1,137 @@
|
||||||
|
#include <gint/kmalloc.h>
|
||||||
|
#include "linked_list.h"
|
||||||
|
|
||||||
|
#include <gint/display.h>
|
||||||
|
|
||||||
|
void linked_list_init(linked_list_t *linked_list, const size_t data_size)
|
||||||
|
{
|
||||||
|
linked_list->data_size = data_size;
|
||||||
|
linked_list->first = NULL;
|
||||||
|
linked_list->last = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
elem_t *elem_create(linked_list_t *linked_list)
|
||||||
|
{
|
||||||
|
elem_t *elem;
|
||||||
|
elem = kmalloc(sizeof(elem_t), NULL);
|
||||||
|
if(!elem) return NULL;
|
||||||
|
|
||||||
|
elem->data = kmalloc(linked_list->data_size, NULL);
|
||||||
|
if(!elem->data)
|
||||||
|
{
|
||||||
|
kfree(elem);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
return elem;
|
||||||
|
}
|
||||||
|
|
||||||
|
void linked_list_push_back(linked_list_t *linked_list, elem_t *elem)
|
||||||
|
{
|
||||||
|
if(!elem) return;
|
||||||
|
|
||||||
|
elem->prev = linked_list->last;
|
||||||
|
elem->next = NULL;
|
||||||
|
|
||||||
|
if(linked_list->last)
|
||||||
|
linked_list->last->next = elem;
|
||||||
|
else
|
||||||
|
linked_list->first = elem;
|
||||||
|
|
||||||
|
linked_list->last = elem;
|
||||||
|
}
|
||||||
|
|
||||||
|
void linked_list_push_front(linked_list_t *linked_list, elem_t *elem)
|
||||||
|
{
|
||||||
|
if(!elem) return;
|
||||||
|
|
||||||
|
elem->next = linked_list->first;
|
||||||
|
elem->prev = NULL;
|
||||||
|
|
||||||
|
if(linked_list->first)
|
||||||
|
linked_list->first->prev = elem;
|
||||||
|
else
|
||||||
|
linked_list->last = elem;
|
||||||
|
|
||||||
|
linked_list->first = elem;
|
||||||
|
}
|
||||||
|
|
||||||
|
void linked_list_pop_back(linked_list_t *linked_list)
|
||||||
|
{
|
||||||
|
elem_t *tmp = linked_list->last;
|
||||||
|
if(!tmp) return;
|
||||||
|
|
||||||
|
linked_list->last = tmp->prev;
|
||||||
|
|
||||||
|
if(linked_list->last)
|
||||||
|
linked_list->last->next = NULL;
|
||||||
|
else
|
||||||
|
linked_list->first = NULL;
|
||||||
|
|
||||||
|
kfree(tmp->data);
|
||||||
|
kfree(tmp);
|
||||||
|
if(tmp != NULL)
|
||||||
|
{
|
||||||
|
dtext(80, 80, C_RED, "WHAT THE HELLL ??");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void linked_list_pop_front(linked_list_t *linked_list)
|
||||||
|
{
|
||||||
|
elem_t *tmp = linked_list->first;
|
||||||
|
if(!tmp) return;
|
||||||
|
|
||||||
|
linked_list->first = tmp->next;
|
||||||
|
|
||||||
|
if(linked_list->first)
|
||||||
|
linked_list->first->prev = NULL;
|
||||||
|
else
|
||||||
|
linked_list->last = NULL;
|
||||||
|
|
||||||
|
kfree(tmp->data);
|
||||||
|
kfree(tmp);
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t linked_list_get_size(linked_list_t *linked_list)
|
||||||
|
{
|
||||||
|
elem_t *actual_elem = linked_list->first;
|
||||||
|
if(!actual_elem) return 0;
|
||||||
|
|
||||||
|
size_t size = 0;
|
||||||
|
while(actual_elem)
|
||||||
|
{
|
||||||
|
actual_elem = actual_elem->next;
|
||||||
|
size++;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool linked_list_is_empty(linked_list_t *linked_list)
|
||||||
|
{
|
||||||
|
return !linked_list->first;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool linked_list_is_in_bound(linked_list_t *linked_list, size_t index)
|
||||||
|
{
|
||||||
|
return index < linked_list_get_size(linked_list);
|
||||||
|
}
|
||||||
|
|
||||||
|
elem_t *linked_list_get_elem(linked_list_t *linked_list, size_t index)
|
||||||
|
{
|
||||||
|
if(!linked_list_is_in_bound(linked_list, index)) return NULL;
|
||||||
|
|
||||||
|
elem_t *actual_elem = linked_list->first;
|
||||||
|
if(!actual_elem) return NULL;
|
||||||
|
|
||||||
|
for (size_t i = 0; i < index; i++)
|
||||||
|
{
|
||||||
|
actual_elem = actual_elem->next;
|
||||||
|
}
|
||||||
|
|
||||||
|
return actual_elem;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
void linked_list_insert(linked_list_t *linked_list, elem_t *elem, size_t index)
|
||||||
|
{
|
||||||
|
|
||||||
|
}*/
|
|
@ -0,0 +1,95 @@
|
||||||
|
#ifndef LINKED_LIST_H
|
||||||
|
#define LINKED_LIST_H
|
||||||
|
|
||||||
|
#include <gint/defs/types.h>
|
||||||
|
|
||||||
|
/* elem_t: Element base for linked lists
|
||||||
|
This struct is the base for storing data.
|
||||||
|
|
||||||
|
@data Raw pointer to any type of data
|
||||||
|
@prev Pointer to the prev element in the linked list
|
||||||
|
@next Pointer to the next element in the linked list */
|
||||||
|
typedef struct elem_t {
|
||||||
|
void *data;
|
||||||
|
struct elem_t *prev;
|
||||||
|
struct elem_t *next;
|
||||||
|
} elem_t;
|
||||||
|
|
||||||
|
/* linked_list_t: Base of linked lists
|
||||||
|
This struct is the base for creating linked lists.
|
||||||
|
|
||||||
|
@data_size Size of the data stored in the linked list
|
||||||
|
@first Pointer to the first element in the linked list
|
||||||
|
@last Pointer to the last element in the linked list */
|
||||||
|
typedef struct {
|
||||||
|
size_t data_size;
|
||||||
|
elem_t *first;
|
||||||
|
elem_t *last;
|
||||||
|
} linked_list_t;
|
||||||
|
|
||||||
|
/* linked_list_init(): Init a linked_list_t
|
||||||
|
This function is necessary if you create a linked list.
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
@data_size Data size for the linked list */
|
||||||
|
void linked_list_init(linked_list_t *linked_list, const size_t data_size);
|
||||||
|
|
||||||
|
/* elem_create(): Create an elem to fill with data and insert in a linked list.
|
||||||
|
This function is usefull when you want to initialise an elem with the proper data_size.
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
Return adress of initialised elem, NULL on error. */
|
||||||
|
elem_t *elem_create(linked_list_t *linked_list);
|
||||||
|
|
||||||
|
/* linked_list_push_back(): Insert an elem_t from the back in a linked_list_t.
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
@elem Pointer to an elem_t
|
||||||
|
Insert elem in the back of the linked list, do nothing on error. */
|
||||||
|
void linked_list_push_back(linked_list_t *linked_list, elem_t *elem);
|
||||||
|
|
||||||
|
/* linked_list_push_front(): Insert an elem_t from the front in a linked_list_t.
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
@elem Pointer to an elem_t
|
||||||
|
Insert elem in the front of the linked list, do nothing on error. */
|
||||||
|
void linked_list_push_front(linked_list_t *linked_list, elem_t *elem);
|
||||||
|
|
||||||
|
/* linked_list_pop_back(): Delete the last elem in the given linked list
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
Delete last elem of the linked list, do nothing on error. */
|
||||||
|
void linked_list_pop_back(linked_list_t *linked_list);
|
||||||
|
|
||||||
|
/* linked_list_pop_front(): Delete the first elem in the given linked list
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
Delete first elem of the linked list, do nothing on error. */
|
||||||
|
void linked_list_pop_front(linked_list_t *linked_list);
|
||||||
|
|
||||||
|
/* linked_list_get_size(): Get the size of the given linked list
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
Return size of the given linked list, 0 if it's empty. */
|
||||||
|
size_t linked_list_get_size(linked_list_t *linked_list);
|
||||||
|
|
||||||
|
/* linked_list_is_empty(): Check if the given linked list is empty
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
Return true if the given linked list is empty else false. */
|
||||||
|
bool linked_list_is_empty(linked_list_t *linked_list);
|
||||||
|
|
||||||
|
/* linked_list_is_in_bound(): Check if the given index is whithin the range of the linked list
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
Return true if the given linked list is empty else false. */
|
||||||
|
bool linked_list_is_in_bound(linked_list_t *linked_list, size_t index);
|
||||||
|
|
||||||
|
/* linked_list_get_elem(): Get element at the given index in the linked list
|
||||||
|
|
||||||
|
@linked_list Pointer to an linked_list_t
|
||||||
|
@index Index of the wanted element
|
||||||
|
Return the element, NULL on error. */
|
||||||
|
elem_t *linked_list_get_elem(linked_list_t *linked_list, size_t index);
|
||||||
|
|
||||||
|
#endif // LINKED_LIST_H
|
|
@ -0,0 +1,83 @@
|
||||||
|
//#include "game.h"
|
||||||
|
/*
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
game_t *game;
|
||||||
|
|
||||||
|
game_init(game);
|
||||||
|
|
||||||
|
while(game->is_running)
|
||||||
|
{
|
||||||
|
game_handle_event(game);
|
||||||
|
game_update(game);
|
||||||
|
game_render(game);
|
||||||
|
}
|
||||||
|
|
||||||
|
return game_exit(game);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <gint/kmalloc.h>
|
||||||
|
#include <gint/display.h>
|
||||||
|
#include <gint/keyboard.h>
|
||||||
|
#include "linked_list.h"
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
dclear(C_WHITE);
|
||||||
|
|
||||||
|
linked_list_t list;
|
||||||
|
linked_list_init(&list, sizeof(int));
|
||||||
|
|
||||||
|
elem_t *elem = elem_create(&list);
|
||||||
|
if((!elem) || (!elem->data))
|
||||||
|
{
|
||||||
|
dtext(1, 1, C_BLACK, "element is not correctly initialised");
|
||||||
|
goto Exit;
|
||||||
|
}
|
||||||
|
*(int *)elem->data = 42;
|
||||||
|
|
||||||
|
elem_t *elem2 = elem_create(&list);
|
||||||
|
if((!elem2) || (!elem2->data))
|
||||||
|
{
|
||||||
|
dtext(1, 1, C_BLACK, "element 2 is not correctly initialised");
|
||||||
|
goto Exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
linked_list_push_back(&list, elem);
|
||||||
|
linked_list_push_back(&list, elem2);
|
||||||
|
|
||||||
|
if(*(int *)list.first->data == 42)
|
||||||
|
{
|
||||||
|
dtext(1, 1, C_BLACK, "element is correctly initialised");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(list.first == elem && list.last == elem2)
|
||||||
|
{
|
||||||
|
dtext(1, 20, C_BLACK, "elements are correctly putted in the list");
|
||||||
|
}
|
||||||
|
|
||||||
|
linked_list_pop_back(&list);
|
||||||
|
if(list.first == list.last && list.first == elem)
|
||||||
|
{
|
||||||
|
dtext(1, 40, C_BLACK, "element 2 is correctly removed from the back");
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
linked_list_pop_back(&list);
|
||||||
|
if(list.first == list.last && list.first == NULL)
|
||||||
|
{
|
||||||
|
dtext(1, 60, C_BLACK, "element is correctly removed from the back");
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
Exit:
|
||||||
|
//if(elem) kfree(elem->data);
|
||||||
|
//if(elem) kfree(elem);
|
||||||
|
//if(elem2) kfree(elem2->data);
|
||||||
|
//if(elem2) kfree(elem2);
|
||||||
|
|
||||||
|
dupdate();
|
||||||
|
|
||||||
|
getkey();
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
#ifndef TEXTURE_MANAGER_H
|
||||||
|
#define TEXTURE_MANAGER_H
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
|
||||||
|
} texture_manager_t;
|
||||||
|
|
||||||
|
#endif // TEXTURE_MANAGER_H
|
|
@ -0,0 +1,82 @@
|
||||||
|
#include "vector2d.h"
|
||||||
|
|
||||||
|
bool has_intersection(const rect_t * A, const rect_t * B)
|
||||||
|
{
|
||||||
|
int Amin, Amax, Bmin, Bmax;
|
||||||
|
|
||||||
|
if (!A || !B) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Special cases for empty rects */
|
||||||
|
if (rect_empty(A) || rect_empty(B)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Horizontal intersection */
|
||||||
|
Amin = A->x;
|
||||||
|
Amax = Amin + A->w;
|
||||||
|
Bmin = B->x;
|
||||||
|
Bmax = Bmin + B->w;
|
||||||
|
if (Bmin > Amin)
|
||||||
|
Amin = Bmin;
|
||||||
|
if (Bmax < Amax)
|
||||||
|
Amax = Bmax;
|
||||||
|
if (Amax <= Amin)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
/* Vertical intersection */
|
||||||
|
Amin = A->y;
|
||||||
|
Amax = Amin + A->h;
|
||||||
|
Bmin = B->y;
|
||||||
|
Bmax = Bmin + B->h;
|
||||||
|
if (Bmin > Amin)
|
||||||
|
Amin = Bmin;
|
||||||
|
if (Bmax < Amax)
|
||||||
|
Amax = Bmax;
|
||||||
|
if (Amax <= Amin)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool intersect_rect(const rect_t * A, const rect_t * B, rect_t * result)
|
||||||
|
{
|
||||||
|
int Amin, Amax, Bmin, Bmax;
|
||||||
|
|
||||||
|
if (!A || !B || !result) {
|
||||||
|
// TODO error message
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Special cases for empty rects */
|
||||||
|
if (rect_empty(A) || rect_empty(B)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Horizontal intersection */
|
||||||
|
Amin = A->x;
|
||||||
|
Amax = Amin + A->w;
|
||||||
|
Bmin = B->x;
|
||||||
|
Bmax = Bmin + B->w;
|
||||||
|
if (Bmin > Amin)
|
||||||
|
Amin = Bmin;
|
||||||
|
result->x = Amin;
|
||||||
|
if (Bmax < Amax)
|
||||||
|
Amax = Bmax;
|
||||||
|
result->w = Amax - Amin;
|
||||||
|
|
||||||
|
/* Vertical intersection */
|
||||||
|
Amin = A->y;
|
||||||
|
Amax = Amin + A->h;
|
||||||
|
Bmin = B->y;
|
||||||
|
Bmax = Bmin + B->h;
|
||||||
|
if (Bmin > Amin)
|
||||||
|
Amin = Bmin;
|
||||||
|
result->y = Amin;
|
||||||
|
if (Bmax < Amax)
|
||||||
|
Amax = Bmax;
|
||||||
|
result->h = Amax - Amin;
|
||||||
|
|
||||||
|
return !rect_empty(result);
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|
||||||
|
* All of the functions declared in this file and *
|
||||||
|
* defined in vector2d.c are from the SDL2 source code. *
|
||||||
|
* They are just renamed. *
|
||||||
|
* => https://github.com/libsdl-org/SDL *
|
||||||
|
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
|
#ifndef VECTOR2D_H
|
||||||
|
#define VECTOR2D_H
|
||||||
|
|
||||||
|
#include <gint/defs/types.h>
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int x, y;
|
||||||
|
} vector2d_t;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int x, y;
|
||||||
|
int w, h;
|
||||||
|
} rect_t;
|
||||||
|
|
||||||
|
#define point_in_rect(P, R) (((P)->x >= (R)->x) && ((P)->x < ((R)->x + (R)->w)) && \
|
||||||
|
((P)->y >= (R)->y) && ((P)->y < ((R)->y + (R)->h)))
|
||||||
|
|
||||||
|
#define rect_empty(X) ((!(X)) || ((X)->w <= 0) || ((X)->h <= 0))
|
||||||
|
|
||||||
|
bool has_intersection(const rect_t * A, const rect_t * B);
|
||||||
|
|
||||||
|
bool intersect_rect(const rect_t * A, const rect_t * B, rect_t * result);
|
||||||
|
|
||||||
|
#endif // VECTOR2D_H
|