I'm about to release the next version, maybe tomorrow. There's lot's of new stuff... here's a preview:
![Image](http://somepic.someserver.de/pics/thumb/beb955fd0e44444ac6e04216a0c17a09.png)
On another note: Is there anyone who'd like to contribute some more sound effects?
Nabakin wrote:...Any tips to give a semi-newbie?
Thanks!
![Smile :)](./images/smilies/ms-smile.png)
For the map rendering, have a look at the Image subfolder. There's all the tiles I use... and then I piece them together in Scripts/mapRenderPart.lua (
https://github.com/Germanunkol/trAInspo ... erPart.lua), you can check that out as well.
Basically, first I create a table of tables, so that I get a two-dimensional representation of the map. Then I fill it with Letters - R for rails, H for house etc. And at the end I go through table line by line and create an imageData that I paste the tiles into using imageData:paste(). At the end I create an image from that.
Of course it gets a little more involved: I split it up into multiple threads and map parts. Also, there's things like the edges that I need to look out for: they get other images. But basically, the above procedure was how I started - so that was pretty straight forward.
Some say this is not the best way, and I should use sprite batches instead. But I don't think I'll change it back now... it works
![Razz :P](./images/smilies/ms-razz.png)