Omnimaga
Calculator Community => TI Calculators => TI-BASIC => Topic started by: nerd83+ on June 11, 2009, 12:32:39 am
-
Yeah do anybody here know how to get grayscale
-
This question was already answered in the topic immediately below this one, in fact (as of this writing).
http://ourl.ca/3390
Next time you ask for help, you might want to peruse the first page of the help and support section. I won't suggest the forum's search bar, since I've never gotten anything good from that. If you *must* search yourself, try giving Google a spin. "grayscale TI-83 Plus" is a good start.
-
This question was already answered in the topic immediately below this one, in fact (as of this writing).
http://ourl.ca/3390
Next time you ask for help, you might want to peruse the first page of the help and support section. I won't suggest the forum's search bar, since I've never gotten anything good from that. If you *must* search yourself, try giving Google a spin. "grayscale TI-83 Plus" is a good start.
Actually, there's only one page of help and support XD
But I agree the search engine on the forums is crappy as it is x.x. I can customize it, but I never understood how. It looks so complicated x.x
(also, this question was actually moved from another unrelated topic in the Feedback section, I think I should have merged it with the other grayscale topic, but again, some info might be there, despite the fact it's mostly ASM related)
-
Well the screen only supports black and white. Or a pixel is on or off.
But if you make the lcd change between two states and alternate them constantly, and achieve grayscale.
Images in this link:
http://www.junemann.nl/maxcoderz/viewtopic.php?p=64593#p64593
To better gray, exits a technique called interlacing. I won't explain it but the last picture shows it.
This is theory, now welcome to the harsh reality.
In BASIC, to achieve good effect, you definitely have to use a lib such as xLib and master BASIC and stick to 3-level gray. 4 level is doable to title screens and such.
You have to constantly alternate display 2 pictures and have the code for this in the entire game loop...
Even in ASM it is not easy: the way the lcd mapping works sucks. But in ASM as you have much more control and speed, you achieve the best results. But the theory is all the same.
The most update tutorial I know for BASIC:
http://tifreakware.net/tutorials/83p/b/cdi/l3.htm
-
4 level is fine inside game engines too using xLIB, but only if you make the game only for the Silver Edition or 84+ models, because it's slow
The following shows the speed before adding any collision detection checks. With collision detection it's twice slower. This screenshot is taken on TI-84+, btw, on TI-83+ it's twice slower
(http://xlib.mtv-music-generator.com/4lvgstest2.gif)
-
haha, I can tell that you are using the MLGS editor to generate the 4 level gs. You should create a demo for the the 5 level setting as well :P (j/k, the speed with 5 level makes it only useful for title screens).
Attached and is a demo in 3 level gs using the MLGS editor of a game that everyone will recognize.
<picture of 3 level gs zelda will go here when imageshack starts working>