V8 beta

Previous topic - Next topic

S. P. Gardebiter

Quote from: MrTAToad on 2010-Jul-09Doubtful with compressed sound support - you might need BASS or FMOD for that.

That's what everyone tells me :/
But I won't kill off multiplatform support and accept some troublesome license, while still not beeing able to play any ogg's or streamed compressed sound at all :x
~ Cave Story rules! ~

Hark0

#76
Quote from: MrTAToad on 2010-Jul-09
I think 8.006 can...

Ok I make another test....

EDIT: I tried other test. My steps:

1- New app with GLB 8.006 beta
2- Project settings set to 1024x768 for iphone.
3- Code with simple "hello world" text print...
4- Project runs perfect on Win32.
5- Compile for iphone.
6- Replace *.pch and modify Bundle field at *.plist
7- SDK Base missing on Xcode modified to iOS 3.2 device release
8- Compiling...
9- Singing...
10- Installed on iPad device...
11- App not work.... d'ont load.... (zoom icons in zoom icons out effect on screen)

What am I doing wrong?
I've missed something?
I have to change something in Xcode?
It has to activate the option "convert IPAD application" in Xcode?


TIA, Hark0
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

MrTAToad

#77
By the way, with INLINE, I have been using \ for splitting lines.  Unfortunately with the latest update, \ is no longer accepted, and I have to change them to _

In addition, I found that, with a V7.250 project, I can compile the program, but aside from "start debug session" appearing in the output window, the program wont run.

However, I have no problems with V8 project :)

matchy

Did a quick test and landscape for iPhone/iPad is now working fine now. :)
I use this to check the correct device compile setting in GLB and XCode.
Code (glbasic) Select
LOCAL width,height;GETSCREENSIZE width,height;PRINT "Platform,Device,Width,Height",0,0;PRINT PLATFORMINFO$("")+","+PLATFORMINFO$("DEVICE")+","+width+","+height,0,10;SHOWSCREEN;MOUSEWAIT

Result (iPad Portrait):
Platform,Device,Width,Height
IPHONE,IPAD,768,1024

:)

MrTAToad

Another slight bugette :

Comments in folded functions produce :

Quote
C:\Users\Nicholas\AppData\Local\Temp\glbasic\gpc_temp0.cpp:41: error: a function-definition is not allowed here before '{' token
C:\Users\Nicholas\AppData\Local\Temp\glbasic\gpc_temp0.cpp:51: error: a function-definition is not allowed here before '{' token
C:\Users\Nicholas\AppData\Local\Temp\glbasic\gpc_temp0.cpp: At global scope:
C:\Users\Nicholas\AppData\Local\Temp\glbasic\gpc_temp0.cpp:64: error: expected `}' at end of input


gregbug

sorry but...  :-[
where is possible to download the last beta? (8.036?)  :good:



the link in the first post is the 8.006  :'(

grazie.
thanks.
Gianluca.
Ciao Ciao,
Gianluca. (l'Aquila tornerà a volare alta nel cielo!!!!)

MrTAToad

#81
It does seem that repeated calls to SPR2MEM causes it to fail for some reason.  I have the problem in my graphic to data conversion program.

The program loads a sprite, gets its size, calls SPR2MEM, writes the data to file, deletes the sprite and then proceeds to the next file.

There is more of a problem in release mode - it happens in release mode, but not so often.

Eeek - its worse than I thought :  Add a DEBUG statement after SPR2MEM and all is fine, but remove it and you get the error after the first use.

Hark0

Sorry...

Please can anyone help me to compile IPAD? What steps should I follow?

(For iPhone I have no problems)

TIA
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

MrTAToad

It should be the same as compiling for the iPhone, but set the resolution 480 x 320 or more...

WPShadow

Hi,

I hope my english is good enough to explain the error:

I've got 2 files, the main file and a second one:

MAIN:
Code (glbasic) Select

TYPE gui

FUNCTION test:

ENDFUNCTION

ENDTYPE



GLOBAL g AS gui
GLOBAL h AS husti


WHILE TRUE


g.test()

h.bla = 1
h.blub()


SHOWSCREEN

WEND


NOT MAIN:  =D
Code (glbasic) Select

TYPE husti

bla

FUNCTION blub:

ENDFUNCTION


ENDTYPE


The main file works well, but in the second file I get:

Code (glbasic) Select


_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.6.973 SN:5aa2ccd7 - 3D, NET
"GUI - Test 0.1.gbas"(0) warning : note : TYPE husti is not declared

"GUI - Test 0.1.gbas"(31) error : call to undefined function : husti



It looks like a problem and I don't found any answer for this here!

CU

W.
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

gregbug

#85
with current version extended type defined in one file can't be use in another...
i hope this will be fixed soon!! :)
Ciao Ciao,
Gianluca. (l'Aquila tornerà a volare alta nel cielo!!!!)

WPShadow

Oh... Ok, good to know... thx  :giveup:
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

MrTAToad

Yes - its been known since the first beta :)

WPShadow

I don't found anything about it... Perhaps I don't searched good enough!    :noggin:

Quote from: MrTAToad on 2010-Jul-11
Yes - its been known since the first beta :)

Not for wpshadow  :giveup:

Sorry for the question!  :whip:
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Kitty Hello

Quote from: MrTAToad on 2010-Jul-11
The program loads a sprite, gets its size, calls SPR2MEM, writes the data to file, deletes the sprite and then proceeds to the next file.

Add a SLEEP in between. I have the impression that your virus program is blocking files when quickly trying to access them... You had that problem with the GCC/GPC, too.