8 Replies - 2892 Views - Last Post: 15 June 2008 - 03:58 PM Rate Topic: -----

#1 daso  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 12-June 08

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

Posted 14 June 2008 - 02:00 AM

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
Is This A Good Question/Topic? 0
  • +

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

#2 mensahero  Icon User is offline

  • I Desire...
  • member icon

Reputation: 17
  • View blog
  • Posts: 678
  • Joined: 26-May 08

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

Posted 14 June 2008 - 02:04 AM

if you don't want C++.. then learn JAVA.. its fairly easy and its good for 2D games.. :blink: ...
Was This Post Helpful? 0
  • +
  • -

#3 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3101
  • View blog
  • Posts: 19,141
  • Joined: 14-September 07

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

Posted 14 June 2008 - 03:01 AM

Is GAME an acronym for something in particular?
Was This Post Helpful? 0
  • +
  • -

#4 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 999
  • View blog
  • Posts: 4,177
  • Joined: 14-February 08

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

Posted 14 June 2008 - 04:40 AM

Im confused :s

C++ is your best bet, try using SDL or Allegro and start small
Was This Post Helpful? 0
  • +
  • -

#5 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 784
  • View blog
  • Posts: 7,613
  • Joined: 05-May 05

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

Posted 15 June 2008 - 09:57 AM

SDL or JAVA Graphic2D, it was what I first thought of making NovaForce in.
Was This Post Helpful? 0
  • +
  • -

#6 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

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

Posted 15 June 2008 - 10:41 AM

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. :)

Some other Java game libraries (that I have not tried):
http://www.goldenstu.../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.13thmonke...g/~boris/jgame/
http://www.interacti...p.com/pulpcore/
Was This Post Helpful? 0
  • +
  • -

#7 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 784
  • View blog
  • Posts: 7,613
  • Joined: 05-May 05

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

Posted 15 June 2008 - 02:51 PM

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 June 2008 - 02:52 PM

Was This Post Helpful? 0
  • +
  • -

#8 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

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

Posted 15 June 2008 - 03:45 PM

View PostWolfCoder, on 15 Jun, 2008 - 05:51 PM, said:

I would recommend SDL because C is much more strong.

Java has SDL bindings, as does just about every other language. :)

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.
Was This Post Helpful? 0
  • +
  • -

#9 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 784
  • View blog
  • Posts: 7,613
  • Joined: 05-May 05

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

Posted 15 June 2008 - 03:58 PM

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 June 2008 - 04:00 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1