Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / does the sprite commands still eat alot of fps or is that an old issue?

Author
Message
Cliff 3degs network
21
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 1st Feb 2006 00:03
as iam using sprites for my unit icons at the bottom and the mini map at the top right corner?
see screenie.
would i earn alot more fps by simply making all the sprites in to 3d objects instead that i lock on to the screen?
thanks

AMD ATHLON 64 3200+ AGP8X 1GB RAM 1MB CACHE.ATI RADEON 9800PRO 128MB AGP8X.

Attachments

Login to view attachments
Tywald
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sweden
Posted: 1st Feb 2006 10:56
Not really, Have you tried to use the "SET SPRITE" command to disable the "backsave" setting?
It's evil and will eat up your processing power, esp when using a lot of sprites.
crighton
18
Years of Service
User Offline
Joined: 5th Nov 2005
Location: In your soup.
Posted: 1st Feb 2006 17:48
Nah, i use over 300 sprites in my game just on the mini map, actually the mini map is a sprite aswell.



Why are the forgotten always remembered? But no-one remembers me?!
Tywald
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sweden
Posted: 1st Feb 2006 18:06
300 sprites for just the minimap eh? Perhaps you should use the "SET CURRENT BITMAP", "PASTE IMAGE" and "GET IMAGE" commands to paste the symbols on a single sprite.
Probably a little faster than using that many sprites.

- Tywald
crighton
18
Years of Service
User Offline
Joined: 5th Nov 2005
Location: In your soup.
Posted: 2nd Feb 2006 03:03
Tywald, you realise getting and pasting images is slower than using a single sprite?

I use a memblock for the mini map, all changes are done directly into memory, then when needed, my mp is made by 1 command.
make image from memblock.

then if need be, i can size rotate and move it to any location without any trouble at all.

The other sprites are good/evil position and the position of spells when they occur.




Why are the forgotten always remembered? But no-one remembers me?!
Tywald
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sweden
Posted: 2nd Feb 2006 11:37
crighton:
Aha, i though you were using 300 active sprites that you placed on top of the minimap. Guess i got a little confused there, you're actually just using "one" active sprite for the minimap? The map itself. The minimap "blips" are just images that's written into the memblock?
I've never used a memblock for image manipulation before but it sounds intresting the way you describe it.
-Tywald
Cliff 3degs network
21
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 2nd Feb 2006 19:42
where can i learn it the easy way to use memblocks everyone is talking about it.
and i dont know crapp about it.
everybody says it speeds everything upp alot.

AMD ATHLON 64 3200+ AGP8X 1GB RAM 1MB CACHE.ATI RADEON 9800PRO 128MB AGP8X.
Cliff 3degs network
21
Years of Service
User Offline
Joined: 23rd May 2003
Location: Sweden
Posted: 2nd Feb 2006 19:44
and thanks everybody for the input iam trying to cattch up on dbp as i havent used it for over a year i think.

AMD ATHLON 64 3200+ AGP8X 1GB RAM 1MB CACHE.ATI RADEON 9800PRO 128MB AGP8X.

Login to post a reply

Server time is: 2024-09-24 15:27:08
Your offset time is: 2024-09-24 15:27:08