Jump to content

  • Log In with Google      Sign In   
  • Create Account

Programming 2d games


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 mcvitiesyum   Members   -  Reputation: 117

Like
0Likes
Like

Posted 27 February 2013 - 03:50 AM

Hello.

I just started out programming games and I've almost finished a simple space shooter game in c++ with the help

of the SFML 2.0 library. What I would like to know is if there is another  practical way of creating games. 

I'm asking this because before creating the actual game I had to set up the game engine and that took me quite some time.

What tools could I use to speed up programming 2d-side scrolling games in c++? 



Sponsor:

#2 GameGeezer   Members   -  Reputation: 745

Like
0Likes
Like

Posted 27 February 2013 - 09:42 AM

Unless you want to go with a pre-built engine like game-maker, SFML is as good of a choice as any. Games take time; Braid is a 2d platformer and it took 3 years to create. At least with SFML and C++ you're learning transferable skills.


Edited by GameGeazer, 27 February 2013 - 09:43 AM.


#3 BeerNutts   Crossbones+   -  Reputation: 2950

Like
1Likes
Like

Posted 27 February 2013 - 12:45 PM

Some tools you should consider before moving to a 2d side scroller:  Will you be using tiles for your maps, and, if so, how will you create the maps?  I'd suggest using Tiled.  there are a few C++ Tiled map parsers you can use as well (you can find the links from the Tiled page).

 

Also, I'd consider using a 2d physics library (chipmunk-physics is what I use, but box2d is also popular) to handle the movement and collisions in your world.  You can check out my Old Blog (linked in my sig) for a game I made using chipmunk-physics.

 

Good luck and have fun!


My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

#4 Ludus   Members   -  Reputation: 970

Like
0Likes
Like

Posted 27 February 2013 - 01:20 PM

Speed comes with experience. It should go without saying, but the more you program the faster you will become at it. With experience there will be less trial-and-error and you will spend less time figuring out how things work. Of course, you could use pre-built engines and libraries to speed up the development of a game, but at the same time you would be losing the experience you would have gained in creating those parts of the code yourself.



#5 kburkhart84   Members   -  Reputation: 1661

Like
1Likes
Like

Posted 27 February 2013 - 03:31 PM

There is nothing wrong with using something like Gamemaker to make a game, as long as the tool does what you want it to.  That assumes you are interested in the final result and not the process.  It's like riding a car to work.  It's much quicker than walking, but you won't get the exercise from walking, so if all you want is to get there, it is fine.





#6 purplexmask   Members   -  Reputation: 102

Like
0Likes
Like

Posted 27 February 2013 - 05:25 PM

You can try html5 and javascript. There are even books on the topic. Simply search html5 and games in amazon.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS