Hello fellow programmers, I'm having a problem with my game. Whenever I compile it, I get an error message saying PARSER ERROR and UNDEFINED PARSER ERROR. What this means I have no idea, the only piece in my code with parsers is my function, but I believe that my function is alright. Here is my code if you're interested:
Rem ***** Main Source File *****
rem *** Game Main Setup ***
set display mode 1024, 768, 32
autocam off
hide mouse
sync on
sync rate 130
rem *** End Game Main Setup ***
rem *** Load media ***
`Load the logo
LOAD IMAGE "Media\Sprites\Logo.png", 1
`Load the player sprite
LOAD IMAGE "Media\Sprites\Charles_trans.png", 2
rem ** Levels have extension of hundred
`Load the backgrounds
LOAD IMAGE "Media\Sprites\Level 01\City_Background.png", 100
LOAD IMAGE "Media\Sprites\Level 01\City_Shading.png", 101
LOAD IMAGE "Media\Sprites\Level 01\City_Ground.png", 102
LOAD IMAGE "Media\Sprites\Level 01\Star.png", 103
loadbackground(100, 101, 102)
DO
sync
LOOP
function loadbackground(background, shade, ground)
SPRITE background, 0,0, background
SPRITE shade, 0,0, shade
SPRITE ground, 0,700, ground
endfunction
Do you guys see any problems with the code? Because i sure don't.. Please help me and thanks in advance.