Large refactoring. Also, reimplemented resource manager to use parsers. Changed from json to xml (it allows comments!!!).
This commit is contained in:
8
assets/levels/Farm.back
Normal file
8
assets/levels/Farm.back
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Background columns="380" rows="213">
|
||||
|
||||
<Layer name="Background"
|
||||
cells="levels/Farm_Background.csv"
|
||||
texture="tilesets/Ground.png" />
|
||||
|
||||
</Background>
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"cellWidth": 16,
|
||||
"cellHeight": 16,
|
||||
|
||||
"layerCount" : 1,
|
||||
"width" : 380,
|
||||
"height" : 213,
|
||||
|
||||
"layers":
|
||||
[
|
||||
{
|
||||
"name" : "Background",
|
||||
"cellsFile" : "levels/Farm_Background.csv",
|
||||
"textureFile" : "tilesets/Ground.png"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user