• 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
SageCraze96

C++ Games?

12 posts in this topic

I want to know exactly what the market is like for games written in C++... Why is it that every time I find an Indie game worth playing it's usually written in Java?? Usually any games I see written in C++ come from big companies not Indie developers?

Edited by SageCraze96
1

Share this post


Link to post
Share on other sites


Why is it that every time I find an Indie game worth playing it's usually written in Java?? Usually any games I see written in C++ come from big companies not Indie developers?

 

The reason is because indie developers generally aren't told to use a specific language by their superiors as they have none. So as a result they pick a language of their choice and unfortunately many programmers don't like to use C++. Some people find it faster to write their game in a managed language like java and since most of the time they work on it in their spare time this makes sense as they don't want to overwhelm themselves. Indie games also tend not to include "cutting edge" graphics and physics and as a result the performance advantage of a compiled language like C++ isn't considered as important. The language that the game is written in isn't really an indicator of whether or not it's "worth playing" its just a trend for indie developers to use Java because they happen to like it. 

0

Share this post


Link to post
Share on other sites

I cannot think of a single indie game that is so cutting edge that it needs to be written in a low level language like C++.   Console games are usually aiming at being AAA games and pushing the boundaries that can be achieved with the hardware available.  Indie games on the other hand tend to focus on fun.  This is why they are written in Java, Pascal, Flash, HTML5, Game Maker, Construct 2D.
There are far too many wannabe indies out there trying to write their own engines in C++ because thats what they think happens in the "industry" whilst one or two smart people have managed to make 10 times what the average games programmer makes just by clicking together a game in game maker.

 

 

If you want to be an indie then you need to ask yourself "Do I want to be a hobbyist hacker or do I want to be an indie making a really cool game?".

0

Share this post


Link to post
Share on other sites

I want to know exactly what the market is like for games written in C++... Why is it that every time I find an Indie game worth playing it's usually written in Java?? Usually any games I see written in C++ come from big companies not Indie developers?

 

1. A lot of indie games are written in C++, either completely, mostly, or partly.

2. Sometimes indies use off the shelf engines which allows them to use scripting languages, but the engine and its tools are still written in C++

3. Most games are written in C++ because it's the standard language in the games industry, because studios already have lots of time and money invested into tools and tech written in C++, and because it's the only language supported in many platforms.  Even on something like iOS which is Objective-C, that's still sitting on top of C++ and C/C++ can be used independently of the Obj-C code.

4. The reason a lot of indies dont use C++ is because they are amateurs who are starting out and want to use the simplest and quickest to learn language that will get their game up and running, they dont have existing C/C++ tech and tools, and are not necessarily interested in portability of their code.

0

Share this post


Link to post
Share on other sites


The reason a lot of indies dont use C++ is because they are amateurs who are starting out and want to use the simplest and quickest to learn language that will get their game up and running, they dont have existing C/C++ tech and tools, and are not necessarily interested in portability of their code.

 

Or they are battle scared proffesionals with several years writing AAA games who realise that what you can do as an indie lone wolf is vastly different to what you can do in 100 man team with unlimited budget chucked at it.

0

Share this post


Link to post
Share on other sites

 


The reason a lot of indies dont use C++ is because they are amateurs who are starting out and want to use the simplest and quickest to learn language that will get their game up and running, they dont have existing C/C++ tech and tools, and are not necessarily interested in portability of their code.

 

Or they are battle scared proffesionals with several years writing AAA games who realise that what you can do as an indie lone wolf is vastly different to what you can do in 100 man team with unlimited budget chucked at it.

 

 

Indeed, it is very frequently just a business decision, by using off the shelf tools, engines, etc you can get your game to market faster and at a lower cost (Which makes it more profitable) and most of the good affordable tools and engines use higher level languages, even big AAA studios are using high level languages outside of the engine code these days.

 

If you are making your own engine (a bad business decision unless you have the resources to get a high quality engine done before it becomes outdated) it makes sense to use lower level languages, if you are extending or modifying an existing engine you might need to use a lower level language for that specific task. (quite common with Unity for example, allthough today most of the native extensions one needs can just be downloaded from the asset store) but for anything else, use the highest level language you can to get the job done as fast as possible with as few bugs as possible.

0

Share this post


Link to post
Share on other sites


Developers are NEVER told to use a language even in the largest companies

That's not entirely true...

 

In large companies the developers often don't get to choose their target platforms, and it can be these platforms that dictate the required language. You don't have much chance of releasing a title on PS3 & 360 if you decide to go with Basic.

1

Share this post


Link to post
Share on other sites

I want to know exactly what the market is like for games written in C++... Why is it that every time I find an Indie game worth playing it's usually written in Java?? Usually any games I see written in C++ come from big companies not Indie developers?

 

Use the language that works best for you.

 

Most games, on today's modern hardware, you can choose whatever language you want.

 

You can absolutely write games ranging from Tic-Tac-Toe to Farmville without pushing the limits of hardware. Use whatever language you feel most comfortable in.

 

 

 

 

However, you also mention AAA games.

 

The major AAA games have a game engine that is very much unlike an indie game engine.  Many AAA games have a game engine that enters the realm of High Performance Computing. Parts of the game are pushing the hardware very close to the limit of its performance.  

 

In those cases, the parts of the engine that push the hardware to the extreme, the story is a little different. Language choices in that small part of the program are very limited. The language of choice for those constrained portions of code is usually "c with classes" potentially with a bit of assembly thrown in.

 

Modern AAA games are written with many languages. Usually there is a scripting language that is used for a great deal of the work. This scripting language is generally not C++. Often times the main engine is written in C++ mainly for convenience reasons; the libraries are easily accessible with C bindings and C++ features and idioms are powerful. Those few key components of the engine that are heavily optimized and written in "c with classes" and cannot afford even the small cost of most C++ idioms, even the few nanoseconds of a virtual call are too much for certain high performance components.

 

 

Few games have those needs.  Most hobby, homebrew, and indie games do not.  Some independent games do, and typically those games have multi-million dollar budgets. And of course, most of the AAA blockbusters push the limits, but those few games can fit on a retail shelf; they represent only the tiniest minority of games by number.

0

Share this post


Link to post
Share on other sites

well torchlight and torchlight 2 is a relatively small studio and they used c++ and the ogre engine to create their game as far as i know. what language people choose to use may depend on the libraries they want to use. java over the years has gotten absolutely huge with the amount of libraries available which makes things easier and faster. they have actually done polls and stuff on the most used languages right now and its actually plain c which has the highest usage right now in the industry. this shocked me because c++ wasnt even on the list. alot of them are languages that most have never heard of. it was mostly comprised of scripting like languages. i think html was second. i wish i still had the link but there was some weird languages on there that you would never think of. c sharp wasnt on there at all either.

0

Share this post


Link to post
Share on other sites


Developers are NEVER told to use a language even in the largest companies, if a team wants to write things in Basic, the company/marketing folks won't give a damn so long as you produce a game.  

 

This I have to disagree with on many levels.

 

First the decision can come from above...  in the form of "We got a licensing deal/promo offer/something else to use this piece of middleware...  get to work!"  In this day and age, the underlying engine dictates the language choice more than anything else.

 

Next, for companies not using an engine, its generally because they are working with legacy code.  This generally forces the language on the dev team, and is probably a good part of the reason C++ remains as entrenched as it is.

 

Finally, its generally one or two people in the company that make the language decision...  after that lowly peons put up or get out.  It's the way of the world.

1

Share this post


Link to post
Share on other sites

 


Developers are NEVER told to use a language even in the largest companies, if a team wants to write things in Basic, the company/marketing folks won't give a damn so long as you produce a game.  

 

This I have to disagree with on many levels.

 

First the decision can come from above...  in the form of "We got a licensing deal/promo offer/something else to use this piece of middleware...  get to work!"  In this day and age, the underlying engine dictates the language choice more than anything else.

 

Next, for companies not using an engine, its generally because they are working with legacy code.  This generally forces the language on the dev team, and is probably a good part of the reason C++ remains as entrenched as it is.

 

Finally, its generally one or two people in the company that make the language decision...  after that lowly peons put up or get out.  It's the way of the world.

 

 

Thank you, I was actually wondering when someone would say this after he posted that.

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