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

Messages - Hark0

#992
Yes... but no at 100%....


In my version 6.206 (updated this morning) of GLB the option "Fullscreen" are allways ON for WINCE devices.

:x

Hmmmm

#993
Hi!

It's possible to set fullscreen 240,320,0 ????

But no works on PPC device....



Any solution or trick?

TIA, Hark0
#994
You can use Resource Hacker.

http://angusj.com/resourcehacker/

=D
#995
Thank you...

I do not know how it was possible to pass this Command....

:-[  :good:

Hark0

#996
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.
#998
Thanks!!!

=D

Where I can find Changelog for GLB 6.111?

#999
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



#1000
Announcements / Re: Spots
2008-Oct-22
Quote from: MrTAToad on 2008-Oct-21
Hope you liked it!

The main thing I need to get up and running again is the computer AI system.  I disabled this when the main game display system was changed.

I think the change/adapt "GUI" game for unify all graphics style it's a goooooooooooood idea.  :good:

(In my opinion, the options/menu (txt)... screens are "very simply").



;) Hark0

(PS: Sorry for my bad/poor english)  ;/


#1001
Announcements / Re: Spots
2008-Oct-21
Hi!

I have downloaded / played your Spots 0.0.0.1  ;)

:good: I don't know this gameplay!!

Cheers, Hark0
#1002
GLBasic - en / Re: PlayMusic
2008-Oct-20
About playmusic....

I found another post on this forum talking about SDL_mixer (for PPC devices).

Any source sample for load/init SDL lib?

TIA, Hark0
#1003
Quote from: Hemlos on 2008-Oct-09
Quote from: Hark0 on 2008-Sep-28
I think one "trick solution".
It's replace manually on final app EXE with hex editor the "Loading..." with another text (max.  10 chrs.).

Heres how you can do exactly that without a hex editor:
1.  First make a font "smalfont.png" with Dings font tool
2.  Then add this function CENTERPRINT(): (centers your text in middle of screen, using your font)
3.  Call it before you load stuff like this: FORMAT: CENTERPRINT("Loading Stuff")
Note: you can call the function as many times as you want..you can even get creative with it..
       CENTERPRINT("Loading Stuff")
     CENTERPRINT("..Loading Stuff..")
   CENTERPRINT("....Loading Stuff....")
CENTERPRINT("......Loading Stuff......")

Code (change loading messages:) Select

CENTERPRINT("Loading Shoebox")
SETSHOEBOX "resources.sbx",""

CENTERPRINT("Loading Graphics")
LOADBMP "resources/image.png"

WHILE TRUE
Print "Main Loop",10,10; SHOWSCREEN
WEND

FUNCTION CENTERPRINT: TEXT$
STATIC fx,fy,sx,sy,INIT_FONT //stores font info in function memory
IF INIT_FONT=FALSE ; INIT_FONT=TRUE //do once, store info in static memory.
  LOADFONT "smalfont.png",1;
  //REM: If it is located in "resources" dir:    LOADFONT "./resources/smalfont.png",1;
  SETFONT 1;
  GETFONTSIZE fx,fy; GETSCREENSIZE sx, sy
ENDIF
LOCAL MsgCenX,MsgCenY
MesCenX=(sx/2)-(LEN(TEXT$)*fx/2)  //center the message in X-plane
MesCenY=(sy/2)-(fy/2) //center the message in y-plane
PRINT TEXT$,MesCenX,MesCenY  //print it
SHOWSCREEN  //show it
ENDFUNCTION


PS Note: All the above suggestions will work for both removing the message and changing it.

You can get very creative with the loading stuff...as moru suggested you can even make it graphical with a loading bar.......Personal experience: i have a very large program that loads alot of data, and it loads doing it exactly like that...with a sliding load bar, and a text message stating what exactly is loading.


THANKS!!! I try it!!!  :good:
#1004
For those users who have the problem that I was mentioning to the beginning of the thread about Pause/freeze at exit app, a "temporal" solution that I have found is the installation of VirtualBox software.

VirtualBox don't use the Intel video driver, but shows the messagebox about "upgrade your hardware for support OpenGL".

I think is better to do 1 click in the msgbox for that to wait 4 seconds.
=D

Regards



#1005
I tried the "minimal" commands needed for "Init" the application:

SETSHOEBOX "resources.sbx",""
LOADBMP "resources/image.png"
SHOWSCREEN
...
...

The results are "spected"... the screen shows "Loading..." at center screen and about 1.5 secs, the image appears.

I think one "trick solution".
It's replace manually on final app EXE with hex editor the "Loading..." with another text (max.  10 chrs.).


Probably a good option would be if GLBasic Team add's an Textlabel on Project>Options screen for edit/modify this "Loading..." text.
(It is only a humble opinion).  =D

Regards.


EDIT: Ooooops! The 1.5 secs. time exposed are on WINCE device... don't worry!  ;)