DrawingMode,DrawingFont,Locate....Don't work!!!
Posted: Wed Apr 12, 2006 12:50 pm
In my free time i'm just programming a vertical scroll game, and i want write a text on the screen in full mode- full screen. when i run the compiler i look an alert like this:
Example code--------------------------------------------------------------------
What is the problem?Why don't work???can anyone help me please?? thanks.......
Code: Select all
Purebasic- Error
Error:Linker
ndeined symbols:
_PB_DrawText
_PB_DrawingFont
_PB_DrawingMode
_PB_FrontColor
_PB_Locate
_PB_ScreenOutput
_PB_StartDrawing
_PB_StoptDrawing
_PB_2DDrawing_CurrentDC
collect2: Id returned 1 exit status
Code: Select all
StartDrawing(ScreenOutput())
DrawingMode(1)
DrawingFont(#PB_Default)
FrontColor(20,255,130)
Locate(650,5):DrawingFont("Punteggio")
Locate(700,30):DrawText(Str(Punteggio))
Locate(700,50):DrawText(Str(NumeroAsteroidi))
If Dead=1
DrawingFont(UseFont(9))
FrontColor(255,0,0)
Locate(300,300):DrawText("GAME OVER")
EndIf