Antialiasing and smoother scaling?

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Antialiasing and smoother scaling?

Post by Gambit37 »

I was wondering if future versions of DSB might support smoothing/anti-aliasing of scaled images? Stuff does look very pixelly and blocky when viewed at any scale other than 1:1.
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Antialiasing and smoother scaling?

Post by Sophia »

It's authentic! :mrgreen:

It wasn't a high priority, admittedly, and the internals of DSB's scaling code are really rather ugly. Still, you're right in that it might be a worthwhile addition, especially if we're going to be making an effort to get other things looking nicer/more "modern."
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Antialiasing and smoother scaling?

Post by Sophia »

After looking at this a bit more, the biggest obstacle here is doors.

DSB doors work like DM (not like RTC) in that they're made up of a base door image plus a decoration, and DSB creates a composition of these images in real time. To ensure that the composite image looks nice, it will require converting the door decoration images to use alpha channels even if the source images didn't, and probably changing the way I do door windows from to a mask color to some kind of alpha channel mask that is subtracted from the door image itself.

It's all doable, but time-consuming and messy, and in all honesty, not something I feel like dealing with at the moment. :?
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Antialiasing and smoother scaling?

Post by Gambit37 »

Cool, there's no hurry on my part, I just throw suggestions on to the forum when I think of them :-)
Post Reply