Mail Archives: djgpp/1999/09/24/18:54:32
Dan Gold <TedMat AT CoastNet DOT com> wrote in message
news:199909240437 DOT AAA24346 AT delorie DOT com...
> I agree, use Allegro. If you do not plan on using svga resolutions you
can
> use the int33 driver but it is not so great.
You can still probably use int33 but you'll have to hide int33's
cursor and set the mouse's cage (movement boundary
rectangle) yourself.
> If you want to use svga resolutions, you need to create your
> own mouse handler
Not if you hide the cursor and draw your own as a game object
> because the memory is mapped to a different
> address than where the int33 driver looks at.
> Plus Logitech mice are different for reasons I forget
They move at one-eighth speed. I should know; I got one
with my laptop, and it's slow as (censored).
> and I believe you must use the mouse mickeys to detect movement.
That's why Allegro 3.925's default mouse driver is called
Mickey Mouse (reg. TM of The Walt Disney Company).
http://disney.go.com/
> If you just want mouse support I dont suggest
> making your own, Allegro's is very well put together.
>8
> I do think Allegro should have the ability to partition it's use into
> various catagories like i/o, screen, drawing, sound and such so you can
> pick and choose what you need and what you will be implementing yourself.
I believe that's called the "linker."
> > From: JOo pa joo <peter DOT lehto AT dlc DOT fi>
> > To: djgpp AT delorie DOT com
> > Subject: MOUSE FOR DJGPP
> > Date: Thursday, September 23, 1999 9:11 AM
> >
> > i need help! ... im programming a game called: I shoot
> > i have just one problem, i need mouse support for my game
> >
> > somekind mouse with own pointer picture...
You'll have to draw the pointer as a sprite. I assume that "iShoot"
is a first person shooter of the Duck Hunt/Virtua Cop family,
where you use your mouse to aim and the button to fire at a
movie. Simply draw a crosshair on the screen every frame of
the game loop.
> > !!!!!!NOT FROM ALLEGRO!!!!!!
Write your own code _based_ on Allegro's. Then it will not be
"from" Allegro.
> > some one who will give me a mouse source code will
> > receive free copy of my game!
http://www.talula.demon.co.uk/allegro/
Give it to Shawn.
--
Damian Yerrick
http://pineight.webjump.com/
- Raw text -