Thanks to KR155E’s demo (and the suggestion of using the older gccVB) I can finally start writing software for VB! Thanks a bunch!
I’ve been playing around with displaying BGMaps to the screen, but I realized that in order to do any work with small sprites, objects are what I should use. My question is… where do I start? I looked through libgccvb’s (the one that KR155E included with the demo) vbSetObject procedure, but I’m confused as to where to go next, can someone point me in the right direction? I know I should probably make an object world, but I’m totally lost as to where to go from there.
(Pretty soon, I’m going to want to start playing around with affine mode π )
I’m not sure if that’s a glitch/bug or not, but it’s kind of hard to debug with just a screenshot (which doesn’t even show the problem) and no source. π
But seriously, I know I encouraged you a lot in this thread to try using OBJs, but I’m not sure why you’re using them in this instance.
What exactly is the “messy stuff” which you mentioned? Grids of Chars are exactly what BGMaps are for! It is also perfectly fine to change the Char references in BGMap cells on-the-fly. In fact, the BGMaps for both the grid and the cursor could be easily made by your program in a few for loops, without using anything like VIDE or grit (except for converting the chars themselves).
Actually, with such a small number of chars in use, you could even use a different char for each cell and change the image by editing the chars directly.
But, if you really want to use OBJs, I’ll try to help with the cursor problem (?).
Reality Boy/Red dragon doesn’t emulate the objects and the object worlds perfectly. My old obj pointer demo shows that, since the objects show up in the wrong worlds under certain circumstances compared to on hardware….
Grids of Chars are exactly what BGMaps are for! It is also perfectly fine to change the Char references in BGMap cells on-the-fly. In fact, the BGMaps for both the grid and the cursor could be easily made by your program in a few for loops, without using anything like VIDE or grit (except for converting the chars themselves).
If it’s really that simple, then maybe I will switch to BGMaps. The objects thing was getting kind of messy anyway… I’ll just have to rework my code a bit to get it to work that way. Shouldn’t take too long. π