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 / Why does my fps go to 5 with set sprite?

Author
Message
Bob 3456
20
Years of Service
User Offline
Joined: 1st Jun 2004
Location: In my computer chair
Posted: 1st Oct 2004 09:24
I have an image that i load to be an invintory, parts of are black and i dont want it to be transparent so i used the set sprite command. My fps went from like 70 somthing to like 10, and i really cant have it when the open there invintory the game crashes.
Xander
21
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 2nd Oct 2004 15:17
You only have to use the set sprite command once, not in your game loop.

Xander Moser - Bolt Software - Firewall
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Oct 2004 18:12
You might also have changed the backsave parameter. I can't remember what it should be, but it kills the frame rate if you get it wrong. It can only be 0 or 1, so check them both.

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
Bob 3456
20
Years of Service
User Offline
Joined: 1st Jun 2004
Location: In my computer chair
Posted: 3rd Oct 2004 05:46
thx that is really helpful

Login to post a reply

Server time is: 2024-11-11 21:00:14
Your offset time is: 2024-11-11 21:00:14