From: Erik V. <eri...@xs...> - 2011-01-16 12:38:07
|
For some answes\rs, see blow. Erik. Van: Charles Strong [mailto:men...@gm...] Verzonden: zaterdag 15 januari 2011 21:24 Aan: rai...@li... Onderwerp: Re: [Rails-devel] Rails 1.4 Creating games I've got svn with eclipse. I'm not sure how to compile it after making changes or what steps I should do with it. EV: I always set Eclipse to autocompile on save. Also I've been editing the XML files to create new games. I'm having some major bugs and/or issues. When I copy a game then I can only use tiles from the game I copied. Once I try putting in a tile from a different game then my tile manifest will show zero tiles available and I can't start public companies on that tile if it's a city tile. Even when I edit tiles.xml file it won't show the changes. EV: You need to change both Tiles.xml and TileSet.xml. Best is to start with the latter, and then fill the game-specific Tiles.xml with copies of the corresponding tile definitions from the generic Tiles.xml (under tiles). You can also generate Tiles.xml from TileSet.xml with class tools.MakeGameTileSets. Or I can do that for you, as well as create any new tiles that are not yet included in the generic Tiles.xml. I think the problem is in the game.xml file. When I copy over an existing game like 1830 and then change the game name to something like 18Test the game won't start up and it errors out. If I keep it at 1830 but change the gamelist.xml file then it shows up in the menu as 18Test but with the problems above. EV: You need to do both. I guess the question is how do I start a game from scratch? And if this isn't possible how do I pull in tiles from other games if I copy a game over? This has been very frustrating. |