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 - Qedo

#256
I got 260 FPS
#257
But you are sure? some examples?
#258
But your commitment is welcome.
We always need to learn about the HTML world and understand how we GLB users can use it.
I thank you and I hope in your other projects.
HAPPY NEW YEAR TO EVERYONE
#259
You did not understand, I'm saying the opposite and that GLB + HTLM5 works
#260
In fact GLB + HTML5 works.
See this simple calculator for runners I wrote for testing

http://ebianchi.byethost32.com/STUFF/HTML5/MEDIA/media.html

HAPPY NEW YEAR TO EVERYONE
#262
tried on win10 and it seems to work
#263
while waiting debug try this workaround.

Code (glbasic) Select

f_fullscreen=TRUE
Nf_fullscreen=TRUE
CGLB_ON_RESUME=GETTIMERALL()

REPEAT
IF Nf_fullscreen<>f_fullscreen
f_fullscreen=Nf_fullscreen
SETSCREEN 640, 480, f_fullscreen
CGLB_ON_RESUME=GETTIMERALL()
ENDIF
.......



........
UNTIL FALSE

SUB GLB_ON_PAUSE:
IF Nf_fullscreen=f_fullscreen
CGLB_ON_RESUME=GETTIMERALL()-CGLB_ON_RESUME
IF CGLB_ON_RESUME>1000
Nf_fullscreen=NOT Nf_fullscreen
ENDIF
ENDIF
CGLB_ON_RESUME=GETTIMERALL()

ENDSUB
SUB GLB_ON_RESUME:
IF Nf_fullscreen=f_fullscreen
CGLB_ON_RESUME=GETTIMERALL()-CGLB_ON_RESUME
IF CGLB_ON_RESUME>1000
Nf_fullscreen=NOT Nf_fullscreen
ENDIF
ENDIF
CGLB_ON_RESUME=GETTIMERALL()
ENDSUB
#264
ok now you often speak javascript and html but you noticed that from version GLB 12 onwards Html5 no longer works
The latest working version is GLBasic Version: 11.559
Is it only my problem?
Ciao
#265
I did not explain well.
I did not ask how to get the blur effect in real time but instead I showed how to get it.
#266
Did you try the program or saw the source?
Without using photoscop it does Glbasic
#267
Blur effect in real time on sprite with transparent background (color 128,0,255).
Let me know.
Ciao

#268
Change KONV in KONV$ (2 places).
The second \ disappears because \ is a special character and works in tandem with the next
#269
dreamerman, I searched the internet for the best filling algorithm and implemented it in GLB. I do not think there are others, but I can be wrong.
At the beginning I was very doubtful about the efficiency of DIMPUSH / DELETE and the FOREACH / NEXT cycle but I have to say that I'm not a real bottleneck. To get rid of all doubts it would be interesting to implement it in c ++ but for the moment I am satisfied with this version.
#270
After i have grabbing with both hands in the forum a small summer gift (I hope it will be appreciated).
You find the scanline floodfill algorithm using stack instead of recursion.
I converted the version I found in internet from C++ to GlBasic.
Compared to the standard version this is much faster about 10-15 times.
When you start the program for the first 10 seconds, the standard (more slow) version is executed and  after the scanline version.
The program uses my FASTMEM2SPRITE version (which you already sent a while ago and which I have now improved), but you can comment the command and activate the standard MEM2SPRITE to appreciate even more the change of speed.
Let me know