I already have most of it worked out, u just cant seem to be able to make collisions work... Ive seen other posts about this, but i can really understand the answers, can someone fix my code and explain what your fix does?
Here is my code, i apologize in advanced for anyone offended by my code...
Rem ***** Included Source File *****
Rem This is the source code, for EDUCATIONAL USE!(unless i say otherwise)
Rem This section is the title screen, along with the instructions
set text size 25
cls rgb(192,192,192)
Print "Ace's Maze game"
Print "any key to continue"
wait key
cls rgb(192,192,192)
load music "gm.mp3", 1
Print "INSTRUCTIONS"
Print "Use arrow keys to control the character"
Print "Press escape at any time to exit the game"
Print "any key to continue"
wait key
cls rgb(192,192,192)
Rem This is the end of the title screen, as you can see i used the CLS command to clear the screen
Rem this is also the beginning of the game
loop music 1
Sync on : hide mouse : sync rate 60
load image "player.png", 2
load image "bunker.bmp", 1
load image "Maze1.bmp", 3
x = 0 : y = 0
sprite 2, x, y, 2
sprite 1, x, y, 1
sprite 3, x, y, 3
do
sprite 2, x, y, 2
if upkey()
y = y - 4
endif
if downkey()
y = y + 4
endif
if leftkey()
x = x - 4
endif
if rightkey()
x = x + 4
endif
sync
loop
Rem here is the end of the game, i plan on adding more soon like a path for the maze...
I don't always make games, but when I do I prefer TGC