SUGGESTION: Expanded CreateFromScreenShot functionality

Started by GarageGothic, Tue 02/05/2006 14:00:44

Previous topic - Next topic

GarageGothic

This thread  made me think of how you could use DynamicSprite.CreateFromScreenShot as a workaround to create antialiased text seemingly without a gui background (for use with LucasArts-style dialog, mouseover description etc.).

However, grabbing the whole screen and cropping it to size every frame would make for quit a slowdown, so I was wondering if it would be a huge change to expand the DynamicSprite.CreateFromScreenShot(optional int width, optional int height) function to DynamicSprite.CreateFromScreenShot(optional int width, optional int height, optional int x, optional int y, optional int screenwidth, optional int screenheight) to match the functionality of the CreateFromBackground function? That way we could grab a small bit of the screen as a DynamicSprite and use for a gui background to print antialiased text on.

Thanks for reading, CJ.

Pumaman

Interesting idea, however it would probably be better to actually fix the anti-aliased text to work on transparent GUIs. I'll look into it.

SMF spam blocked by CleanTalk