Touchpad WebOS app always starts upside down in portrait mode and does not respond to manually setting the orientation with the SETORIENTATION command. Any ideas?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote
Quixotic (Quick-Sotic) Take command of Earth's last remaining line of defense against the sinister shenanigans of the accursed Beta-8 Alliance. You command the last remaining orbiting defense platform QXC-01, better know as the "Quixotic" defense station. Outfitted with an 8-way laser cannon system, the QXC-01 is capable of impressive firepower. Power-ups will beam to your area from time to time to increase the capabilities of the mighty QXC-01... supercannon, lasersaw, and lightning nuke are but a few of the special weapons that will become available to you during your magnificent resistance. The enemy is merciless, the onslaught is intense. The fleet you face is varied... ramships, bombers, fighters, fast scout ships, sniper ships, and the awe-inspiring firepower of the wicked Girtan Gunship.. not to mention the appearance of those dastardly Beta-8 Generals including that nasty little taunting germ-thing in a diaper. The survival of the people of Earth hangs in the balance! Features: Intuitive 8-Way laser cannon system to defend the Quixotic station! Retro-inspired intensely addictive gameplay! Responsive left or right handed touch-screen controls! (however, we suggest you use both hands.. seriously) Power-ups, bonus-points, and hull-healing warp cores! Excellent arcade-type sound effects and music! A veritable potpourri of stylish enemies with varied attack strategies! Bone cracking boss battles! Retro-inspired HD graphics & cool special fx! We find ourselves in this hopeless but glorious battle, fight on as long as you can! Good luck, Commander!
// --------------------------------- //
// Project: PolyFont BY GulfRacer
// Start: Sunday, October 16, 2011
// IDE Version: 10.106
LOCAL screen_x, screen_y
GETSCREENSIZE screen_x, screen_y
SETCURRENTDIR("Media")
LOADSPRITE "font.png",1000 // LOAD YOUR FONT AS A SPRITE
WHILE TRUE
PrintPoly("** This is a PrintPoly test! **",screen_x/2, 100, 1000, RGB(255,0,0),1) // WARNING: USE COLOR RGB(255,255,255) FOR MOBILE DEVICES
PrintPoly("This text is centered!",screen_x/2,150,1000, RGB(0,255,0),1)
PrintPoly("This text is not!",screen_x/2,200,1000, RGB(0,0,255),0)
SHOWSCREEN
WEND
FUNCTION PrintPoly: text$, x, y, font, color, center
LOCAL font_sizex, font_sizey, char_row, char_col, text_length
LOCAL loop_foo, cur_char$, cur_char_code
LOCAL texture_x, texture_y, cols, rows, center_x=0
text_length=LEN(text$)
IF text_length>0
GETSPRITESIZE font,font_sizex,font_sizey
cols=font_sizex/16 // GET THE COLUMN SIZE IN PIXELS
rows=font_sizey/8 // GET THE ROW SIZE IN PIXELS
IF center=1 THEN center_x=text_length*cols/2
FOR loop_foo=0 TO text_length-1
cur_char$=MID$(text$,loop_foo,1) // GET THE CURRENT CHARACTER
cur_char_code=ASC(cur_char$) // GET THE CURRENT CHARACTER CODE
char_row=INTEGER(cur_char_code/16) // FIND THE ROW IN THE FONT MATRIX THE CHARACTER BELONGS TO
char_col=INTEGER(MOD(cur_char_code,char_row*16)) // FIND THE COLUMN IN THE FONT MATRIX THE CHARACTER BELONGS TO
texture_x=char_col*cols // LOCATE THE TEXTURE PIXEL X LOCATION IN THE FONT MATRIX
texture_y=char_row*rows // LOCATE THE TEXTURE PIXEL y LOCATION IN THE FONT MATRIX
STARTPOLY font
POLYVECTOR x-center_x+(loop_foo*cols),y,texture_x,texture_y,color
POLYVECTOR x-center_x+(loop_foo*cols),y+rows,texture_x,texture_y+rows,color
POLYVECTOR x-center_x+(loop_foo*cols)+cols,y+rows,texture_x+cols,texture_y+rows,color
POLYVECTOR x-center_x+(loop_foo*cols)+cols,y,texture_x+cols,texture_y,color
ENDPOLY
NEXT
ENDIF
ENDFUNCTION