48 lines
1.2 KiB
XML
48 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Scene cellWidth="16"
|
|
cellHeight="16">
|
|
|
|
<!-- Main camera -->
|
|
<GameObject name="Main Camera">
|
|
<Transform />
|
|
<Camera scale="4" mainCamera="true" />
|
|
<GameTime />
|
|
<Weather />
|
|
</GameObject>
|
|
|
|
<!-- Background object -->
|
|
<GameObject name="Map">
|
|
<Map src="maps/Farm.map" />
|
|
<MapRenderer />
|
|
</GameObject>
|
|
|
|
<GameObject name="Object Layer">
|
|
<Transform />
|
|
<Grid w="380" h="250" />
|
|
</GameObject>
|
|
|
|
<!-- Player object -->
|
|
<GameObject name="Player">
|
|
<Transform x="120" y="100" />
|
|
<Sprite src="sprites/Player.sprite" />
|
|
<SpriteRenderer />
|
|
<PlayerMovement />
|
|
<PlayerInventory capacity="30" />
|
|
|
|
<GameObject name="Inventory">
|
|
<Transform />
|
|
</GameObject>
|
|
</GameObject>
|
|
|
|
<!-- Debug object -->
|
|
<GameObject name="Debug">
|
|
<DebugController />
|
|
</GameObject>
|
|
|
|
<GameObject name="enemyTest">
|
|
<Transform x="125" y="110" />
|
|
<Sprite src="sprites/Player.sprite" />
|
|
<SpriteRenderer />
|
|
</GameObject>
|
|
|
|
</Scene> |