After a long time of neglect, I'm back on with my hex tiles adventure / strategy game engine that some of you may remember. This is an update and a question please:
To generate the screen (see mock up attached to see where I'm up to with the look and feel of the thing) I'm using a 2bpp layer 0 tile map to create the hex shapes and the user interaction panel on the right, then overlaying a 4bpp tile map with the icons to create the rivers / roads / bridges / hex graphics etc. I've got the memory banks planned out now - the entire playable area is 64 x 64 hexes, made up of 32 different types of terrain, each hex with its own individual resources/attributes/roads/rivers - I've worked out a neat little system to get ALL the rivers/roads/bridges into 6 bits per hex which I'm dead chuffed with - the whole hex map now fits in 3 x 8k memory banks.
I have got a working scrolling hex-map explorer routine working in assembly that just updates the colour attributes of layer 0 to "move" the hexes around, but I'm still VERY much an assembly noob, just reading up on instructions here and there to get something working on screen, so I've got no good "overview" of assembly coding in general.
I need to code up lots and lots of messages that will be required - (example in screenshot) - this strategy/resource management/adventure game is going to have a large dollop of text-adventure flavour. At the moment, I'm using CBM PRG studio to hard code the binary files, entering text as tile index/attribute byte pairs (see second screen shot below) and exporting it to a bin file to load directly into VRAM / RAM banks as appropriate. And whilst this is working for me, typing in "byte 01,$0F" just to display the letter A on screen is a complete and utter BALLACHE (please excuse the language!) - it'll take until Christmas just to enter all the text....
tl/dr: please can someone tell me there's a better way of getting text into the assembler!!
Question
JohnGill
Hi all,
After a long time of neglect, I'm back on with my hex tiles adventure / strategy game engine that some of you may remember. This is an update and a question please:
To generate the screen (see mock up attached to see where I'm up to with the look and feel of the thing) I'm using a 2bpp layer 0 tile map to create the hex shapes and the user interaction panel on the right, then overlaying a 4bpp tile map with the icons to create the rivers / roads / bridges / hex graphics etc. I've got the memory banks planned out now - the entire playable area is 64 x 64 hexes, made up of 32 different types of terrain, each hex with its own individual resources/attributes/roads/rivers - I've worked out a neat little system to get ALL the rivers/roads/bridges into 6 bits per hex which I'm dead chuffed with - the whole hex map now fits in 3 x 8k memory banks.
I have got a working scrolling hex-map explorer routine working in assembly that just updates the colour attributes of layer 0 to "move" the hexes around, but I'm still VERY much an assembly noob, just reading up on instructions here and there to get something working on screen, so I've got no good "overview" of assembly coding in general.
I need to code up lots and lots of messages that will be required - (example in screenshot) - this strategy/resource management/adventure game is going to have a large dollop of text-adventure flavour. At the moment, I'm using CBM PRG studio to hard code the binary files, entering text as tile index/attribute byte pairs (see second screen shot below) and exporting it to a bin file to load directly into VRAM / RAM banks as appropriate. And whilst this is working for me, typing in "byte 01,$0F" just to display the letter A on screen is a complete and utter BALLACHE (please excuse the language!) - it'll take until Christmas just to enter all the text....
tl/dr: please can someone tell me there's a better way of getting text into the assembler!!
Many thanks in advance.
John
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.