Just starting out? Need help? Post your questions and find answers here.
-
AF2013
- Posts: 1
- Joined: Wed Mar 26, 2014 9:27 pm
Post
by AF2013 »
Hello Everyone
I just bought purebasic and got SpiderBasic demo
I have try out to put image on the screen but it doesnt show it up
Code: Select all
#ScreenWidth = 1024
#ScreenHeight = 768
OpenScreen(#ScreenWidth, #ScreenHeight, 32, "Putting Sprites on screen")
LoadSprite(1, "HOTTIE.png")
DisplaySprite(1,10,10)
FlipBuffers()
Am I missing somethings?
-
Paul
- Posts: 195
- Joined: Wed Feb 26, 2014 6:46 pm
- Location: Canada
-
Contact:
Post
by Paul »
Look in the SpiderBasic Examples folder.
Code must be structured differently than what you may be use to in PureBasic.
-
netmaestro
- Posts: 7
- Joined: Tue Feb 25, 2014 10:31 am
Post
by netmaestro »
I don't see a UsePNGImageDecoder() in there...