unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Cc: rms@gnu.org, emacs-devel@gnu.org, gerd@gnu.org
Subject: Re: gamegrid.el and some games
Date: Fri, 20 Sep 2002 14:01:06 +0200	[thread overview]
Message-ID: <m3it10swe5.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: <buovg51ngmc.fsf@mcspd15.ucom.lsi.nec.co.jp> (Miles Bader's message of "20 Sep 2002 18:40:43 +0900")

Miles Bader <miles@lsi.nec.co.jp> writes:

> Oliver Scholz <alkibiades@gmx.de> 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	other threads:[~2002-09-20 12:01 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 10:55 gamegrid.el and some games Francesco Potorti`
     [not found] ` <87sn0eglkp.fsf@bundalo.shootybangbang.com>
2002-09-13 13:09   ` Francesco Potorti`
2002-09-14 17:35     ` Richard Stallman
2002-09-13 14:16 ` Oliver Scholz
2002-09-13 17:32   ` Francesco Potorti`
2002-09-13 23:11     ` Oliver Scholz
2002-09-14  1:03       ` Alex Schroeder
2002-09-15  1:50         ` Richard Stallman
2002-09-16 12:11           ` Oliver Scholz
2002-09-19 15:22             ` Luke A. Olbrish
2002-09-20  3:44               ` Richard Stallman
2002-09-15  1:51       ` Richard Stallman
2002-09-16 11:58         ` Oliver Scholz
2002-09-16 19:27           ` Richard Stallman
2002-09-16 12:01         ` Oliver Scholz
2002-09-16 19:27           ` Richard Stallman
2002-09-16 23:13             ` alkibiades
2002-09-17 15:53               ` Richard Stallman
2002-09-17 16:12                 ` Gerd Moellmann
2002-09-18 15:04                 ` Oliver Scholz
2002-09-18 16:03                   ` Oliver Scholz
2002-09-19 11:45                   ` Eli Zaretskii
2002-09-19 15:17                   ` Richard Stallman
2002-09-20  0:26                     ` Oliver Scholz
2002-09-20  9:40                       ` Miles Bader
2002-09-20 12:01                         ` Oliver Scholz [this message]
2002-09-20 10:12                       ` Francesco Potorti`
2002-09-20  1:18                     ` Miles Bader
2002-09-20  9:20                       ` rms
2002-09-20 11:41                         ` Oliver Scholz
2002-09-20  6:54                     ` Gerd Moellmann
2002-09-14 17:35 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3it10swe5.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).