Comparing PB4.0 vs zSprite for BlitzMax....

Advanced game related topics
pjay
Enthusiast
Enthusiast
Posts: 251
Joined: Thu Mar 30, 2006 11:14 am

Post by pjay »

Hi Icesoft, by doing a side-by-side comparison it seems that your version doesn't render nearly as many sprites on-screen at a count of 100.

I did a quick count of your sprites & the most I could count was 30.

Are a lot off screen, or are you counting the drop-shadow as a sprite?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

IceSoft wrote:
thefool wrote:newest test file, 2000 sprites, 52 in fps.
Blitz version handles this WAY worse. (50% less fps or so.)
I like this results ;-)
Maybe a new OpenGL driver will improve the Blitz result.
You mean i should use another driver than the newest???


system: athlon xp 3800+, 1024 mbyte ram, 400 gb hdd space(whatever.), radeon 9600 XT 256mb, windows xp sp. 2, newest catalyst drivers.
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

pjay wrote:Hi Icesoft, by doing a side-by-side comparison it seems that your version doesn't render nearly as many sprites on-screen at a count of 100.
I did a quick count of your sprites & the most I could count was 30.
Are a lot off screen, or are you counting the drop-shadow as a sprite?
No! There will generated always 100 sprites with each left mouse click.
No not off screen but overlapped.
Angle can be 360 degre and I used not all degres as an own positions)
I will change it and upload a new version.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

thefool wrote:You mean i should use another driver than the newest???.
No. I thought your driver is not the latest.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

it is ;)
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

New version v0.5 uploaded:

[ADD] Sprites will be created around the Mousepointer
[ADD] All! new created Sprites should be shown now.

Link:
http://people.freenet.de/icesoft/z5SpriteVsPB.zip
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

New version v0.6 uploaded:

[ADD] Shadow sprites looks better now
[ADD] Speed adapt.

Link:
http://people.freenet.de/icesoft/z6SpriteVsPB.zip
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

70 fps @500, 35 fps @1000. Quality looks very good.
BERESHEIT
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

netmaestro wrote:70 fps @500, 35 fps @1000. Quality looks very good.
Thanks!
netmaestro wrote:
And how fast is zSprite?
Oh yeah, it's a comparison. I catch on fast, don't I? :lol:

For the Blitz version: 55 fps @500, 27 fps @1000. Significantly slower.
And zSprite is still slower ;-)
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

do you care to share the source so we can see if it can be optimized (eg. some assembly optimizations like you would do if it was a real lib to distribute?)
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

thefool wrote:do you care to share the source so we can see if it can be optimized (eg. some assembly optimizations like you would do if it was a real lib to distribute?)
There is currently no optiming in it ;-)
I am on it...
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

ok :)
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

First I will make the Test2 (The baloon test)
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Lyon
User
User
Posts: 59
Joined: Tue Mar 28, 2006 9:26 pm

Post by Lyon »

There is no comparison between PB & BMax. PB will win in speed, stability and features.
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

New version v0.7 uploaded:

[ADD] Speed optimized (Level 1 of 3)
[DEL] Removed the text "Right click to remove 100 sprites and set the FPS(min) to 99999" not the function itself. (You can remove sprites too)

Link:
http://people.freenet.de/icesoft/zSpriteVsPB_test1.zip
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Post Reply