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.

DarkBASIC Discussion / Are plains really faster than images?

Author
Message
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 31st Dec 2003 08:00 Edited at: 31st Dec 2003 08:10
I did a little experiment: I would lock 500 culled plains onto the screen and texture them. Then using the same locations and textures, I use paste image to paste the 500 images to screen. Both of them have transparency enabled.

So, since they are both using the same settings (location on screen, transparency, and texture), it should be a fair contrast between the two methods. It was wierd when the locked plains averaged 18 fps, and the paste image averaged 21 fps.

So, what's better to use now? Or, are there any exceptions, like when you have a huge amount of plains on the screen?

edit: Never mind. Strangely enough, when I compiled it into an exe, the fps of the plains went up to 19 and paste image went down to 9... wierd...
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 31st Dec 2003 08:16
Indeed...

DBC's 2D operations are not very fast at all.

If you had of had all the plains moving at a time, and all the images moving at a time, you would have seen the huge difference in FPS between the two...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-06-07 02:54:45
Your offset time is: 2025-06-07 02:54:45