Game-Design / Sprint3_actual / XML_LevelLoading / Dungeon2 / Level2.xml
Level2.xml
Raw
<?xml version="1.0" encoding="UTF-8" ?>
<XnaContent>
    <Asset Type="DungeonRooms.LevelObjectData[]">
		<!-- Draw room border and doors -->
		<!-- This is a background. Change later. -->
		<Item>
			<ObjectType>Background</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>0 0</Location>
		</Item>
		<!-- Wall right -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>12</ObjectName>
			<Location>672 216</Location>
		</Item>
		<!-- Wall bottom -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>18</ObjectName>
			<Location>336 432</Location>
		</Item>
		<!-- Open door left -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>8</ObjectName>
			<Location>0 216</Location>
		</Item>
		<!-- Open door top -->
		<Item>
			<ObjectType>Door</ObjectType>
			<ObjectName>2</ObjectName>
			<Location>336 0</Location>
		</Item>
		
		
		<!-- Draw Link, NPCs, and Items -->
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>240 96</Location>
		</Item>
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>240 384</Location>
		</Item>
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>336 192</Location>
		</Item>
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>432 192</Location>
		</Item>
		<Item>
			<ObjectType>NPC</ObjectType>
			<ObjectName>9</ObjectName>
			<Location>624 144</Location>
		</Item>
		
		<!-- This is a key. Change later. -->
		<Item>
			<ObjectType>Item</ObjectType>
			<ObjectName>27</ObjectName> 
			<Location>384 240</Location>
		</Item>
		<Item>
			<ObjectType>Link</ObjectType>
			<ObjectName>1</ObjectName>
			<Location>336 336</Location>
		</Item>
	</Asset>
</XnaContent>