954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to do 2d game programming?

Hi all,

I have been started to learn game programming for some weeks.
I want to make a simple 2d game first, as a start off.
but I come across some trouble~they are:

I tried C++:
allegro : maybe too primitive and old?
Irrlicht: 3d rendering concept too complex for me (now), not understand the whole bunch of scenenode, scenemanager, mesh, meshbuffer things. I don't think I am ready.
Ogre : too complex even to install. I compiled ogre from source myself once, but cannot link ogre with a new project. damn.

I tried python:
pygame: the documentation of it and python sucks. For example, a class in pygame is pygame.sprite.Sprite, the doc explained its method available, but doesn't tell me its attribute, what is it about???


Java.....I wouldn't consider it because it is just too slow.

C# and silverlight.....does it have a future for game programming?

Flash.......doesn't even have a tool to write it (adobe flash require money). However I am interested to make some game like bejeweled, they are awesome.

Objective-c : popular for iphone game, but I don't have a iphone and don't have a mac book, so it is already banned

End up I think C++ is the most appropriated language which have great documentation and many active support from the internet. Can anybody suggest some idea for me in this way? Do you think allegro is a way out?

I would be really appreciate for any help. Thank you all!

gunbuster363
Junior Poster
128 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

I'm not sure myself but I'm trying to work on a game like that myself.
I sent you a Pm about something also.

skorm909
Junior Poster
111 posts since Feb 2010
Reputation Points: 10
Solved Threads: 3
 

I think allegro is a good place to start. It's fairly primitive, but it should be advanced enough to make some good little 2D games, as long as you know what your doing with it. Not sure what you mean about PyGame not being documented very well. There are loads of examples and a full documentation of all the functions. I got along fine with it, and I'm now using PyOpenGL with it as well.

SgtMe
Nearly a Posting Virtuoso
1,205 posts since Oct 2009
Reputation Points: 68
Solved Threads: 85
 

Dark GDK Would you should be knowing some funtamentals of C++ To learn GDK
For More Info on Dark Gdk Goto:

http://www.thegamecreators.com/?m=view_product&id=2128

Hayzam_#include
Newbie Poster
16 posts since Nov 2010
Reputation Points: 7
Solved Threads: 2
 

Well for me i think allegro also is the best game programming and i agree with SgtMe" suggestion!!

nickywilliam
Newbie Poster
5 posts since Dec 2010
Reputation Points: 9
Solved Threads: 1
 

:D Please upvote my post then and mark the thread as solved. Thanks :)

SgtMe
Nearly a Posting Virtuoso
1,205 posts since Oct 2009
Reputation Points: 68
Solved Threads: 85
 

For me, It's allegro...and because a lot of tutorials and online forums are scattered over the internet...

It's also a beginner friendly tool...

you can go here:
www.moosader.com/

and here
board.moosader.com/

most of their discussion are about Allegro and SDL...

Goodluck! :)

PoisonedHeart
Junior Poster in Training
57 posts since Jul 2009
Reputation Points: 14
Solved Threads: 14
 

I would try using SDL. I use it and, it has many functions including detecting mouse and keyboard activity, multithreading, alpha blending, .ttf text, and audio.

For simple but excellent tutorials on how to get it, use it and, make games with it check http://www.lazyfoo.net/SDL_tutorials/ .

These tutorials show you all of the important parts of SDL and many cool tricks you can do with it.

Have fun! :)

Sudo Bash
Light Poster
33 posts since Dec 2010
Reputation Points: 10
Solved Threads: 2
 

just stick on c++ or python

shubha6583
Newbie Poster
1 post since Sep 2010
Reputation Points: 10
Solved Threads: 1
 

I would say go with allegro.
Also i will suggest Sudo Bash's comment.
Vinayak

vinayakgarg
Junior Poster in Training
83 posts since Jan 2010
Reputation Points: 19
Solved Threads: 17
 

You say you didnt even consider java because its too slow however by using multiple threads you would be able to make an efficient game. games such as Runescape and minecraft (two very successful games) are programmed in Java. Java is used in many business arenas as it is cross platform and by configuring the JRE carefull you can create a very fast application.

OblibSystems
Junior Poster in Training
65 posts since Aug 2011
Reputation Points: 22
Solved Threads: 0
 

Im also interested in developing a 2d game. can anyone let me know how it can be done and what us the process

maninaction
Junior Poster in Training
76 posts since Jun 2011
Reputation Points: 1
Solved Threads: 7
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You