Hey guys First help request, ive tried searching around and havnt found a cure to my problem
Creating my first demo and Im trying to load a animated gif using Purebasic, only Purebasic has no native support, im aware that some of you are experts using purebasic, im a noob
this is the first code ive made
Does anyone know how it can be done? Im sorry if this is way below your level, it`s above mine
InitSprite()
UseJPEGImageDecoder()
InitKeyboard()
OpenScreen(800,600,32,"PBWINDOW")
Sprt1 = LoadSprite(#PB_Any, "test.jpg")
Sprt2 = LoadSprite (#PB_Any, "commodore64.jpg")
Repeat
ExamineKeyboard()
ClearScreen($006600)
DisplaySprite(Sprt1, 0,0)
DisplaySprite(Sprt2, 100, 100)
FlipBuffers()
Until KeyboardPushed (#PB_Key_Escape)
End
DataSection
Image:
IncludeBinary "commodore64.jpg"
EndDataSection The image i trying to use
Attach:c64_1_ani.gif