Jump to content
  • Advertisement
Sign in to follow this  
Mustafa Can

Engine with C++ scripting?

This topic is 2086 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 everyone,
 
Me and my friend wants to learn C++. But this is so boring with tutorials. We learned C++ a bit. We decided make a simple game for learning C++. I think this will more interesting than making those tutorials. But we couldn't find any good game engine which supports C++ as scripting engine. We also thinked about making our engine with graphic libraries but this looks a bit hard. Could you help us for selecting game engine or a graphic library?
 
Thanks for advance!
 

Share this post


Link to post
Share on other sites
Advertisement

You know that c++ is not a scripting language?

Perhaps you should try python instead! With pygame2.

Share this post


Link to post
Share on other sites

i know c++ isn't a scripting language. but we want to learn C++, not py,lua etc. And you are right that is a mistake smile.png

 

@Hodgman

 

Thanks for your suggestion. I will look up Source Engine. But I think 3D games are too hard for us. I think start with basic 2D platform games. What do you think about 2D platform or 3D FPS?

Edited by Mustafa Can

Share this post


Link to post
Share on other sites

Maybe you should take a look at Angel2D. It was made for game jams and prototyping, so some design options are not the most efficient or good ones, but I would say it's nice for beginners. I would suggest you start by extending the Actor class and slowly create some small things. But you will still need to understand C++, this tutorial was enough for me to get started with some fun parts. If you don't mind using the C-style library SDL I would suggest you take a look at this tutorial series.

Share this post


Link to post
Share on other sites

For C++ interpreters, there is CERN's CINT project (http://root.cern.ch/drupal/content/cint) which supports scripting in both C and C++.

I really like it and use if for our expansive build system at work but I personally would not use it for creating games.

 

There is also Pico C (http://code.google.com/p/picoc) which looks much more usable for game scripting (though you would need to hook it up to the chosen engine manually). It is C only (no C++) but with the popularity of the component entity system these days, OOP is not really critical IMO.

 

If I were, you, I would do without the scripting part and look into something like Irrlicht. This is simply a 3D engine with a C++ API. Yes, a lot of people seem to not like it but frankly, the license, the ease of use and the portability of it is great for beginners.

The GoldSource engine was quite cool for mod development before Steam/DRM came along but you will need pretty decent knowledge of C/C++ before you will be productive using it. It doesn't spoon feed you unlike products like Unity or even in some respects like Irrlicht (less tutorials, documentation etc...).

Edited by Karsten_

Share this post


Link to post
Share on other sites

The most popular seems to be SFML, you can use orx with C++ too, orx is a great engine if you like to use ini files like I do.

Edited by KnolanCross

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!