Hi, i have a game (DitraFall) where i show an image in the background and some text is displayed, but i would really like to scale that text to fit several screens, and i want to achieve this by doing this:
but no text is displayed is there something wrong with the X_CAMERA or X_PRINT commands i placed?
i already tried commenting the STRETCHSPRITE but still nothing displayed... thanks in advance you guys are awesome
Code (glbasic) Select
SUB intro:
WHILE TRUE
rel.released();
STRETCHSPRITE 21,0,0,sx,sy
INC mn,1
X_MAKE3D 1,1000,45 // TEST FOR SCALABLE TEXT //
X_CAMERA 0, 0, 0, 0, 0, -1
SETFONT 8
IF PLATFORMINFO$("LOCALE") = "es"
X_PRINT "presenta...",sx/2-(LEN("presenta...",TRUE)/2), sy/1.5, -1, 1//TRUE // TEST FOR SCALABLE TEXT //
ELSE
X_PRINT "presents...",sx/2-(LEN("presents...",TRUE)/2), sy/1.5, -1, 1//TRUE // TEST FOR SCALABLE TEXT //
ENDIF
IF mn > 260
PLAYMUSIC "hola.mp3", TRUE
X_MAKE2D // TEST FOR SCALABLE TEXT //
IF PLATFORMINFO$("LOCALE") = "es"
GOSUB MENU
ELSE
GOSUB MENUE
ENDIF
ENDIF
SHOWSCREEN
rel.released();
WEND
ENDSUB
but no text is displayed is there something wrong with the X_CAMERA or X_PRINT commands i placed?
i already tried commenting the STRETCHSPRITE but still nothing displayed... thanks in advance you guys are awesome