• Advertisement
Sign in to follow this  

Unity C++ Alternative to Unity?

This topic is 1782 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

Today, I ,for some wierd reason, was all excited and gun-ho to start researching and programming with a game engine. The first game engine that popped into my head was Unity because, well...... C'mon its pretty well known. Anyways I go to google type in Unity and click on the website and I get suddenly amazed at what I see! Theres all this stuff that means nothing to me!! But it looks high-tech and smart!!! Anyways, 5 minutes later I start to question whether or not if I should go and download it or see what languages it can be written in. I obviously go with the smarter of the two decisions and went and checked the languages. Good thing I did that because I found that it doesn't carry C++! I was pretty sad after that, so I did a little background checks to see if there was a plugin or anything of the type and found that it would be somewhat difficult to do and it just would not be the same. (Next thought that came into my head.) "Maybe I should go to GameDev and see if they have any suggestions on what I can do now that I know what I can't do!!".
Thats where you guys come in. I haven't done any work at all with game engines so I have no idea what to search for or even know what to type into google (hahaha).

What do you guys suggest if the requirements are:

1. Has to be programmable in C++.
2. Doesn't matter the difficulty.
3. Has to have at least the very basics of a game engine (I don't know everything that is included in game engines soo......)
4. Oh, and it has to be free. [I'm not made of money here;)]


Thats it for the requirements and thanks in advance!! Edited by Saint Squireen

Share this post


Link to post
Share on other sites
Advertisement
try learning c# in unity game perspective: full series excellently made. here: [url="http://www.gamertogamedeveloper.com/"]http://www.gamertogamedeveloper.com/[/url] dont worry its not one of those tutorials who just skip half of the stuff, he does it properly and shows you how to use it in the game, my best recommendation.

or just use Ogre3D: free and uses cpp thats all i know.

Share this post


Link to post
Share on other sites
I would strongly recommend not using Ogre3D, or at least if you do, be aware that it has very inefficient runtime performance (bad rendering API usage, overly cumbersome OO design) and with other engines you could get 3-5 times (rough guess) more drawcalls per frame while maintaining a reasonable framerate. This inefficiency is something that Ogre3D contributors themselves also recognize: [url="http://www.ogre3d.org/forums/viewtopic.php?f=13&t=69381&start=29"]http://www.ogre3d.or...=69381&start=29[/url] . Plus, after Sinbad leaving, the leadership and direction of the project are questionable.

Some others you could look into: Panda3D, gameplay, PixelLight, SoftPixel Engine, Urho3D (self-advertisement.)

(for more, you can search at devmaster.net; choose C++ in Languages Supported field in the search options, and license options as you wish)

Share this post


Link to post
Share on other sites
Firstly, “No to Ogre 3D”. They’ve skipped the very basics when it comes to performance in rendering, and if they managed to fail on that part who knows how far else they have managed to fail.

Secondly, it is “[url="http://en.wikipedia.org/wiki/Gung-ho"]gung-ho[/url]”, not “gun-ho”.

Thirdly your #1 and #2 contradict each other.
It must be C++, but the difficulty doesn’t matter?
Firstly, C++ is one of the most difficult languages to learn, yet if you really considered that difficulty does not matter you would not shy away from C#, which is over twice as easy to learn.

Fourthly, Unity 3D doesn’t “carry” C++? Do you understand the whole point behind scripted languages?
Scripts are simplified versions of programming languages, so that designers and other non-programmers—or programmers with extremely little skill—can work with them.
C++ is not going to be part of any scripting package, as it would defy the whole point of a scripting language.

In order to use C++ with any engine on this planet, you will have to buy a full-sized professional company license, and that is always going to cost far more than you can afford.


What you seek does not exist.
Although I have not heard from the Source SDK in a long time. It was mentioned before and might be exceptional.


L. Spiro Edited by L. Spiro

Share this post


Link to post
Share on other sites
I know you're not looking to spend money but C4 Game Engine is very C++ oriented, and it comes with demo games that you can run or even modify. Standard Edition is only $250 unless you plan on making PS3 games then Standard Edition is all you need, you can even sale the game after. Just opening up another suggestion.

I have used Ogre3D not a big fan of it either but its C++ oriented as well only good thing about it is that it's free.

[quote name='L. Spiro' timestamp='1347723579' post='4980403']
Scripts are simplified versions of programming languages, so that designers are other non-programmers—or programmers with extremely little skill—can work with them.
[/quote]
Scripting also saves on compile time, normally saving the programmer time in the long run. Also sometimes you want to make a minor change and instead of compiling the whole program again you can modify the script

[quote name='L. Spiro' timestamp='1347723579' post='4980403']
In order to use C++ with any engine on this planet, you will have to buy a full-sized professional company license, and that is always going to cost far more than you can afford.
[/quote]
Ogre3D uses C++ and its free, looks like we are from different planets? Plus I just suggested C4 Game Engine that also uses C++ heavily and the cost is only $250 and comes with source(I don't really see this being a wallet breaker) plus you get unlimited updates to the engine. Edited by stevo58

Share this post


Link to post
Share on other sites
My #4 is a logical conclusion, but since I don’t know about every engine out there I can’t say it is conclusive fact.
If there really is an engine out there that satisfies his conditions, then I fully retract my #4, and it can be disregarded from here out.


L. Spiro

Share this post


Link to post
Share on other sites
[quote name='Hodgman' timestamp='1347727937' post='4980420']
N.B. Ogre3D isn't a game engine -- it's only a graphics engine -- but yes, there's plenty of game engines built upon it.
[/quote]

Yes you are right thanks for the correction

Share this post


Link to post
Share on other sites
Has anyone considered that the OP may know C++ already?

Irrlicht, Ogre3d and cryengine are the 3 that come to mind.

Cryengine apparently has a clue in the name to its difficulty to even experienced C++ devs, its also only free for non commercial use (so practice purposes and making free games). If you want to sell a game with cryengine then you have to contact crytek, they offer a royalty based license (ie you give them 30% of income or something), their full license is extortionate, we are talking tens of thousands of dollars. Crysis is the only game I can think of using the cry engine (and that is what the engine was made for).

Irrlicht and ogre are both opensource and I doubt your going to run into the performance issues of ogre (I've seen to stunning examples made in ogre that ran perfectly fine on my laptops integrated GPU let alone my main rig). I don't think irrlicht is particularly quick either.

Source I could have sworn mostly used lua scripting rather than C++ but after some googling it seems you can use it. Source mods it used to be you were allowed to sell the mod files as long as you didn't bundle the engine in with it which generally means the end user has to install a source engine game on their system before being able to play your game, TF2 is free and works fine for these purposes but your end user might not want TF2. I don't know if they've changed that rule so you can only make mods if they are free or something. Just typing source into steam shows a largish list of source engined games. The license for if you want to actually include the source engine with your game is hideously expensive (thousands and thousands of dollars again).



If you do know C++ already then picking up C# for unity should be a breeze. If you don't know C++ already then C# will be easier to learn than C++ anyway. My experience with unity so far though hasn't been good but I think that might be a corrupt install rather than unity itself (my editor camera cannot move, only rotate on the spot no matter what buttons I press and yes I have checked the settings, The sample project included the guy can't shoot and the enemies don't activate. When I make a game the game camera doesn't render anything no matter whether an object is in its FOV or not. No idea what is going on and right now a reinstall isn't possible) Edited by 6677

Share this post


Link to post
Share on other sites
This is a [url="http://www.gamefromscratch.com/page/3D-Game-Engine-Round-up.aspx"]list of the most common 3D game engines[/url], there are 20 in all. The programming language of choice is given for each.


As to actually writing your game logic in C++, almost no engines work this way. CryEngine I suppose, although even it uses an internal scripting language. Simply put, game logic and C++ just don't go together all that well. There are rumours that the next Unreal Engine is going to support C++ and Kismet in place of UnrealScript and Kismet, but that sounds more to me like they are replacing UnrealScript with Kismet...


As to C++ engines with an integrated dev experience like Unity, I don't really believe that exists. The GamePlay SDK ( it's in the list ), is C++ based and has a rumoured level design editor in the works. Edited by Serapth

Share this post


Link to post
Share on other sites
[quote name='L. Spiro' timestamp='1347723579' post='4980403']
Scripts are simplified versions of programming languages, so that designers and other non-programmers—or programmers with extremely little skill—can work with them.
[/quote]

lol

Not quite!

C#, used by Unity, is a fully fledged OO language that has far more features than C++ and is therefore [b]more [/b]complicated. It isn't more complicated to [i]understand[/i], because it's better engineered.

You can code in anything that compiles to CLI, including C++, and use that code in your Unity games, providing you don't mind using Visual Studio. Compile your code into C++/CLI. The DLLs can be dragged and dropped into your unity project as assets and then referenced by C# classes attached to your game objects. You will only have problems if you want your CLI code to interop with native windows code, and then only with portability to other platforms that Unity can target. Edited by JamesTheNumberless

Share this post


Link to post
Share on other sites
In case it wasn't clear from my last post.

There is an engine similar to Unity 3D that supports C++

It's called Unity 3D

You can write C++, compile it to C++/CLI DLLs, and reference those in your game object scripts.

So if you have, for instance, all your AI routines written in C++. You can keep them in C++, and only need write enough C# to make calls to the appropriate functions. Manipulating objects in the scene graph will still be done with C# but that's ok because in any C++ engine you'd write 90% of such code in a scripting language anyway, You have the added advantage that (like Java) C# is a proper language that's very close in syntax to C++ and not restricted, or weird, in the ways that scripting languages often are.

Share this post


Link to post
Share on other sites
[quote name='JamesTheNumberless' timestamp='1347749369' post='4980498']
C#, used by Unity, is a fully fledged OO language that has far more features than C++ and is therefore more complicated
[/quote]
Number of features of a language != how complicated said language is...

I personally find it a little peculiar that the OP says he hasn't done any work with a game engine, but still wants one "programmable in C++". If he hasn't done any work with a game engine before he should start by writing scripts for one, even if he himself might not be a beginner programmer. Otherwise, diving into the C++ code of the actual engine would feel more like drowning...

Share this post


Link to post
Share on other sites
[quote name='Saint Squireen' timestamp='1347716588' post='4980373']
Hello,

Today, I ,for some wierd reason, was all excited and gun-ho to start researching and programming with a game engine. The first game engine that popped into my head was Unity because, well...... C'mon its pretty well known. Anyways I go to google type in Unity and click on the website and I get suddenly amazed at what I see! Theres all this stuff that means nothing to me!! But it looks high-tech and smart!!! Anyways, 5 minutes later I start to question whether or not if I should go and download it or see what languages it can be written in. I obviously go with the smarter of the two decisions and went and checked the languages. Good thing I did that because I found that it doesn't carry C++! I was pretty sad after that, so I did a little background checks to see if there was a plugin or anything of the type and found that it would be somewhat difficult to do and it just would not be the same. (Next thought that came into my head.) "Maybe I should go to GameDev and see if they have any suggestions on what I can do now that I know what I can't do!!".
Thats where you guys come in. I haven't done any work at all with game engines so I have no idea what to search for or even know what to type into google (hahaha).

What do you guys suggest if the requirements are:

1. Has to be programmable in C++.
2. Doesn't matter the difficulty.
3. Has to have at least the very basics of a game engine (I don't know everything that is included in game engines soo......)
4. Oh, and it has to be free. [I'm not made of money here;)]


Thats it for the requirements and thanks in advance!!
[/quote]

You wait a few weeks and then you go to Garagegames website and download the by then Open sourced(MIT) free Torque 3D engine. You have access to all the source codes in C++ and you can use it for commercial use for free too. It uses a scripting language too that is close to C++ syntax.

After you have open up the hood and start looking at the source codes in C++ for this engine you will be grateful that engines like Unity and Torque has its own scripting languages. Unity has a very nice option of doing scripting in C# or a java script like language and Torque 3D uses Torque Script. However, Unity is not for free and costs quite a few $$$ if you want the pro version.

It makes a lot of work so much more easy when one can just script. I mean think about it. Each time you change a code in an engine you better rebuild it before you can test the result. With scripting such as Unity offer you, one is free to run it at once and check the result.

Also I second what Mizu says above.

Share this post


Link to post
Share on other sites
+1 irrlicht.

I've used orgre3d and irrlicht. I like irrlicht the best, easier to use, the api is more consistent and easy to use. Speed is great, and it comes with a free level designer. It also compatible with LOTS of formats, ogre3d only supports its .mesh format. It also has an optional audio library too.

Share this post


Link to post
Share on other sites
[quote name='Mizu' timestamp='1347758197' post='4980521']
[quote name='JamesTheNumberless' timestamp='1347749369' post='4980498']
C#, used by Unity, is a fully fledged OO language that has far more features than C++ and is therefore more complicated
[/quote]
Number of features of a language != how complicated said language is...
[/quote]

Yes it does ;)

C++ is simple and powerful, and difficult to use properly when dealing with high levels of abstraction. C#/Java and the runtimes they are coupled to lend themselves better to software engineering because they are more advanced OOP languages that have concepts built in that the C++ programmer has to take time developing themselves. More complicated programs, less complicated language.

Share this post


Link to post
Share on other sites
[quote name='EddieV223' timestamp='1347823971' post='4980694']
+1 irrlicht.

I've used orgre3d and irrlicht. I like irrlicht the best, easier to use, the api is more consistent and easy to use. Speed is great, and it comes with a free level designer. It also compatible with LOTS of formats, ogre3d only supports its .mesh format. It also has an optional audio library too.
[/quote]

Irrlicht also gets my vote. Actually, it comes second to Havok's Vision engine (used to be Trinigy) but that costs money! However, I think possibly only UDK has the same sort of IDE approach as Unity does, and even then it's not quite the same. Where I work we've all (C#, Web and C++ developers alike) been blown away by Unity, both in how sensibly it works and the level of performance you can get out of it without even trying. If what you're after is a good way to learn C++ - don't start with a large 3rd party engine! Get yourself some good C++ books and try writing your own engine from scratch following the NeHe or directxtutorial.com (my favourite) lessons.

Share this post


Link to post
Share on other sites

Wow! http://www.gamertogamedeveloper.com/home is a awesome web page! I  have been using Unity for about a year and a half and have done dozens of tutorial series and have never found one more comprehensive that this one.

 

*If you are looking to make your own fps with c++ and unity 3d; this is the site for you. 

Share this post


Link to post
Share on other sites

Have a look at shiva3d http://www.stonetrip.com/

 

Its basically the same concept as unity3d.

 

C++ and Lua, exports to pretty much every platform. On the downside the GUI is a bit aged and the new version is about a year behind schedule.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
  • Advertisement
  • Popular Now

  • Advertisement
  • Similar Content

    • By eldwin11929
      We're looking for programmers for our project.
      Our project is being made in Unity
      Requirements:
      -Skills in Unity
      -C#
      -Javascript
      -Node.js
      We're looking for programmers who can perform a variety of functions on our project.
      Project is a top-down hack-and-slash pvp dungeon-crawler like game. Game is entirely multiplayer based, using randomized dungeons, and a unique combat system with emphasis on gameplay.
      We have a GDD to work off of, and a Lead Programmer you would work under.
      Assignments may include:
      -Creating new scripts of varying degrees specific to the project (mostly server-side, but sometimes client-side)
      -Assembling already created monsters/characters with existing or non-existing code.
      -Creating VFX
      -Assembling already created environment models
      If interested, please contact: eldwin11929@yahoo.com
      This project is unpaid, but with royalties.
       
      ---
      Additional Project Info:
      Summary:
      Bassetune Reapers is a Player-verus-Player, competitive dungeon crawler. This basically takes on aspects of dungeon crawling, but with a more aggressive setting. Players will have the option to play as the "dungeon-crawlers" (called the 'Knights', or "Knight Class", in-game) or as the "dungeon" itself (literally called the 'Bosses', or "Boss Class", in-game). What this means is that players can choose to play as the people invading the dungeon, or as the dungeon-holders themselves.
      Key Features:
      -Intense, fast-paced combat
      -Multiple skills, weapons, and ways to play the game
      -Tons of different Bosses, Minibosses, creatures and traps to utilize throughout the dungeon
      -Multiple unique environments
      -Interesting, detailed lore behind both the game and world
      -Intricate RPG system
      -Ladder and ranking system
      -Lots of customization for both classes s of customization for both classes
    • By RoKabium Games
      Custom coffee mugs have arrived... More caffeine!
      Have a great weekend everyone! 
      #gamedev #indiedev #sama #caffeine
    • By Atwo Studios
       
      Hey guys,

      Anthony here from Atwo Studios bringing you some new updates for the new year!
      In this video I go over our game ROY, the new games and some general updates to the company!

      If you have not checked out ROY feel free to give it a try! Many people have said they enjoyed the game thus far!
      ROY: https://goo.gl/o6JJ5P
       
    • By Affgoo
      https://play.google.com/store/apps/details?id=com.NE.Alien
      still a lot of work to do, but its pretty stable  please let me know what you think <3
      Atlas Sentry is a game of destroy everything. Using your turret, simply swivel and shoot your way to victory, upgrading your weapons to unleash destruction on the variety of spaceships. The bigger your combo’s the more score you get! Earn silver as you play and then purchase new weapons and abilities to better deal with your enemy. Different enemies use different tactics and weapons, work out your own priorities in their destruction order. 

      Features: 
      **2 different game modes 
      **A level select mode with 20 difficult levels including a final boss, can you defeat it? **Arcade mode of endless destruction, how long will you last? 
      **High scores to compete against others, see who can take the top spot. 
       
    • By Chamferbox
      Chamferbox, a mini game asset store has just opened with some nice game assets, 
      Here you can find a free greek statue asset 

      Also check their dragon, zombie dragon and scorpion monster out:



      They're running the Grand Opening Sale, it's 30% off for all items, but for gamedev member, you can use this coupon code:
      GRANDOPEN
      to get 50% off prices What are you waiting for, go to
      http://chamferbox.com
      and get those models now!

      View full story
  • Advertisement