SDLPoP icon indicating copy to clipboard operation
SDLPoP copied to clipboard

Feature request: text potions

Open EndeavourAccuracy opened this issue 6 years ago • 2 comments

This is a feature request. It would be nice if SDLPoP, similar to its unique fake tiles, introduced text potions. Their legacy combos could be variants 0x10 through 0x1F in group 0x0A. This would introduce 16 lines of (hint/help) text for each level, easily storable in a single plain text file per level. Perhaps a distinct/suitable potion size and bubble color would be small+yellow, although I do not immediately know whether this would conflict with the visual presentation of the potions "shadow", "time", "full", "open" and "strong". Developers could add/test the potions via apoplexy's the custom tiles screen. If an implementation would ship, I could add them on apoplexy's native tiles screen. Thoughts?

EndeavourAccuracy avatar Jan 01 '19 18:01 EndeavourAccuracy

I've been thinking about this a bit more, and... ...they should probably be full-screen-image potions instead of text potions. Displaying a(n optionally transparent) 320x200 PNG image would be more versatile. It could still be used to display text, but it could also be used in many other ways. For instance a fully transparent image with only an arrow on it could point to things. Or the image could change one or more elements in the current room in certain ways.

EndeavourAccuracy avatar Apr 03 '19 16:04 EndeavourAccuracy

I've been thinking about this a bit more, and... ...they should probably be full-screen-image potions instead of text potions. Displaying a(n optionally transparent) 320x200 PNG image would be more versatile. It could still be used to display text, but it could also be used in many other ways. For instance a fully transparent image with only an arrow on it could point to things. Or the image could change one or more elements in the current room in certain ways.

As of v1.1, Puny Prince supports exactly this. Legacy combo: group (foreground) 1, variant (modifier) 7. Should make a good proof of concept. See (7:25 - 10:34): https://www.youtube.com/watch?v=Q-Qo3iTBFgc

EndeavourAccuracy avatar May 27 '23 14:05 EndeavourAccuracy