Please add a check for missing InitSprite()
Posted: Wed May 16, 2007 4:08 pm
Hello!
I forgot InitSprite() within my testcode. To prevent future users from searching a non-existing error, I suggest to add a check, if InitSprite() is missing.Commenting 1st line leads to a linker error
that outputs 26 (!) errors...
Please, not that I'm not the best at programming games. Forgive me, if this request is illogical.
I forgot InitSprite() within my testcode. To prevent future users from searching a non-existing error, I suggest to add a check, if InitSprite() is missing.
Code: Select all
;InitSprite() ;- try this
OpenScreen(640, 480, 32, "DrawingBuffer() Test")
StartDrawing(ScreenOutput())
buffer=DrawingBuffer()
For n=1 To 255
PokeL(buffer+n, n)
Next
StopDrawing()
FlipBuffers()
Delay(3456)

Please, not that I'm not the best at programming games. Forgive me, if this request is illogical.