The program below is a simple tile map. Please excuse the crudity as it is just a concept.
I would appreciate some clarity. The program does not work as it should. I have run this example on both RCBasic and SDLBasic and it ran just fine.
I thought I would try to convert a tile map game to QB64 and went with this concept first.
Data 11111111111111111111 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10000000000000000001 Data 10022222222222222001 Data 10222222222222222201 Data 11111111111111111111
ink = 0
Line (x
* 32, y
* 32)-Step(32, 32), ink
, BF
As you can see, the first "block" of the x and y coords should start a 0,0 but somehow it doesn't.
Can someone run this in Windows? I'm hoping that it's not another "Linux thing"...
I am running on Linux Mint 20 using QB64 1.5 stable from git 3043116
Thank you
J
[ You are not allowed to view this attachment ]