ZFGC CP > King of Thieves
[UPDATE 4/24/16]Code Release
MG-Zero:
So we now have a half working map implementation. We are now able to draw tiles read from an xml file. It's VERY simple to read. Below is the sample xml I'm testing with:
--- Code: ---<?xml version="1.0" encoding="utf-8" ?>
<map>
<version>1.0</version>
<name>test</name>
<layerCount>1</layerCount>
<tileset name = "test">tileset:test</tileset>
<layers>
<layer width = "1" height = "1" name = "bleh">
<layerNum>0</layerNum>
<tiles>
<tile coordinates = "0:0" selection = "4:2"></tile>
</tiles>
</layer>
</layers>
</map>
--- End code ---
Big thanks to the underlying Gears Engine for providing a foundation for this. The changes will be pushed to master today.
Starforsaken101:
--- Quote from: MG-Zero on May 17, 2013, 08:35:05 pm ---So we now have a half working map implementation. We are now able to draw tiles read from an xml file. It's VERY simple to read. Below is the sample xml I'm testing with:
--- Code: ---<?xml version="1.0" encoding="utf-8" ?>
<map>
<version>1.0</version>
<name>test</name>
<layerCount>1</layerCount>
<tileset name = "test">tileset:test</tileset>
<layers>
<layer width = "1" height = "1" name = "bleh">
<layerNum>0</layerNum>
<tiles>
<tile coordinates = "0:0" selection = "4:2"></tile>
</tiles>
</layer>
</layers>
</map>
--- End code ---
Big thanks to the underlying Gears Engine for providing a foundation for this. The changes will be pushed to master today.
--- End quote ---
!@#$% this is awesome. XML reading is sweet.
LorentzChronon:
--- Quote from: Starforsaken101 on May 17, 2013, 09:45:44 pm ---
--- Quote from: MG-Zero on May 17, 2013, 08:35:05 pm ---So we now have a half working map implementation. We are now able to draw tiles read from an xml file. It's VERY simple to read. Below is the sample xml I'm testing with:
--- Code: ---<?xml version="1.0" encoding="utf-8" ?>
<map>
<version>1.0</version>
<name>test</name>
<layerCount>1</layerCount>
<tileset name = "test">tileset:test</tileset>
<layers>
<layer width = "1" height = "1" name = "bleh">
<layerNum>0</layerNum>
<tiles>
<tile coordinates = "0:0" selection = "4:2"></tile>
</tiles>
</layer>
</layers>
</map>
--- End code ---
Big thanks to the underlying Gears Engine for providing a foundation for this. The changes will be pushed to master today.
--- End quote ---
!@#$% this is awesome. XML reading is sweet.
--- End quote ---
Serializing for the winnar
MG-Zero:
Working on a map editor to make this !@#$% easier
Starforsaken101:
Let me know if you need some help. I wrote one for my game a while back.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version