@GPI/Num3:
We are talking about OpenGL here, so SpriteEx and SetRefreshRate
arent and cannot be used.
MetaBalls
that's what I wanted to write...Danilo wrote:@GPI/Num3:
We are talking about OpenGL here, so SpriteEx and SetRefreshRate
arent and cannot be used.
@blueznl: regarding the FPS: I kind of messed up the message-loop.
The fps-counter only works if there're no events for the window,
so yes, the values are of course wrong when moving your mouse
and yes, the calculation itself is correct

Good programmers don't comment their code. It was hard to write, should be hard to read.
Re: MetaBalls
I know of that behaviour on some gfxcards, the only problem is, I can't really test it, because on my pc everything works fine.GPI wrote:[...] and the desktop-resolution is changed![...]
Sorry for any inconvenience.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Re: MetaBalls
Works fine here, but i´ve had that problem with some othertraumatic wrote:I know of that behaviour on some gfxcards, the only problem is,GPI wrote:[...] and the desktop-resolution is changed![...]
I can't really test it, because on my pc everything works fine.
Sorry for any inconvenience.
demos - so it doesnt look to me like traumatic's fault.
It just happens with some demos, no big problem at all...

(i think everybody who looks demos has seen this behaviour
from time to time)
i hope fred is reading thisNum3 wrote:I found this nice Library on purearea that comes with some extra commands for Sprites...
Including SwapBuffers()...
This little baby turned my 60 FPS game (using flipbuffer()) into a 350!!! FPS game...
I was quite impressed! And give it 6 thumbs up !!!!
It's called SpriteX...

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
runs on a laptop sony pcg-sr1k p3-350, but at 0 fps / sec
0.5 or so actually, but it runs 


( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )