Hi, I need to create a virtual screen of 2200 px and does not work properly because DRAWSPRITE draws nothing. What could be the problem?.
CREATESCREEN 2,100,768,2200
USESCREEN 2
PRINT "TEST",0,0,1
USESCREEN -1
DRAWSPRITE 100,0,0
SHOWSCREEN
MOUSEWAIT
END
Your code worked for me.
How is it possible? :S Tested on PC and WebOS :sick:
Does the code work for smaller sprite sizes? Instead of print, try drawing some lines!
It works perfectly for smaller virtual screens. Actually my code includes graphics (DRAWSPRITE and DRAWRECT). I used PRINT only to post a simple example.
I've noticed that does not work for dimensions greater than 2000 px.
Could you make the sprite available too ?
Alright. So as not to createscreen, can you just loadsprite and drawsprite a pre-made image larger than 2000px?
Problem a gfx card texture issue ?
Some graphics dont support officeren lagrer then the desktop resolution used, what what you using?
There are minimum and maximum texture sizes for each graphic card/driver. Maybe your one does not support images bigger than 2048pxl.
But you can still load the Image with LOAD2MEM and resize it manually before you transform it to an displayable sprite with MEM2SPRITE.
Thanks to all, I have finally chosen split into two virtual screens.