I want to learn C++

Discussions about Coding and Scripting
Post Reply
User avatar
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

I want to learn C++

Post by Rakiayn »

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
UnrealGGecko
Godlike
Posts: 2910
Joined: Wed Feb 01, 2012 11:26 am
Personal rank: GEx the Gecko
Location: Kaunas, Lithuania
Contact:

Re: I want to learn C++

Post by UnrealGGecko »

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
Metalfist
Masterful
Posts: 632
Joined: Sun Jan 03, 2010 3:54 pm
Personal rank: ^,..,^ rawr

Re: I want to learn C++

Post by Metalfist »

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.
Image
User avatar
comoestas
Average
Posts: 36
Joined: Tue Jan 04, 2011 12:33 am

Re: I want to learn C++

Post by comoestas »

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
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

Re: I want to learn C++

Post by Rakiayn »

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
comoestas
Average
Posts: 36
Joined: Tue Jan 04, 2011 12:33 am

Re: I want to learn C++

Post by comoestas »

Rakiayn wrote: to make something very simple
That is the key to a good start. :wink:
Post Reply