palette: why doesn't this work?
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Dec 20, 1998
- 465 views
include get.e include graphics.e object x integer g, key clear_screen() g = graphics_mode(261) x = palette(GREEN, {63, 53, 0}) -- gold color bk_color(GREEN) key = wait_key() g = graphics_mode(-1) The background should be the color of the palette, not the original. What's going on? So how am I supposed to create custom colored backgrounds? Draw a square that covers the whole screen? Alan