Comparing PB4.0 vs zSprite for BlitzMax....
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Ok, I will fix this behavior.netmaestro wrote:Yes, that'll be it for sure because it's only doing a delay(1) if the window message is 0. So moving the mouse keeps the delay from happening because there is always a window message.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
The last one (v0.3):
Removed the DrawText().
Fixed the Delay(1) problem.
You can remove the last 100 sprites (Right mouse button) too.
Tell me your FPSes please
Link:
http://people.freenet.de/icesoft/z3SpriteVsPB.zip
Removed the DrawText().
Fixed the Delay(1) problem.
You can remove the last 100 sprites (Right mouse button) too.
Tell me your FPSes please
Link:
http://people.freenet.de/icesoft/z3SpriteVsPB.zip
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Thanks.netmaestro wrote:65 fps @500, 45 fps @1000. Good work!
And how fast is zSprite?
Here are the finished version (v0.4)
[ADD] Right mouse set the FPS(min) value to 99999.
Link:
http://people.freenet.de/icesoft/z4SpriteVsPB.zip
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
And that is the next reason why I bought PBnetmaestro wrote:For the Blitz version: 55 fps @500, 27 fps @1000. Significantly slower.

I belive this comparison is better for PB as a small donation (from me)

Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Belive me the percent will be more and more better if you add more and more sprites into the PB version.netmaestro wrote:To get down to 27 fps, which is the rate @1000 for Blitz, I have to put 1700 sprites on the PB version! That's 70% better performance under heavy load.
Now I have to wait for the OpenGL 'nativ' SUBSYSTEM for PB.
And than we will compare it again, right?
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
The version has a bigger sprite size!mskuma wrote:Trying to keep the FPS about the same, I got
Blitz: 25FPS -> 500 sprites (about 49% CPU utilisation)
PB: 27FPS -> 600 sprites (about 43% CPU utilisation)
P4 laptop 3GHz & latest versions of test programs.
Because of this...the FPS will be slower.
(It is not the version which was tested from @netmaestro and the 70% result)
Maybe netmastro will retest this version again?
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
I like this resultsthefool wrote:newest test file, 2000 sprites, 52 in fps.
Blitz version handles this WAY worse. (50% less fps or so.)

Maybe a new OpenGL driver will improve the Blitz result.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
The sprites are really the same size..... trim the blank space off of the original.IceSoft wrote:
The version has a bigger sprite size!
Because of this...the FPS will be slower.
(It is not the version which was tested from @netmaestro and the 70% result)
Maybe netmastro will retest this version again?
Of course! But you will find not so many small size sprites as was on the previous versions.pjay wrote: The sprites are really the same size..... trim the blank space off of the original.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...