Welcome to Dream.In.Code
Getting Help is Easy!

Join 109,157 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,043 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! 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
post 14 Jun, 2008 - 02: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

Go to the top of the page


mensahero
post 14 Jun, 2008 - 02: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

Go to the top of the page

KYA
post 14 Jun, 2008 - 03:01 AM
Post #3


#include <nerd.h>

Group Icon
Joined: 14 Sep, 2007
Posts: 2,908



Thanked 22 times

Dream Kudos: 1150
My Contributions


Is GAME an acronym for something in particular?
User is online!Profile CardPM

Go to the top of the page

stayscrisp
post 14 Jun, 2008 - 04:40 AM
Post #4


D.I.C Head

**
Joined: 14 Feb, 2008
Posts: 197



Thanked 4 times
My Contributions


Im confused :s

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

Go to the top of the page

WolfCoder
post 15 Jun, 2008 - 09:57 AM
Post #5


Gyuu~

Group Icon
Joined: 5 May, 2005
Posts: 2,983



Thanked 1 times

Dream Kudos: 1300
My Contributions


SDL or JAVA Graphic2D, it was what I first thought of making NovaForce in.
User is offlineProfile CardPM

Go to the top of the page

Tom9729
post 15 Jun, 2008 - 10:41 AM
Post #6


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,401



Thanked 7 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 offlineProfile CardPM

Go to the top of the page

WolfCoder
post 15 Jun, 2008 - 02:51 PM
Post #7


Gyuu~

Group Icon
Joined: 5 May, 2005
Posts: 2,983



Thanked 1 times

Dream Kudos: 1300
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 - 02:52 PM
User is offlineProfile CardPM

Go to the top of the page

Tom9729
post 15 Jun, 2008 - 03:45 PM
Post #8


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,401



Thanked 7 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 offlineProfile CardPM

Go to the top of the page

WolfCoder
post 15 Jun, 2008 - 03:58 PM
Post #9


Gyuu~

Group Icon
Joined: 5 May, 2005
Posts: 2,983



Thanked 1 times

Dream Kudos: 1300
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 - 04:00 PM
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/5/08 05:30PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month