paul doe wrote:...
Or perhaps I'm just missing your intent there ;)
Hi Paul,
Thanks for the snippet, I will study it carefully.
However, about my intent, it's not starighforward. You see, I try to find color themes as part of the design, and in general I just can't solve this in a staightforward way. I could try to add colors with the "+" but I noticed that this rarely help me a lot. That's why I shifted for an exploratory method, where I build colors based on some heuristic method using many different operators on rgb values. For some unknown reason, as an exploratory method, it proved more satisfactory. So to answer you, the reason of those strange color compositions here and there in the code, is just my way of doing color theme search. Of course, out of a development phase, this all should take a most compact form.
paul doe wrote:As you can see, the multiplication indeed produces an overflow.
Yes, only on FB64 however. And doing for instance CULNG(rgb1 * rgb2) doesn't solve the issue. Still weird I think.
Edit:
please anyone, test
fbglMain_b2.bas at
https://github.com/trapmania/Fbgenlab/t ... r/fbgenlab.
One can enter the genlab now. No game yet, but the feel and taste is here. To exit the game, the red circle on topbar should work. Thanks all.