Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Holliday Season GOSU Wishlist
- By ippa Date 2009-12-18 07:51
This is what I wish for in my digital christmas stocking:

* Retrofy / Nearest-thingie - Easy non-blurry scaling without having the include ruby-opengl, which comes with some problems on top of the added size: Ocra doesn't autobundle glut32.dll and there's been reported problems on linux. I use this heavy in my LD#16 entry, in Berzerk and in other unfinished prototypes.

* Some pre-created colors. Colors.red / Colors::red etc. This would be useful in about every chunk of gosu-code I've ever made.

* Smart full screen modes without changing the resolution. Also suggested on #gosu is full screen with a maximized border-less window, which comes with some unique benefits. I think this would imply some kind of "global factor_x/factor_y", which would be useful on it's own terms.

Add yours! .. we can't have Julian sitting around getting fat eating candy all christmas.
- By jlnr (dev) Date 2009-12-18 15:12 Edited 2009-12-18 15:14

> Some pre-created colors. Colors.red / Colors::red etc. This would be useful in about every chunk of gosu-code I've ever made.


C++ always had Colors::red. I just deprecated it and changed it to Color::RED. The same is true for all combinations of 00 and ff, plus gray for good measure. Ruby version coming with the next commit.

I did *not* add CSS colors though. Whoever wants them can add them. I think in the time you would look up what AliceBlue looks like, you can just add a meaningful constant like INVENTORY_BACKGROUND_COLOR or something. Bonus trivia: If I adapted to the CSS colors, what RGB value would "Color::GREEN" have? I know you didn't ask for it, but at first I thought that would be a cool list of colors to have. Now I think I'll rather keep the interface clean. I am not sure if even the primary colors have any use except for debugging output, I always used fine-tuned RGB colors for everything in "production" :)
- By ippa Date 2009-12-18 15:30
I don't care much for AliceBlue and so on, but the basics would be nice.. black, white, red, green, blue etc.

WHITE is good for text :) .. BLACK is good for logo/menu background. RED for debug stuff..  PINK for banisters x-rated games etc.
Up Topic Gosu / Gosu Exchange / Holliday Season GOSU Wishlist

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill