Looking for open source shooter game to learn from and tinker with.
Members - Reputation: 751
Posted 13 October 2012 - 10:40 PM
Type shooter / slight bias to outer space shooters
If this post was helpful and/or constructive please give rep.
SFML2.0 Nightly Download Link http://en.sfml-dev.org/forums/index.php?topic=9513.0
SFML2.0 Tutorials http://www.sfml-dev.org/tutorials/2.0/
Members - Reputation: 561
Posted 14 October 2012 - 01:14 AM
Level handling (rendering, etc.) will differ quite a lot between a space shooter and in-door games like Quake and Doom. I like Id's engines because of their pragmatism; they get things done.
Edit: http://fabiensanglard.net/quakeSource/index.php <-- a walkthrough of the Quake source code
Edited by patrrr, 14 October 2012 - 01:17 AM.
Members - Reputation: 1050
Posted 14 October 2012 - 01:02 PM
Members - Reputation: 1548
Posted 15 October 2012 - 03:37 PM
If you want to look at some other source code, my old blog (in my Sig below), I detail the steps to make a top-down action game and provide the source. It could be made into a space shooter game easily.
---(Old Blog, still has good info): 2dGameMaking
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)
Members - Reputation: 1050
Posted 16 October 2012 - 12:10 PM
Edited by 6677, 16 October 2012 - 12:12 PM.
Members - Reputation: 1073
Posted 20 October 2012 - 11:58 PM
I could have sworn it was only 1 and 2 that where in plain C with 3 moving towards C++. Maybe not. 4 is certainly C++ though
Fabien Sanglard - What motivated to move the team to C++ for idTech4 ?
John Carmack - There was a sense of inevitability to it at that point, but only about half the programmers really had C++ background in the beginning. I had C and Objective-C background, and I sort of "slid into C++" by just looking at the code that the C++ guys were writing. In hindsight, I wish I had budgeted the time to thoroughly research and explore the language before just starting to use it.
Until ID Tech 4 it was all pure C and some assembly hacks. This guy http://fabiensanglard.net/ did reviews of both IDTech3 and IDTech4.
Staff - Reputation: 8878
Posted 21 October 2012 - 12:08 AM
If that's correct, you could perhaps try Chromium B.S.U. or The Ur-Quan Masters -- I don't know of any others, but the guys at shmup-dev might be more likely to know.
...and just to repeat the warning I gave about learning from source-code in another recent topic:
Remember to take anything you see with a grain of salt though -- you're looking at the final resulting code, but you almost certainly won't have access to the logic behind the choice of that particular implementation -- you won't know whether a particular technique was chosen because it is the best idea, because it suits some special and unusual need of the particular project, because it used to be a good choice for reasons that no longer apply, or even simply because the developer was ignorant of better options.
I wouldn't go so far as to say you shouldn't have a look -- for some people it can be an excellent way of learning -- but a lot of beginning programmers think they'll get a lot more value from examining source code than they end up with, or don't think about the fact that even though the code is from a working game it still might not be ideal.
Hope that's helpful!
- Jason Astle-Adams.