emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gamegrid.el and some games


From: Oliver Scholz
Subject: Re: gamegrid.el and some games
Date: Fri, 20 Sep 2002 14:01:06 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Miles Bader <address@hidden> writes:

> Oliver Scholz <address@hidden> writes:
>> I know nothing about graphical black&white displays. I assume -- but
>> this is just a wild guess -- that on such a display _every_ coloured
>> pixel appears as black.
>
> I'm not sure what that means.  On a B&W display, there are two colors,
> black, and white.
>
> If you ignore the fact that you're on a B&W display, and try to use
> _other_ colors, then Gerd says it will try to pick the `nearest'
> supported color instead; I guess this means that `dark looking' colors
> will show up as black, and `light looking' colors will show up as
> white.  For pictures this will probably end up looking awful, but for
> simple high-contrast stuff, it may work quite well.

I was thinking  of the tiles that gamegrid provides  and that are used
by pong, tetris and snake. They are _low_ contrast. I am afraid -- but
I have  not made sure -- that  they would appear as  black squares (or
maybe white squares in case of light colours as yellow, for example).

[using ascii on b/w-displays]
>
> That seems unnecessarily conservative, but whatever, you're doing the work...
[...]

Now that I know that the XPM format allows to specify what to do with
the image in such cases, I prefer to use this mechanism. In fact, it
seems that the differences between colour, grayscale and b/w displays
were a part of the reasons to invent XPM. 

It is easy to change the image `gamegrid-xpm' accordingly. (It may not
be so easy to make sure that gamegrid uses this, but it seems like the
Right Thing (tm) and I find it challenging to implement it.)

    -- Oliver

-- 
Oliver Scholz               Jour de la Raison de l'Année 210 de la Révolution
Taunusstr. 25               Liberté, Egalité, Fraternité!
60329 Frankfurt a. M.       http://www.jungdemokratenhessen.de
Tel. (069) 97 40 99 42      http://www.jdjl.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]