After my game has run, this error message pops up:
Quote: "Encountered a RETURN statement when not in a GOSUB in _init.agc at line 11"
I have this in
main.agc:
#include "_init.agc"
gosub _init
I have this in
_init.agc:
_init:
SetWindowTitle( "2D Dynamic Shaddows" )
SetWindowSize( 160, 100, 1 )
SetVSync( 1 )
SetResolutionMode( 1 )
SetVirtualResolution( GetMaxDeviceWidth(), GetMaxDeviceHeight() )
SetDefaultMagFilter(0) // 0 nearest 1 liniar
SetDefaultMinFilter(0)
SetScissor( 0, 0, 0, 0 )
SetPrintSize( 32 )
return
Does this make sense?