I don't think my previous message went through.
I'm writing a rogue-like game on Win32 (WinXP in a DOS box). I won't be
releasing it, I just want practice doing this.
Is it better to use Term::AnsiColor or Win32::Console for placing
characters in random places on the screen?
I'm making a rogue-like game on Win32 (WinXP in DOS box). No I will not
release it, I just want practice doing this. What is the best thing to
use for placing a character at various points on the screen?
Win32::Console or Term::AnsiColor?
Is there a tutorial on using Win32::Console? The
I'm making another rogue-like game with Perl on Win32 (WinXP in DOS
box). Someone said that I should look at Term::ANSIScreen or
WIN32::Console to do cursor positioning and screen management. Is there
a website on how to use these 2 modules? Google simply returns 10,000
useless results an
http://www.jas.com/shame/humor.html.
> -Original Message-
> From: Curtis Poe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 13, 2001 4:10 PM
> To: Etienne Marcotte; Chris Ball
> Cc: Ryan Guy; [EMAIL PROTECTED]
> Subject: Re: Win32::Console.
>
>
> --- Et
--- Etienne Marcotte <[EMAIL PROTECTED]> wrote:
> Little typo in your message, I've never seen 23 bits OS...:
Yes, but MS puts out a 2-bit OS :)
=
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/
__
On Thu, Dec 13, 2001 at 03:55:09PM -0500, Etienne Marcotte wrote:
> Little typo in your message, I've never seen 23 bits OS...:
Hah. Oh dear. :-)
It was intentional, honest. Windows is so sucky that it leaks nine
bits, and can only locate up to 23 bits of addressing space. It wasn't
a typo a
7;
Subject: Win32::Console.
Looking for the same thing.
-Original Message-
From: Ryan Guy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:25 PM
To: '[EMAIL PROTECTED]'
Subject: Win32::Console.
If anyone knows where I can find some half way decent examples and
Little typo in your message, I've never seen 23 bits OS...:
Chris Ball wrote:
>
> On Thu, Dec 13, 2001 at 03:25:06PM -0500, Ryan Guy wrote:
> > If anyone knows where I can find some half way decent examples and
> > explanations I would be thrilled thanks.
>
> The 'test.pl', 'docs/{intro,referen
On Thu, Dec 13, 2001 at 03:25:06PM -0500, Ryan Guy wrote:
> If anyone knows where I can find some half way decent examples and
> explanations I would be thrilled thanks.
The 'test.pl', 'docs/{intro,reference}.html' and POD files in the
distribution. Especially the POD, which has documentation an
Looking for the same thing.
-Original Message-
From: Ryan Guy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:25 PM
To: '[EMAIL PROTECTED]'
Subject: Win32::Console.
If anyone knows where I can find some half way decent examples and
explanations I would be thril
If anyone knows where I can find some half way decent examples and
explanations I would be thrilled thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 3:02 PM
To: [EMAIL PROTECTED]
Subject: Re: win32 console input problem
Try this:
use Win32::Console;
$con = Win32::Console->new(STD_INPUT_HANDLE);
@event = $con->Input();
print "$event[0] - event type
Try this:
use Win32::Console;
$con = Win32::Console->new(STD_INPUT_HANDLE);
@event = $con->Input();
print "$event[0] - event type: 1 for keyboard\n";
print "$event[1] - key down: TRUE if the key is being pressed, FALSE if the
key is being release
Here's the code:
use Win32::Console;
$con = Win32::Console->new(STD_INPUT_HANDLE);
@event = $con->Input();
$tmp = $event[6];
print "\n The character typed was: $tmp \n";
For some reason $event[6] is always returning the
ascii value of the space character no matter what I
t
14 matches
Mail list logo