Welcome to Dream.In.Code
Become an Expert!

Join 150,058 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,732 people online right now. Registration is fast and FREE... Join Now!




what's kind of program that better to write game 2D?

 
Reply to this topicStart new topic

what's kind of program that better to write game 2D?, Best Program for GAME 2D

daso
14 Jun, 2008 - 01:00 AM
Post #1

New D.I.C Head
*

Joined: 12 Jun, 2008
Posts: 7

I studied at university the program is C++. and other C++ I really don't know which code program is better then C++ for starting programming of GAME?

Best waiting for your reply.
Thanks
User is offlineProfile CardPM
+Quote Post

mensahero
RE: What's Kind Of Program That Better To Write Game 2D?
14 Jun, 2008 - 01:04 AM
Post #2

c0mput3rz Are Only Human
Group Icon

Joined: 26 May, 2008
Posts: 664



Thanked: 17 times
Dream Kudos: 75
My Contributions
if you don't want C++.. then learn JAVA.. its fairly easy and its good for 2D games.. blink.gif ...
User is offlineProfile CardPM
+Quote Post

KYA
RE: What's Kind Of Program That Better To Write Game 2D?
14 Jun, 2008 - 02:01 AM
Post #3

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,910



Thanked: 159 times
Dream Kudos: 1375
My Contributions
Is GAME an acronym for something in particular?
User is online!Profile CardPM
+Quote Post

stayscrisp
RE: What's Kind Of Program That Better To Write Game 2D?
14 Jun, 2008 - 03:40 AM
Post #4

D.I.C Regular
***

Joined: 14 Feb, 2008
Posts: 284



Thanked: 11 times
My Contributions
Im confused :s

C++ is your best bet, try using SDL or Allegro and start small
User is offlineProfile CardPM
+Quote Post

WolfCoder
RE: What's Kind Of Program That Better To Write Game 2D?
15 Jun, 2008 - 08:57 AM
Post #5

ギュウ~
Group Icon

Joined: 5 May, 2005
Posts: 3,723



Thanked: 8 times
Dream Kudos: 1450
My Contributions
SDL or JAVA Graphic2D, it was what I first thought of making NovaForce in.
User is online!Profile CardPM
+Quote Post

Tom9729
RE: What's Kind Of Program That Better To Write Game 2D?
15 Jun, 2008 - 09:41 AM
Post #6

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,592



Thanked: 12 times
Dream Kudos: 325
My Contributions
Java has some great 2d graphics libraries.

The built-in library is easy to use and very portable, but it doesn't have as many features as some other libraries and doing a lot of complex drawing can slow it down considerably.

A good library I've done a bit of coding with is the Slick 2D game library. It's no harder to use than the built-in graphics library, it's faster, and it has more features (loading/rendering different image types). It's also got support for other things you'll probably want while designing your game (input handling, sound, collision detection).

The nicest thing about Slick is how active the guy writing it is in the community. I've talked to him personally several times on the Slick 2D forums, and he'll gladly offer advice if you run into any problems. smile.gif

Some other Java game libraries (that I have not tried):
http://www.goldenstudios.or.id/products/GTGE/
http://java.dnsalias.com/
http://easyway.sourceforge.net/
http://sourceforge.net/projects/spgl
http://sourceforge.net/projects/jasel/
http://www.stencyl.com/about/
http://www.13thmonkey.org/~boris/jgame/
http://www.interactivepulp.com/pulpcore/
User is online!Profile CardPM
+Quote Post

WolfCoder
RE: What's Kind Of Program That Better To Write Game 2D?
15 Jun, 2008 - 01:51 PM
Post #7

ギュウ~
Group Icon

Joined: 5 May, 2005
Posts: 3,723



Thanked: 8 times
Dream Kudos: 1450
My Contributions
Java has built in collision detection, I've written a 3D bounding box collision detection system in JAVA and I think I uploaded it as a snippet. I think it even works with spheres and polygons, I don't remember but any subclass of the shape in .awt has the intersect() method.

I would recommend SDL because C is much more strong.

This post has been edited by WolfCoder: 15 Jun, 2008 - 01:52 PM
User is online!Profile CardPM
+Quote Post

Tom9729
RE: What's Kind Of Program That Better To Write Game 2D?
15 Jun, 2008 - 02:45 PM
Post #8

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,592



Thanked: 12 times
Dream Kudos: 325
My Contributions
QUOTE(WolfCoder @ 15 Jun, 2008 - 05:51 PM) *

I would recommend SDL because C is much more strong.

Java has SDL bindings, as does just about every other language. smile.gif

Don't get me wrong, C is great, but Java is more of a "holds your hand" language and would probably be easier for beginner programmers.
User is online!Profile CardPM
+Quote Post

WolfCoder
RE: What's Kind Of Program That Better To Write Game 2D?
15 Jun, 2008 - 02:58 PM
Post #9

ギュウ~
Group Icon

Joined: 5 May, 2005
Posts: 3,723



Thanked: 8 times
Dream Kudos: 1450
My Contributions
There's an article about JAVA as your first language.

Basically the line in it that interested me is one of the colleges stopped introducing JAVA as a beginner language when the EE students could out program the CS students. I don't think a language where you rummage around a proverbial toolchest looking for something that does what you want is a good beginner language, in fact the whole idea of OOP is the next level of basic programming of... well basic! or C but the Beginners All-purpose Symbolic Instruction Code or whatever it stands for- the first letter stands for Beginner. OOPs the stuff you learn next.

This post has been edited by WolfCoder: 15 Jun, 2008 - 03:00 PM
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:33PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month