Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Tile Studio by Weiring Software & DBpro

Author
Message
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 31st Aug 2011 13:31 Edited at: 31st Aug 2011 13:53
Not sure if there is still much interest in 2D tilemap style games but I remember tinkering with Tile Studio a few years ago. I found it more geared toward my liking than Mappy (though that could be for a mix of reasons, and I don't actually recall enough of the details of both apps).

http://tilestudio.sourceforge.net/

So I gave it a quick look again today after re-stumbling upon it and began compiling some of the examples. There are some minor code generation issues (ie. spaces between function names and brackets), that I should be able to fix in the .tsp file later today. After manually editing offending lines, examples seem to be working and run remarkably faster than the OLD included precompiled DBpro .exe's.

I'll post up a corrected .tsp file later.

Perhaps others out there are interested in coding a layered tilemap game and rather not spend the time right away building a map/tile editor + scrolling/animated frames/collision engine etc.

Quick links to files for Tile Studio
And the Older DBpro examples/source that I'll fix:

Tile Studio Download .zip
Dbpro Examples with older .tsp .zip
Tile Studio Tutorial html

Your signature has been erased by a mod please reduce it to 600 x 120.
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 31st Aug 2011 17:32
This is pretty cool. I love the demo, but it seemed a little sluggish on my comp and I have a quad core i7, so it made me wonder at what speed it would run if I have a lot of sprites moving around. Printed text size was rather large. Perhaps Cloggy's D3D text plugin would help speed things up further.

I tried running the .dbpro file to include the FPS, but it is missing the DrawTile(map, sx, sy, tile) function, so I don't know how fast it actually ran.

zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 31st Aug 2011 22:26
With reg to the demo. if you ran the precompiled .exe,, it is sluggish. When I recompiled the demo project it ran fine,, I'll try to get the fps. And I have nowhere near the cpu you have. I'm running an Acer laptop Centrino Core2 Duo @1.5Ghz, 2GB RAM and an nVidia Geforce 8600m GT.

Your signature has been erased by a mod please reduce it to 600 x 120.
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 2nd Sep 2011 21:30 Edited at: 2nd Sep 2011 21:33
Here's the fixed dbpro.tsd file. I have set it to look for the tileset in the projects \media folder. The tileset image is set to .png. If you prefer to use .bmp either make the change in the .tsd or edit the .dba include file after the code is generated.

Just save the code snippet as dbro.tsd in notepad and replace the existing dbpro.tsd


NOTE!: You must edit out the "/" in the following line mentioned after the code is generated
/#Constant LAYER_<TileSetIdentifier>_<MapIdentifier> = (<TileSetNumber> \<\< 8) + <MapNumber>
'remove the / from the above line




Your signature has been erased by a mod please reduce it to 600 x 120.

Login to post a reply

Server time is: 2024-11-24 01:49:27
Your offset time is: 2024-11-24 01:49:27