Article View: rec.games.programmer
Article #1936Where is a good Action Game FAQ?
From: Aphoriel/Kinsman
Date: Mon, 11 Jan 1993 22:15
Date: Mon, 11 Jan 1993 22:15
30 lines
1924 bytes
1924 bytes
I'm learning to write in C++, and I have a lot of questions concerning programming graphics action game. Is there a FAQ out there specifically for this? In specific, there is a lot I'd like answered... -How to write a page flipping algorithm such that a greater number of objects on the screen slows the frame rate of the animation rather than the speed of the game. -How to write a data structure appropriate for handling game objects. I.e. A group of unrelated data items, such that when it comes time to draw the screen the program can say, "Hmm.. Aliens 35, 47, and 55 are destoyed, Player shot 1 through 3 struck them and disappeared, Player shot 4 exited the screen.. That leaves the Player, 20 Aliens, the backdrop, and the score display. Ok, send this off this be drawn up for the page flipper!" They would need to be unrelated by relative position to other data items, since I would want to extract items from the middle of the "pile" without causing fuss. What data structure am I thinking of? -How to write an action program using OOP, such that each alien or shot is a procedure in itself, capable of reporting itself active, exploding, or dead to the page drawing routine and the game logic routine. -How collision routines would be handled in OOP. These may be simple, but to me they are notable stumbling blocks. Again, is there a FAQ out especially for programming graphics action games? Or, perhaps I could be directed to a good book... Thanks in advance, Aphoriel/Kinsman Sean Givan
Technical Details
Message-ID:
<1993Jan11.221524.1863@jupiter.sun.csd.unb.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!skule.ecf!torn!csd.unb.ca!kinsmanShow Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!skule.ecf!torn!csd.unb.ca!kinsman From: kinsman@jupiter.sun.csd.unb.ca (Aphoriel/Kinsman) Subject: Where is a good Action Game FAQ? Message-ID: <1993Jan11.221524.1863@jupiter.sun.csd.unb.ca> Organization: University of New Brunswick Distribution: rec.games.programmer Date: Mon, 11 Jan 1993 22:15:24 GMT Lines: 31