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 Professional Discussion / Antialiased Sprites Rendering

Author
Message
ShellfishGames
13
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 6th Mar 2013 17:13 Edited at: 6th Mar 2013 18:24
Hi,

I'm sure this has already been discussed on this board, but the forum search isn't exactly helpful. I didn't find anything with google either, so here we go...

What is the best way to draw anti-aliased sprites in DBPro?
When I use paste sprite, I get bad results as soon as the sprite is rotated or scaled. For instance I recently create a simple title sprite for my current game Flow Motion which looks quite horrible in the game due to the rotation:



It looks even worse in motion (the angle is changing constantly).

There is an AA-flag in set display mode, but seemingly it only works with actual 3D objects and not with sprites (at least not when using paste sprite).

Also there was a plugin a few years ago, Advanced Sprites if I'm not mistaken, that allowed antialiased sprite rendering, but, unless that's not possible, I'd like to find a solution that does not involve any user-plugins.

Thanks for your time.

-Shellfish Games

ShellfishGames
13
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 8th Mar 2013 15:47
I just ran a quick test using the Advances Sprites plugin and it seems to handle it pretty well:



I guess I will just use the plugin then, although I'd really like to know whether there is a DBPro-only way to achieve this effect. So if anybody has an idea, I'd really like to hear it.



Login to post a reply

Server time is: 2026-07-07 08:18:33
Your offset time is: 2026-07-07 08:18:33