Menu

Show posts

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 Menu

Topics - Hark0

#61
Hi!

Another simple question...

I ar developing a game for PPC... I make my own Exit button.

It's possible disable the Exit App Button added by GL (Blue square + White X)?

TIA, Hark0

P.S. Sorry for my bad english.
#62
Hi, I tried to compile my app/game for PPC on new GLBasic v6.111 an I obtain a compile error

The same code compiled on GLBasic 5 works perfectly.

TIA, Hark0

Code (glbasic) Select
compiling:
C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp: In function `DGInt __GLBASIC__::CargaDatosNivelDisco()':
C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp:38: error: invalid initialization of reference of type 'DGNat&' from expression of type 'double'
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:825: error: in passing argument 2 of `void __GLBASIC__::READBYTE(DGNat, DGNat&)'
C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp: In function `DGInt __GLBASIC__::CargaConfigSistema()':
C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp:67: error: invalid initialization of reference of type 'DGNat&' from expression of type 'DGInt'
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:825: error: in passing argument 2 of `void __GLBASIC__::READBYTE(DGNat, DGNat&)'
C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp:72: error: invalid initialization of reference of type 'DGNat&' from expression of type 'DGInt'
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:825: error: in passing argument 2 of `void __GLBASIC__::READBYTE(DGNat, DGNat&)'
C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp:77: error: invalid initialization of reference of type 'DGNat&' from expression of type 'DGInt'
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:826: error: in passing argument 2 of `void __GLBASIC__::READWORD(DGNat, DGNat&)'
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 2.4 sec. Time: 12:13
Build: 0 succeeded.
*** 1 FAILED ***



SOURCE CODE:


FUNCTION CargaDatosNivelDisco:

OPENFILE(1, "data/lvl0000.dat", TRUE)

FOR ContadorY=0 TO 9
FOR ContadorX=0 TO 9
READBYTE 1,GraficosDatosNivel[ContadorX][ContadorY]
NEXT
NEXT

CLOSEFILE 1

ENDFUNCTION



#63
Hi!

My question it's very simple...

It's possible to hide/disable the message "Loading..." that's appear at start the application?


TIA, Hark0
#64
Hi!

I'm testing the possibilities of GLBasic.

I just downloaded / installed / upgraded GLBasic to GLBasic IDE, Version: 5.235.

I copy / paste the first sample.

PRINT "HELLO WORLD!" ,100,100
SHOWSCREEN
MOUSEWAIT
END

I compile / run the app and this show's on screen then message text.

The problem happens when I touch the screen with the mouse [function MOUSEWAIT jump to END for exit the app].

The computer freezes 4-5 secs before exit on this hardware:

HP Pavillion dv4000. Cpu: Intel Centrino 1.6 Ghz. 1 Gb RAM.
Video Card: Intel Mobile 915GM/GMS / 910GML 128 Mb.

and...

The computer freezes 18 secs before exit on this hardware:

UMPC Asus R2H. Cpu: Intel Celeron-M 900 Mhz. 1 Gb RAM.
Video Card: Intel Mobile 915GM/GMS / 910GML 128 Mb. (It's the same video card).


I tried to compile for CE devices... and in my HP6815 the application exists instantaneously.

I found other post on this Forum with the same problem.

I upgraded the drivers of my Video Card to lastest version.


Please, ¿any solution?.

TIA, Hark0
#65
Hi!

I'm are testing the posibilities of GLBasic on PPC platform...

I tried this "simple" code...

LOADBMP "grfx/fondo002.bmp"
PRINT "HELLO WORLD!" ,0,0
SHOWSCREEN
MOUSEWAIT
END

NOTE: I tried with 2 kind of bpp images: 240x320 px 16 bpp and 8 bpp.

16 bpp - 226 kb
8bpp - 77 kb

When I run this code on Win32... this works FAST!!!

On PPC... I get...

1.- Black screen image with "loading..." label text
2.- DEMO image (ok, it's a demo sdk)..
3.- UGLY "X" button for close app

4...5/10 seconds later!!!! I see my image!!!!
5. Hello world text.

My questions:
1- It's normal this slow speed for load an 77kb image?
2- How disable X close button

TIA, Hark0
www.monkeydreams.net