DarkBASIC comes with a nice little help file, you should read it sometime...
If you want your game to look good (im assuming you are doing this all 2D) then make a bitmap or something of a maze. Make sure the floor of the maze is black, later when you get better you can try out new things, but as long as the floor is black and if you set it as a sprite, then you will have no wall problems once you set the sprite collision codes in.
To load in the maze that you made and set it as a sprite, use this:
load image "maze.extentionname",1
sprite 1,0,0,1
This code assumes that you make your map fullscreen at 640x480.
For movement, you will need to devise a code for moving, which will probably look like this:
load image "whateveryourimagenameis.extentionname",1
sync rate 100 : sync on
do
if upkey()=1 then y=y-10
if downkey()=1 then y=y+10
if leftkey()=1 then x=x-10
if rightkey()=1 then x=x+10
sprite 1,x,y,1
loop
For this, use a ball or something that can fit within your maze fairly easily.
And for collision, use this:
if spritecollision(1,0)
depends=olddepends
endif
Depends means whatever key(up, down, left, right) was used to originally hit the wall.
You can use these concepts to make your game work. If you have any questions then contact me any way that you can.
Hope this helps.
-Vash the Stampede
Intel Pentium 4 3.0 Ghz 1024MB Ram NVIDIA GeForceFX 5200 128MB 19" LCD DVI Viewsonic