I thought I'd review the steps on how to create a tiled background image for use with 7800basic, specifically for a map that will work with the 160A display mode along with 'set doublewide on' in your code. It works great and is a big time saver.
Before you start, all of your graphics should be completed. If you make any changes to your tileset graphics in the future, the changes will automatically be reflected in the map. Tiled does not create an image file, it creates an XML file that maps out and links to the different graphics images that you have. If you dramatically change your graphics images you will have to update your map file (or files).
Before we continue, here's a note from RevEng:
The tutorial here assumes 160A mode (as stated) as well as the "set doublewide on" setting. Normally the width of one character in 160A mode is 4 pixels wide, but adding "doublewide" changes that to 8 pixels wide. This is why I used "8" for the "tile width" in Tiled.
If you wanted to adjust this tutorial for another mode, you can just lookup the width of one character in that mode in the table I linked to, and adjust for "set doublewide on" if you use it. That will be your value for "tile width". The "tile height" will be your zone height, and you can adjust the map size as you prefer.
Time for Tiled
First, download the Tiled app.
Once you've installed it, select File->New.
Make sure you select the correct options for your new map. Select an orthogonal orientation, XML format, 20x12 map size, and 8x16 tile size.
Now you're ready to load up your tileset graphics. You can load multiple sets.
Click on browse to select your tileset. Make sure you set your options as seen in the screenshot.
Your first tileset is now loaded. I generally increase the size to 400% to make it easier to see.
You can now left click on a tile to use on the map, or hold down the CTRL button and select multiple tiles at a time.
You can now draw on the map screen. If you hold the left button mouse down, you can drag the background tile to fill the map screen.
You can load multiple tilesets (each one will get its own tab). I generally increase the map size to 200% to make it easier to see.
Once you're happy with your map design you can save it as a tmx file and use it in your 7800basic program.
View this page and any external web sites at your own risk. I am not responsible for any possible spiritual, emotional, physical, financial or any other damage to you, your friends, family, ancestors, or descendants in the past, present, or future, living or dead, in this dimension or any other.