Author Topic: GLBasic V12 (was formerly V11 beta)  (Read 159642 times)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4020
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #285 on: 2013-May-21 »
Today finally testing the new version after using v11.2 (which im still have of course).

Im have tried to compile Karma Miwa to HTML 5.

Here is the result:


- SETSCREEN cause a crash.
- POLYVECTORS not working very well. Text missing is also used POLYVECTOR as well the mountian and the overlay filter.
- If im use SHOWSCREEN outside GLB_ON_LOOP, then Firebox cause the script to being to slow. Its not a problem in general gameplay at all, but.... Loading is a problem, if you want to show a loading bar. Its not really possible at all in html 5, and thinks threading is required. Loading resourse might sometimes been slow too.
- Im could not test the game its self, due landscape was not shown etc at all (due, yes, POLYVECTORS).

Howover the perforcements in the menu was quite very nice. So wrapping its could im not see a problem in the future. The html file was 12mb.

PS. Chrome (downloaded today) hanging on Preparing, and IE also not working. Same in IE. Not sure why?

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #286 on: 2013-May-21 »
IE wont run HTML 5 stuff unfortunately.

Offline fuzzy70

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 828
  • Look left, Look right, LOOK OUT!!
    • View Profile
Re: GLBasic V11 public beta
« Reply #287 on: 2013-May-21 »
M$ said "webgl is not secure" or something like that & won't support it. Probably why they came out with silverlight.

Lee

Sent from my HTC Wildfire using Tapatalk 2

"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

Offline spicypixel

  • Prof. Inline
  • *****
  • Posts: 646
  • Pixel Artist
    • View Profile
    • SpicyPixel.net
Re: GLBasic V11 public beta
« Reply #288 on: 2013-May-22 »
M$ said "webgl is not secure" or something like that & won't support it. Probably why they came out with silverlight.

M$ giving reasons why they are behind again in the web race, Windows isn't secure maybe they should concentrate on that before firing bullets :D
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Offline fuzzy70

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 828
  • Look left, Look right, LOOK OUT!!
    • View Profile
Re: GLBasic V11 public beta
« Reply #289 on: 2013-May-22 »
M$ said "webgl is not secure" or something like that & won't support it. Probably why they came out with silverlight.

M$ giving reasons why they are behind again in the web race, Windows isn't secure maybe they should concentrate on that before firing bullets :D

I don't think Windows will ever be totally secure while it is the most available OS, the bigger the market/product the more chance of hackers targeting it.

M$ said "webgl is not secure" or something like that & won't support it. Probably why they came out with silverlight.

Lee

Sent from my HTC Wildfire using Tapatalk 2

wasn't it the other way around?  M$ came out with Silverlight  -  and then started saying 'WebGL is not secure" ?

May have been that way Ocean  =D, the two are linked I believe but my memory is a bit hazy on what order they came in as not a M$ follower like I used to be.

Lee
« Last Edit: 2013-May-22 by fuzzy70 »
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

Offline DaCarSoft

  • Community Developer
  • Mr. Polyvector
  • ******
  • Posts: 182
    • View Profile
Re: GLBasic V11 public beta
« Reply #290 on: 2013-Jun-04 »
Hi...

I was searching a way to solve my problems related to iPad 4/iPhone 5 problems and GLBasic 11 (last beta).

I had to create a new Xcode project to let my wrappers work without strange errors, I can't use the project generated from GLBasic. If I add my .mm wrappers file to the original GLBasic's Xcode project, Xcode won't compile (ARM7 errors). I have not tested it yet under iPhone 4 or older devices...

Also, under iPhone 5 it does not use the entire retina screen (1136 x 640), it only uses 960 x 640 dimensions like iPhone 4, I suppose that Gernot already knows it. I suppose that a little change to let GLBasic recognize this new screen size is needed until...

"Si quieres resultados distintos... no hagas siempre lo mismo" - Albert Einstein.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4020
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #291 on: 2013-Jun-04 »
did you added a blank 1136x640 startup image in xCode? Glbasic might not do that automatic.

Alsocurrectly im have a very strange slowdown issues with Windows version of Greedy Mouse, that should never been happens. When im start the game, its run only at 30fps with full cpu usage as shown here:
https://dl.dropboxusercontent.com/u/3236515/GreedyMouse/slowdown_wrong.jpg

But after a while (any from 2-3 seconds to never), its suddently change to more correct with 50fps (which Im was set it to) and only 10-15% cpu usage:
https://dl.dropboxusercontent.com/u/3236515/GreedyMouse/slowdown_correct.jpg

PS. Howover due the above issue im might fix the game to only run in 30fps mode, until both P (Paint() in ms) and M (DrawMap in ms) turns to normal.

PPS. If im use LIMITFPS 30, its seen the strange issue is gone, hm... strange.
« Last Edit: 2013-Jun-05 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #292 on: 2013-Jun-05 »
That is odd - I haven't noticed any slowdowns in the beta.

One thing it is time for though and that is multi-touch mouse input for Windows - Intel Windows 8 tablets are due soon...
« Last Edit: 2013-Jun-05 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10839
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBasic V11 public beta
« Reply #293 on: 2013-Jun-06 »
@spacefractal - might be interarnally increasing arrays until the size finally fits? Try DIM in them once and then REDIM array[0] to remove elements, but keep memory intact...

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
Re: GLBasic V11 public beta
« Reply #294 on: 2013-Jun-14 »
The HTML5 side of things is getting exciting. Has anyone put up any live browser games yet?

Couple of tests below I did this evening:-

A test of the isometric code thingy. Got this working in Firefox on Nexus 7 too!

PowFish in a browser. (warning: big download and takes some time to initialise so be patient)

Offline Jonás Perusquía

  • Mr. Polyvector
  • ***
  • Posts: 170
    • View Profile
    • Ditrabox
Re: GLBasic V11 public beta
« Reply #295 on: 2013-Jun-14 »
I still don't have sound on Android, what about you my friends?

Anyway, thank you Kitty Hello for the update! :)
<HTML><BASIC><EC>
Be free and do good things

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4020
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #296 on: 2013-Jun-14 »
im heard about the sound bug, you need to add path to the sound files as GETCURRENTDIR$() does not work, but sound do work for sound, etc "Media/sound/whatever.wav":
http://www.glbasic.com/forum/index.php?topic=8544.msg78812#msg78812
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4020
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #297 on: 2013-Jun-14 »
slowdown issue:
im are now home from vaccation and looking on the strange slowdown error. By now, there is no pattern at all. Sometimes cpu usage fall to around 5 procent and have full framerate, other times, graphics paint go insane and slowdown the game and use all cpu usage. That even im idle in the game and dosent move at all and does not use any special code. Very very strange (its in Greedy Mouse and seen its only effected Windows).

something bug in SHOWSCREEN or?

Today im got a different strange error in the colored POLYVECTORS in the newst beta (not sure its happens in previous version, or its was a bug in the code):
After im draw the yellow font, then rest of the game after that call would draw in yellow too (that all commands, not just POLYVECTOR). The color in ENDPOLY did simply not reset.

Howover a nice little simple fix is do simply simply call the same POLYVECTOR with white color, before a ENDPOLY. etc something like this:
 
Code: (glbasic) [Select]
POLYVECTOR PX, PY+size, aceii[tasc].x, aceii[tasc].y+fontsize, color
POLYVECTOR PX, PY+size, aceii[tasc].x, aceii[tasc].y+fontsize

Its did works here.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
Re: GLBasic V11 public beta
« Reply #298 on: 2013-Jun-14 »
spacefractal, that second problem you mentioned, is that only in Windows too?

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4020
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #299 on: 2013-Jun-14 »
im have not tested on other systems yet. But its a easy fix anyway. Im confirm all iOS before v1.3 have been repear, etc the famous iCade windows issue (those that got fixed in v1.2).

Im happy im have save all my betas, so im just countinue to use v11.2 for iOS, which works great for me. For Android you can use the newset version (im thinks the sound issue can been fixed by your self now).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.