Subject: c source code for simple-classic-old mac arcade type games wanted
Date: 21 Feb 94 08:16:52 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
I'm interested in learning how to program games on my mac, using C.
Being new to C (and mac) I'm unsure of graphics techniques, functions, etc.
as well as sound.
If anyone has any simple games source code (a plus if well documented), I'd probably be able to learn something from looking at it, & playing around & modifying things.
Does anyone know any C libraries which include graphics or sound functions?
--
Apollo
+++++++++++++++++++++++++++
>From kenlong@netcom.com (Ken Long)
Date: Mon, 21 Feb 1994 16:33:04 GMT
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
There are a few C game sorces available - from simple to complex.
The Sprite Animation Toolkit has "Space Invaders" type source, as well as
other forms of animation demos. There's a Pascal source set for
"HeartQuest" in the package, too.
"NewMaxell" has some buggy B/W "game" source, in C.
On ftp oak.oakland.edu, there's some old C source for a "Go" game. I'm
working on updating this source and will post upon completion.
The "SpriteWorld" source package has some "game" demo source.
The Arashi 1.0 and 1.1 source is on Stanford and Univ. Michigan ftps.
Full color, direct to screen, graphics, animation, sound, sound
compression, etc.
"Cheese Toast" is a Malestrom-type game source package. FPU required for
the built application.
I ordered and received the source for "MacMan" (the B/W version) and the
source may still be available. ($15)
There's some Tetris-type sources available.
There is a source project called "Hearts" - a card game - available from
the authors.
Here, on Netcom, there are some ANSI game sources. Poker, tetris,
Monopoly, Snake and others. Not much help for a beginner, since they are
not "Mac-like" or even for Think C, but game source, none the less.
Then, you can write to authors and ask for source. I've gotten several
sources - some of which I'm not allowed (nor would I) to distribute - from
authors upon request. They rule of thumb is: When you see a program you
want the source for, ASK immediately. I've gotten some publically
available source, even at a price, only to find other's later attemps to
get the same source failed due to authors changing their mind about
releasing it.
One of the best game source projects I got was from an author who had not
released anything since 1985. No addresses in his program were current.
So, with a little detective work, and some 555-1212 calls, I was able to
contact him. A Mac to Mac telecom connection transmitted the source.
Also, you may be able to get source for games authors have given up on.
They may no longer have the time or willingness to complete the
development of some project. You can work deals to complete the
development of such projects. I was given source on that basis. But,
upon reviewing the source, I could see that a complete rewrite, using
modern methods, would have been the best course of action. As such, the
old code only had historical value, or training value. And, since the
original game was started, several competitive games have already been
released by others, making it an unfeasable shareware proposition. This
may not always be the case, though.
Ken
kenlong@netcom.com
"It's better to have a Mac and not need it, than to need a Mac and not
have it."
---------------------------
>From todd_J._Lipcon@fourd.com (todd J. Lipcon)
Subject: showtext-pascal
Date: 20 Feb 1994 11:29:14 -0600
Organization: 4th Dimension BBS
Is there a very easy way to save the contents of THINK Pascal's built-in Text
window to a teachtext file? I really don't want to have to figure out the
entire TE manager! The program generates a series of prime numbers and right
now it puts them into the text window using writeln(). If I cant do what I
want, does anyone have any simlpe TE routines?
Thanks for the help!
Scott Lipcon
reply to: Scott.Lipcon@zorro9.fidonet.org, or Scott@fourd.com