12-30-2023, 08:49 PM
This dates back to the pre-GL days. The reason this archive is labeled "GL Version" is because I had to go in and modify things to work after the conversion from SDL to GL. When Galleon converted us over to GL, he was still in the process of migrating commands and syntax and all over. One thing he missed was the ability to use STEP with _PUTIMAGE, and this makes heavy use of that STEP to choose which tiles to move and shuffle around.
To start with, I went in and had to make all the STEP statements absolute coordinates in the conversion. _PUTIMAGE (x,y)-STEP(100,100) was turned into _PUTIMAGE (x, y)- (x + 100, y + 100), for instance.
Then, after being annoyed to death by that conversion process, I did some of my first real digging into the c-source of qb64 and made the changes to libqb myself so that STEP would work properly once again with _PUTIMAGE.
This isn't just the first program which I shared on those ancient forums back then (they were the forums right after QB64 broke away from QBASIC.com and Galleon was hosting them with his first provider); this is also the main reason why I ever once worked up the courage to start delving into the c source and working on sorting out libqb and how it all functioned and worked together with things for us.
As I said, there's a LOT of old history tied up in this little game!
I guess indirectly, it's one of the first real building blocks which has helped lead to us ending up all here together nowadays.
To start with, I went in and had to make all the STEP statements absolute coordinates in the conversion. _PUTIMAGE (x,y)-STEP(100,100) was turned into _PUTIMAGE (x, y)- (x + 100, y + 100), for instance.
Then, after being annoyed to death by that conversion process, I did some of my first real digging into the c-source of qb64 and made the changes to libqb myself so that STEP would work properly once again with _PUTIMAGE.
This isn't just the first program which I shared on those ancient forums back then (they were the forums right after QB64 broke away from QBASIC.com and Galleon was hosting them with his first provider); this is also the main reason why I ever once worked up the courage to start delving into the c source and working on sorting out libqb and how it all functioned and worked together with things for us.
As I said, there's a LOT of old history tied up in this little game!
I guess indirectly, it's one of the first real building blocks which has helped lead to us ending up all here together nowadays.