I want to learn C++

Discussions about Coding and Scripting

I want to learn C++

Postby Rakiayn » Mon Apr 23, 2012 11:28 am

Here is a question for the coders here. I want to learn C++ and make some small 2d games.
I want to create a game where the playing field excist of a grid. like minesweeper.
does anyone know and engine I can use to achieve this?

I was also thinking of creating a 2d game with moving objects that are effected by friction. (example: a fish in top view that swims in water by using its fins)
after searching on the internet I couldnt really find a good engine. I found box2d which seemed to be good, but after reading more about it I learned that there is no real friction in this engine
anyone knows some engine I can use for this?
User avatar
Rakiayn
Masterful
 
Posts: 529
Joined: Fri Aug 28, 2009 3:33 pm

Re: I want to learn C++

Postby GEx » Mon Apr 23, 2012 1:14 pm

http://www.engine001.com/
I'm no coder but the only game creator that doesn't need NO CODING is this.
It's more of a Action/RPG creator but with practice, it's possible to make platformers etc.
Plus it still gets updates.
Hope it's usefull. :tu:
User avatar
GEx
Masterful
 
Posts: 671
Joined: Wed Feb 01, 2012 11:26 am
Location: Lithuania - The land of basketball
Personal rank: Ordinary GEcko

Re: I want to learn C++

Postby Metalfist » Mon Apr 23, 2012 3:46 pm

Unity has plugins for C++

Also a while ago I found this engine that was similiar to C++: http://www.asantee.net/ethanon/
Ethanon Engine uses AngelScript for scripts, which brings a familiar C++ syntax to the code.


EDIT: http://devmaster.net/devdb/engines
Last edited by Metalfist on Tue Apr 24, 2012 10:30 am, edited 1 time in total.
User avatar
Metalfist
Adept
 
Posts: 292
Joined: Sun Jan 03, 2010 3:54 pm
Location: The Netherlands
Personal rank: ^,..,^ rawr

Re: I want to learn C++

Postby comoestas » Mon Apr 23, 2012 11:58 pm

Rakiayn wrote:no real friction in this engine


Box2D is more of a physics engine than a game engine. With that said, of course it has friction! Friction between bodies is automatic. For "zones" like water, you can do an ApplyForce() to simulate frictional forces.

But again Box2D is just a physics engine. It might be a component in your game.

Really, when starting off, you don't wan't to start with an "Engine." They are really convoluted things, and might cause confusion if your unfamiliar with C++.
The best way to start off IMHO is to create your own engine. That way you get rid of the clutter. Now wait! I'm not telling you to create everything from scratch. Game engines are made up of components. For example, rendering component, physics component, etc. The process of creating an engine is putting them together. Here are some ready made libraries that should help you:

SFML is a great engine. It uses OpenGL for it's 2D rendering.
Box2D as mentioned is a great physics engine.
OpenAL is good for sound.

But more importantly! You need to know where to start. Try reading and asking questions on these sites (number one place IMHO):

http://stackoverflow.com/ // General programming questions
http://gamedev.stackexchange.com/ // Game design and specific questions.

You don't even have to create an account to ask.

Just my 2 cents.

Tell me if you have any other questions. :tu:

P.S. I'm in the middle of creating my own game in C++. It's similar to Minecraft.
User avatar
comoestas
Average
 
Posts: 36
Joined: Tue Jan 04, 2011 12:33 am

Re: I want to learn C++

Postby Rakiayn » Tue Apr 24, 2012 7:37 pm

Metalfist wrote:http://devmaster.net/devdb/engines


nice link, will check them out

GEx wrote:http://www.engine001.com/
I'm no coder but the only game creator that doesn't need NO CODING is this.
It's more of a Action/RPG creator but with practice, it's possible to make platformers etc.
Plus it still gets updates.
Hope it's usefull. :tu:


that looks impressive, but its not what im looking for


comoestas wrote:
Rakiayn wrote:no real friction in this engine


Box2D is more of a physics engine than a game engine. With that said, of course it has friction! Friction between bodies is automatic. For "zones" like water, you can do an ApplyForce() to simulate frictional forces.

But again Box2D is just a physics engine. It might be a component in your game.

Really, when starting off, you don't wan't to start with an "Engine." They are really convoluted things, and might cause confusion if your unfamiliar with C++.
The best way to start off IMHO is to create your own engine. That way you get rid of the clutter. Now wait! I'm not telling you to create everything from scratch. Game engines are made up of components. For example, rendering component, physics component, etc. The process of creating an engine is putting them together. Here are some ready made libraries that should help you:

SFML is a great engine. It uses OpenGL for it's 2D rendering.
Box2D as mentioned is a great physics engine.
OpenAL is good for sound.

But more importantly! You need to know where to start. Try reading and asking questions on these sites (number one place IMHO):

http://stackoverflow.com/ // General programming questions
http://gamedev.stackexchange.com/ // Game design and specific questions.

You don't even have to create an account to ask.

Just my 2 cents.

Tell me if you have any other questions. :tu:

P.S. I'm in the middle of creating my own game in C++. It's similar to Minecraft.


good advice. My problem is indeed I dont know where to start. I will try to make something very simple without physics first. then later I could use 2dbox
User avatar
Rakiayn
Masterful
 
Posts: 529
Joined: Fri Aug 28, 2009 3:33 pm

Re: I want to learn C++

Postby comoestas » Wed Apr 25, 2012 12:47 am

Rakiayn wrote:to make something very simple


That is the key to a good start. :wink:
User avatar
comoestas
Average
 
Posts: 36
Joined: Tue Jan 04, 2011 12:33 am


Return to Coding, Scripting

Who is online

Users browsing this forum: No registered users and 2 guests