1. Just some questions

Hi, this is my first mail to the mailing list. I'm a rather
fresh programmer in Euphoria, and I have som question:

1. Is there a way to display an image-sequence on screen which is
faster than display_image()? Maybe someone has written a good
procedure which is easy to use?

2. When I use get_mouse(), Euphoria do not register that I press a
mouse-button if I move the mouse at the same time. I wonder if there is
someone who can help me. I don't know anything about peek(), poke()
and so on, so please explain if I need to do low-level-programming.

3. Are there any procedures for null-modem-support that I can get my
hands on? A multiplayer-game in Euphoria cuold be fun.

Sorry about my English, I do not learn it in school anymore.

By the way, I tried out StarThief yesterday. Impressive. My biggest
completed project so far has been a Nibbles-kind of game. Currently I
am working on a stupid graphical round-by-round "action" game.

Bye,
        Einar Mogen

Do or do not. There is no try.

new topic     » topic index » view message » categorize

2. Re: Just some questions

Einar Mogen wrote:

> 2. When I use get_mouse(), Euphoria do not register that I press a
> mouse-button if I move the mouse at the same time. I wonder if there is
> someone who can help me. I don't know anything about peek(), poke()
> and so on, so please explain if I need to do low-level-programming.

I haven't had that problem. Maybe it's the mouse driver?

I *did* have trouble with losing mouse release events when the program was
busy with screen refreshes after a mouse click. I ended up manually checking
the state of the mouse button to make sure I didn't miss anything. Jiri has
some tools in RATBAG.E that you can use for this.

 -- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: Just some questions

On Thu, 10 Apr 1997 14:56:20 +0200 Helge O Gundersen <helgeog at ONLINE.NO>
writes:
>
>Hi, this is my first mail to the mailing list. I'm a rather
>fresh programmer in Euphoria, and I have som question:
>
>1. Is there a way to display an image-sequence on screen which is
>faster than display_image()? Maybe someone has written a good
>procedure which is easy to use?

Someone else has handled this question. :)

>2. When I use get_mouse(), Euphoria do not register that I press a
>mouse-button if I move the mouse at the same time. I wonder if there
>is someone who can help me. I don't know anything about peek(),
>poke() and so on, so please explain if I need to do
>low-level-programming.

Using get_mouse()

RETURNED    ACTION
1                  MOVEMENT
2                LEFT Button Pressed

If moving and press left button you must add the values together.

2+1 = 3

This is true for all the get_mouse() returned values.
If you press two buttons at exactly the same time then
the returned value would be the sum of the two buttons
values.

BUTTON1 + BUTTON2 = Returned.

>3. Are there any procedures for null-modem-support that I can get my
>hands on? A multiplayer-game in Euphoria cuold be fun.

I hope that Greg will ReSend what little code he has for handling
modems.  His modem routines are very limited but he spent a great
deal of time and trouble getting that much done.  Maybe you can
find them useful.  He doesn't get much to program lately. :)

>        Einar Mogen
>

--Lucius Lamar Hilley III
--  E-mail at luciuslhilleyiii at juno.com
--  I support transferring of files less than 60K.
--  I can Decode both UU and Base64 format.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Just some questions

At 02:56 PM 4/10/97 +0200, you wrote:

>Sorry about my English, I do not learn it in school anymore.

>By the way, I tried out StarThief yesterday. Impressive.

>My biggest completed project so far has been a Nibbles-kind of game.

Oh sure. EVERYBODY wants to make a Nibbles game  :)

>Currently I am working on a stupid graphical round-by-round "action" game.

Don't dis round by round action games. They made people a lot of moolah.

>Bye,
>        Einar Mogen
>
>Do or do not. There is no try.

Obi-Wan once thought as you do.
You don't know the power of the Dark Side.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The Reaper  (J. Lays)   http://www.geocities.com/TimesSquare/Alley/4444/
reaper at auracom.com      Check out my Euphoria Games page at:
            -= http://www.geocities.com/TimesSquare/Alley/4444/eugames.html
      ........................
     . .. -||..........__......  "There is a silence before a storm,
      . /  ||......../-- \\.::::  A calm that is spent in fear;
   . ..|   ||...... /    | |.:::  But if that time was spent running,
     .|  _-||.......||   / /.:::: There may be nothing to be afraid of."
    ..| |..||...... -\_- \ |\-.:::
     .| |.[< \ .../            \.::
      .||.|||\|\ |  -      - .  \.::::
     ...|.\|| |  \  |        |   |.:::.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

new topic     » goto parent     » topic index » view message » categorize

5. Re: Just some questions

Reaper,

If you don't have nothing to do don't do it here.

MK

new topic     » goto parent     » topic index » view message » categorize

6. Re: Just some questions

At 02:40 PM 4/11/97 +0100, you wrote:

>Reaper,
>If you don't have nothing to do don't do it here.
>MK

I'm not sure what you're problem is, but don't take it out on me. If you
haven't noticed lately, not many of the letters we have been getting lately
have a whole lot to do with programming on Euphoria, so you are just being a
baby if you're going to pick me out of the bunch. Letters like this are
exactly what the problem has been these last few months. Seems like we got
twenty people out there who just wait around until they see something they
can jump on someone's back about. And then they usually apoligize and say
that's not what they meant. I did it, you did it, Packard did it, and others
did it. And then people like David Gay and Jiri Babor get brought into the
situation. I know I haven't been much help to the Euphoria community, but
maybe instead of trying to find someone to blame we should be a little more
patient and understanding in the future.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The Reaper  (J. Lays)   http://www.geocities.com/TimesSquare/Alley/4444/
reaper at auracom.com      Check out my Euphoria Games page at:
            -= http://www.geocities.com/TimesSquare/Alley/4444/eugames.html
      ........................
     . .. -||..........__......  "There is a silence before a storm,
      . /  ||......../-- \\.::::  A calm that is spent in fear;
   . ..|   ||...... /    | |.:::  But if that time was spent running,
     .|  _-||.......||   / /.:::: There may be nothing to be afraid of."
    ..| |..||...... -\_- \ |\-.:::
     .| |.[< \ .../            \.::
      .||.|||\|\ |  -      - .  \.::::
     ...|.\|| |  \  |        |   |.:::.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu