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 / 2d or not 2d

Author
Message
Darkwing
21
Years of Service
User Offline
Joined: 20th Nov 2003
Location: New Jersey
Posted: 21st Nov 2003 06:34



I like 2d because I had a few projects planned for it, but it seems to be much slower than 3d. take the following example:

Above is a simple demo in which a few dozen sprites of the same image were moved around the screen by the for...next command. simple. after around 75 sprites moving at once, it started getting REAL laggy. however, i did the same for 3d objects replacing sprites, using cubes, and i can do 250 with no drop in framerate. at 900 cubes its laggy but still not as slow as the 75 sprites.

is it better to imitate 2d with 3d?? or is there a way around this?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 21st Nov 2003 06:38
Yeah, DBC's Sprites are shocking.

I suggest using textured Plains (ie 3d) that move around just as you would have moved the sprites.

Hope I Helped...


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

Login to post a reply

Server time is: 2025-05-21 16:20:07
Your offset time is: 2025-05-21 16:20:07