I have put together a small starter package for you. It has one door.
I have attached a horribly bad maze graphic I made with MS Paint, which you can save to your computer and load into the provided code. It's really just a sample though, to show that we can load a maze this way.
(You can also draw 2D mazes with the
BOX command.)
I
have not placed your door or enabled it to open with mouse clicks. Look at the DBPro help in your editor (Press F1) and figure out how to copy sprites to make more doors. You
will see an example in the code for rotating your doors. Play with
OFFSET SPRITE to find your hinge point.
sync on:sync rate 25 `SET YE OLDE LOOP SPEED
load image "\???\maze.png",1 `LOAD YE OLDE GRAPHIC
x=image width(1) `RECORD YE OLDE IMAGE WIDTH
y=image height(1) `RECORD YE OLDE IMAGE HEIGHT
set display mode x,y,32 `SET YE OLDE PIXEL SIZE AND SUCHETH
set window layout 0,0,0 `SET YE OLDE WINDOW STYLIN'S
load image "\???\maze.png",1 `RELOAD YE OLDE GRAPHIC BECAUSE SET DISPLAY MODE KILLS IT
red=rgb(200,0,0) `RECORD YE OLDE COLOR
door=2 `RECORD YE OLDE NUMBER FOR DOOR'S IMAGE & SPRITE
box 0,0,7,30,red,0,red,0 `MAKE YE OLDE GRADIENT BOX FOR A DOOR
get image door,0,0,7,30 `CAPTURE YE OLDE BOX AS AN IMAGE
sprite door,0,0,door `GENERATE YE OLDE SPRITE FROM YE OLDER IMAGE
hide sprite door `HIDE YE OLDE PERMANENT SPRITE
do `DO WHAT YE OLDE FOLK DO
paste image 1,0,0 `PASTE YE OLDE MAZE
paste sprite door,xMove,yMove `PASTE YE OLD TEMPORARY SPRITE
rotate sprite door,sprite angle(door)+1 `WHEEEEEEEE!!!!!!!!!
inc xMove `INCREASE YE OLDE X VALUE
inc yMove `INCREASE YE OLDE X VALUE
sync `SYNC YE OLDE SPEED
LOOP `....AND HERE WE GO AGAIN.....
If this isn't what you wanted... sorry!

Someone else may give you different ideas.
If you're wondering about how to do wall collisions with an image like this, look up the
POINT command. I used it exclusively in my demo for
D-ZONE. A lot of people say the command is slow, but I say do what works for you.