13 Replies - 3963 Views - Last Post: 10 May 2012 - 02:22 PM

#1 Hooor  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 86
  • Joined: 26-May 11

what is the best language for 2D programming

Posted 26 February 2012 - 10:36 AM

Hi
I am working in a programming software using 2D graphics(menus- drag/drop...)
and I do not know what programming language will be better to be used.
my Instructor advice me to use openGL, but when I search for it I found that it is better for
3D projects. so, could you please help me to choose a good language??
I am thinking of use C# instead of openGL what do u think??
is it flexible in 2D programming??

I have the time to learn any new language but I need it to be good and I can found lots of explanation of it on net

Thanks



Is This A Good Question/Topic? 0
  • +

Replies To: what is the best language for 2D programming

#2 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1362
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: what is the best language for 2D programming

Posted 26 February 2012 - 11:00 AM

When you say 2D graphics do you mean 2D games like mario or whatever, or just buttons and menus that you can put onto a form?
Was This Post Helpful? 0
  • +
  • -

#3 Hooor  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 86
  • Joined: 26-May 11

Re: what is the best language for 2D programming

Posted 26 February 2012 - 11:07 AM

I mean menus and specially using drag and drop of objects
because my program is focus in dragging things and drop it in order to make
single shape for example
Was This Post Helpful? 0
  • +
  • -

#4 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1362
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: what is the best language for 2D programming

Posted 26 February 2012 - 11:10 AM

Depends on what languages you know.

If you don't have a very strong understanding of C/C++ I wouldn't recommend the openGL road.

If you are just starting out then C# would probably be the better choice.
Was This Post Helpful? 0
  • +
  • -

#5 Hooor  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 86
  • Joined: 26-May 11

Re: what is the best language for 2D programming

Posted 26 February 2012 - 11:19 AM

I only took the basics of C++
and that was before long time
most of my study were in Java programming

is there any language that might be better than C#??

Thanks
Was This Post Helpful? 0
  • +
  • -

#6 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1362
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: what is the best language for 2D programming

Posted 26 February 2012 - 11:26 AM

If you are good at Java go with Java. All mentioned languages can achieve practically the same things with/without the use of libraries.

Use the language you are good at. Unless of course you want to learn another one in which case C# would be easier to pick up due to your Java experience.
Was This Post Helpful? 0
  • +
  • -

#7 TheITNinja  Icon User is offline

  • New D.I.C Head

Reputation: 14
  • View blog
  • Posts: 43
  • Joined: 14-April 12

Re: what is the best language for 2D programming

Posted 14 April 2012 - 03:41 PM

View PostHooor, on 26 February 2012 - 10:36 AM, said:

Hi
I am working in a programming software using 2D graphics(menus- drag/drop...)
and I do not know what programming language will be better to be used.
my Instructor advice me to use openGL, but when I search for it I found that it is better for
3D projects. so, could you please help me to choose a good language??
I am thinking of use C# instead of openGL what do u think??
is it flexible in 2D programming??

I have the time to learn any new language but I need it to be good and I can found lots of explanation of it on net

Thanks




Depends on what your criteria are of 2d graphics.


Some options:

* HTML 5 + JS (Cross platform, but not only as a "web application", could use HTML 5 offline modes)
* C# + WPF (Windows OS)
* Java + JavaFX (Cross Platform)
* OpenGL + SDL (Cross Platform, if source code is compiled for each OS)
Was This Post Helpful? 0
  • +
  • -

#8 Hooor  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 86
  • Joined: 26-May 11

Re: what is the best language for 2D programming

Posted 15 April 2012 - 09:47 AM

Thanks for help

now I am working in 3D instead of it
and I am going to use maya
Was This Post Helpful? 0
  • +
  • -

#9 TheITNinja  Icon User is offline

  • New D.I.C Head

Reputation: 14
  • View blog
  • Posts: 43
  • Joined: 14-April 12

Re: what is the best language for 2D programming

Posted 15 April 2012 - 12:37 PM

View PostHooor, on 15 April 2012 - 09:47 AM, said:

Thanks for help

now I am working in 3D instead of it
and I am going to use maya


I've used both Maya, Max, and Blender.

I would highly suggest Blender as it has a built in Games Engine, further all scripting is done in Python.

But if you have the money, and want to get into professional 3d Industry (visual FX, Hollywood) then go with Maya.
Was This Post Helpful? 0
  • +
  • -

#10 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1362
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: what is the best language for 2D programming

Posted 15 April 2012 - 12:45 PM

If you can afford Maya/Max (or are a student and can therefore get them all for free), then go for Maya, nothing else can really compare to it in terms of results.

However be careful about the learning curve. Learning MEL (and the actual program as a whole) is not an easy task. MEL isn't an easy language to learn (based on Perl) and is pretty limited compared to your popular scripting languages such as Python.

But of course in recent versions of Maya Python is an alternative to the conventional MEL script - so it really depends on what version you can get your hands on.

Quote

I've used both Maya, Max, and Blender.


I think that's three :P

This post has been edited by Ryano121: 15 April 2012 - 12:47 PM

Was This Post Helpful? 0
  • +
  • -

#11 Hooor  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 86
  • Joined: 26-May 11

Re: what is the best language for 2D programming

Posted 15 April 2012 - 01:02 PM

my application based on converting
some 2D points into 3D
It will be my graduate project
and now, I am in learning/searching phase


thanks
Was This Post Helpful? 0
  • +
  • -

#12 TheITNinja  Icon User is offline

  • New D.I.C Head

Reputation: 14
  • View blog
  • Posts: 43
  • Joined: 14-April 12

Re: what is the best language for 2D programming

Posted 15 April 2012 - 01:08 PM

View PostHooor, on 15 April 2012 - 01:02 PM, said:

my application based on converting
some 2D points into 3D
It will be my graduate project
and now, I am in learning/searching phase


thanks


I'm sure I've worked with Javascript code that did something similar. It was HTML 5 (basically js + canvas).

And it took a few thousand 3d "cloud point" data. It rendered a head that was laser scanned.

I messed around trying to create a realtime camera for it.

Anyway, Maya may just be a bit of over kill for this (just my view).


@Ryano121

:) Yes you are correct, it is indeed three!
Was This Post Helpful? 0
  • +
  • -

#13 annaharris  Icon User is offline

  • New D.I.C Head

Reputation: -4
  • View blog
  • Posts: 38
  • Joined: 03-May 12

Re: what is the best language for 2D programming

Posted 07 May 2012 - 02:55 AM

I think it actually depends on how much flexible you want to get. But the most important thing to learn is the secret behind all those Object Oriented Programming.
Here's a link to get you started on OOP:
http://docs.oracle.c.../java/concepts/
Was This Post Helpful? 0
  • +
  • -

#14 Vodkacannon  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 64
  • Joined: 07-November 11

Re: what is the best language for 2D programming

Posted 10 May 2012 - 02:22 PM

Flash and actionscript? <_<
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1