• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
lmsmi1

First-Person Shooter [Code::Blocks with MinGW]

8 posts in this topic

Well, hi there :). I was directed here by another person on a website, and am confident that GD's community will help me tremendously.

 

I am currently starting a very big project called "R3C0N". It is an FPS gme plan that's game engine will be coded in C++. I know a moderate level of C++, including the usual i/o with consoles, and  little Win32 API, however I have absolutely no knowledge of libs such as GDK+, OpenGL, DirectX, etc. When I came up with the idea of an FPS game coded in C++, I planned it out very roughly, then smoothed it out as I researched what was possible with C++. Here is the beta plan:

 

Game Engine - Reads the files neccessary to play the game, displays graphics, etc.

Game Folders - Contain the neccessary files (.wepn, .wav, .obj, .texture, etc.)

 

I have a complete plan if you would like me to post it, but since this is my first post here, I thought I would just ask the bare minimum, as I don't know what the community is like.

 

My main question is: what library is good for FPS games in C++? I'm using MinGW with Code::Blocks, so anything that's compatible with MinGW works for me. I am planning on having the player to be able to scope zoom, sight zoom, you know things like Call of Duty Modern Warfare 3 players can do.

 

Thanks in advance for any help at all. I look forward to meeting the community.

 

~lmsmi1

0

Share this post


Link to post
Share on other sites

Id suggest dropping using c++ and check out unity or udk. You're going to fail if u try to write a modern fps engine from opengl, plain and simple.  Plenty of people who truly know what they are doing with C++/OpenGL/DirectX have already written engines; you should use one of them that's already done.

Edited by BeerNutts
2

Share this post


Link to post
Share on other sites

If you don't know OGL or DX, please don't go to that route. You will eventually get frustated. Even when you are a very good C++ and OGL/DX programmer, you need to know about scene graph management, bsp trees, 3d model importing, shading and many many more things to make an FPS. Like the others said, don't go this way.

 

Note: But if you want to look at the amount of knowledge needed to make an FPS. Just go to ID Software's website and download any of their Doom or Quake source code. You will know why we didn't recommended it.

1

Share this post


Link to post
Share on other sites

I know this isn't exactly a programming related reply, but have you considered trying to mod it into a pre-existing game (ie Unreal, Source Engine)? I've not tinkered a lot with Unreal but I'm certain there's still opportunity to tinker around with VALVes code for Source Engine and you could probably apply your skills to learning about how the engine works (ie learn about implementing shaders etc)

Although I do agree with the above posts, I believe that if you want to make a game (your own engine etc), it requires a tonne of knowledge about hundreds of different aspects, such as OpenGL etc. I'd say give modding a go or if you're confident you're past that stage, try getting a base engine with nothing on top and work your game into that. I do believe the Doom 3 BFG Edition source code is up for grabs to play with, could be very interesting to look at what actually goes into making a modern game engine.

1

Share this post


Link to post
Share on other sites

Well, thanks for your replies. I already have OBJs for weapons and such, plus sounds, and definition files for the game. I've got GLUT set up, but I guess I have no luck according to you all :(. I'll plan more and watch mor TUTs, and I'll come up with a way to organize it all.

 

Thanks guys :).

0

Share this post


Link to post
Share on other sites

Uhm, I've come upon a little problem. I've switched to a main weapon XML data file, and am trying to define reload, firing, and switch animations. I don't know how to organize this in an XML file for the FPS game. Can anyone help me with this problem?

0

Share this post


Link to post
Share on other sites
Uhm, I've come upon a little problem. I've switched to a main weapon XML data file, and am trying to define reload, firing, and switch animations. I don't know how to organize this in an XML file for the FPS game. Can anyone help me with this problem?

 

Where are your animations saved? Are you still using OBJ's for weapons? If I'm not mistaken, the OBJ format doesn't support animation. 

0

Share this post


Link to post
Share on other sites

Ah gfxgangsta! That's why! Okay, my weapons definition file has an XML structure. Is that the best for importing strings & values into the game, or should I use JSON or something else?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0