Article View: rec.games.programmer
Article #1739Bitmaps or what??
From: Benjamin Christophe Lee
Date: Fri, 18 Dec 1992 10:36
Date: Fri, 18 Dec 1992 10:36
28 lines
1801 bytes
1801 bytes
I have recently begun playing around with a small tank game that I wrote for my pc using Borland C++ V2.1 I played around alot with Hooking INT 09 and checking Port 60 for keyboard input. is this the best way to handle such things? I also set it up to work with the mouse. It currently polls the mouse constantly, but this won't do. I am planning to set up an interupt handler and event queue (if i can ever get it figured out) I cant figure out how to give the correct procedure address to INT 33. Anyway, on to my real question: what (if any) is the best way to store and use graphics in a game on a pc. Can the data be encorporated into the .exe file? so far i have used windows bitmaps (eek) for the tank pictures... i just loaded the raw data out of the file. What I'm getting at is that there must be a better way... many games have rescource data files and they seem to use their own format in storing the pictures. so how can I draw and edit these pictures and save them to disk in such a way that i could laod them into my programs? SideNote: how do you make use of sound cards in games? any help appreciated. Email response prefered. thanks -- ------------------------------------------------------------------------------- If your going to get drunk, do it in the | zaxin@wpi.wpi.edu basement so you dont fall down the stairs. | ---Kevin McDonald | Benjamin C. Lee
Technical Details
Message-ID:
<1gs9j6INNnq@bigboote.WPI.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!bigboote.WPI.EDU!bigwpi.WPI.EDU!zaxinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!bigboote.WPI.EDU!bigwpi.WPI.EDU!zaxin From: zaxin@bigwpi.WPI.EDU (Benjamin Christophe Lee) Newsgroups: rec.games.programmer Subject: Bitmaps or what?? Date: 18 Dec 1992 10:36:22 GMT Organization: Worcester Polytechnic Institute Lines: 28 Message-ID: <1gs9j6INNnq@bigboote.WPI.EDU> NNTP-Posting-Host: bigwpi.wpi.edu