13 Replies - 1586 Views - Last Post: 30 August 2013 - 06:07 PM Rate Topic: -----

Poll: Which language is best? (5 member(s) have cast votes)

Which language is best for 2-D, tile-based game development?

  1. Objective C (0 votes [0.00%])

    Percentage of vote: 0.00%

  2. C++ (utilizing the allegro library) (3 votes [60.00%] - View)

    Percentage of vote: 60.00%

  3. C# (2 votes [40.00%] - View)

    Percentage of vote: 40.00%

  4. Python (utilizing the pygame library) (0 votes [0.00%])

    Percentage of vote: 0.00%

Vote Guests cannot vote

#1 ProgrammingGoon   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-August 13

Tile-Based Game Development Question

Posted 29 August 2013 - 07:57 PM

Hello forum-goers,

I recently became very interested in programming a 2-Dimensional, tile-based PC game. I have dabbled in Python and C++ and know most of the basics for both languages. I also know the basics of the pygame library. Before I went any further in pursuing either language, I wanted to know what language would best suit my idea of a top down, 2-D game. I have heard that C# seems to be very good in this field (yet Objective C is the industry standard?), but I wanted a second opinion. Thank you.

P.S. If this is the wrong forum, I apologize. If this has been asked before, I apologize (and could you link the thread).

Regards,
Programming Goon

Is This A Good Question/Topic? 0
  • +

Replies To: Tile-Based Game Development Question

#2 BetaWar   User is offline

  • #include "soul.h"
  • member icon

Reputation: 1602
  • View blog
  • Posts: 8,435
  • Joined: 07-September 06

Re: Tile-Based Game Development Question

Posted 29 August 2013 - 09:41 PM

For the PC Objective-C is basically not used. Objective-C is an Apple product and competitor to C++, and as a result used in Apple products, and as such I don't believe it is used frequently (or at all) on Windows. Especially considering that any of the other 3 languages you provided can run in Windows, and have at least some support for it (which I haven't seen for Objective-C).

Basically, I would suggest leaving Objective-C alone unless you are developing an iPhone/iPad game.

Look into C#, it is commonly used, and I believe that the XNA toolkit was written to use it. Plus Windows 8 uses the .Net framework for a lot of things (which C# is integrated with), so that should make things simpler.

That said, I am not a game developer, and there are likely differing opinions on the subject.
Was This Post Helpful? 1
  • +
  • -

#3 stayscrisp   User is offline

  • フカユ
  • member icon

Reputation: 1040
  • View blog
  • Posts: 4,325
  • Joined: 14-February 08

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 01:23 AM

View PostBetaWar, on 30 August 2013 - 05:41 AM, said:

there are likely differing opinions on the subject.


This is exactly why this thread can't be answered definitively. You can't list 4 languages (and libraries/API's) and then say which is the best for 2D game development, the real question is what are your requirements? If you don't have requirements then any of those languages and libraries will do the job, but still that is not an answer to your question.

Here's what you do:

Ask yourself which language you feel most comfortable with.
Define the genre and gameplay of your game.
Come up with a timescale for your project.

Then you can objectively decide which platform and language would best suit your requirements, based on these points.

But, guess what? It still won't be the best.
Was This Post Helpful? 1
  • +
  • -

#4 stayscrisp   User is offline

  • フカユ
  • member icon

Reputation: 1040
  • View blog
  • Posts: 4,325
  • Joined: 14-February 08

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 04:33 AM

View PostBetaWar, on 30 August 2013 - 05:41 AM, said:

Objective-C is an Apple product and competitor to C++, and as a result used in Apple products, and as such I don't believe it is used frequently (or at all) on Windows.


It's not an apple product, only the cocoa frameworks are apple products, you can compile objective c programs on windows.
Was This Post Helpful? 0
  • +
  • -

#5 Michael26   User is offline

  • Futurama: Insert funny joke here
  • member icon

Reputation: 414
  • View blog
  • Posts: 1,664
  • Joined: 08-April 09

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 04:50 AM

Quote

This is exactly why this thread can't be answered definitively. You can't list 4 languages (and libraries/API's) and then say which is the best for 2D game development, the real question is what are your requirements


Maybe OP had experience with those 4 languages and is asking which one better.
Was This Post Helpful? 0
  • +
  • -

#6 stayscrisp   User is offline

  • フカユ
  • member icon

Reputation: 1040
  • View blog
  • Posts: 4,325
  • Joined: 14-February 08

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 05:31 AM

Even if that's the case my answer would apply just the same.
Was This Post Helpful? 0
  • +
  • -

#7 BetaWar   User is offline

  • #include "soul.h"
  • member icon

Reputation: 1602
  • View blog
  • Posts: 8,435
  • Joined: 07-September 06

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 07:53 AM

View Poststayscrisp, on 30 August 2013 - 12:33 PM, said:

View PostBetaWar, on 30 August 2013 - 05:41 AM, said:

Objective-C is an Apple product and competitor to C++, and as a result used in Apple products, and as such I don't believe it is used frequently (or at all) on Windows.


It's not an apple product, only the cocoa frameworks are apple products, you can compile objective c programs on windows.

Isn't it though? After all, Apple did purchase NeXT which previously owned the language, and the definition of product states that it is the goods or services produced by a company. Just because they give it away for free doesn't mean it isn't still a product.
Was This Post Helpful? 0
  • +
  • -

#8 stayscrisp   User is offline

  • フカユ
  • member icon

Reputation: 1040
  • View blog
  • Posts: 4,325
  • Joined: 14-February 08

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 08:31 AM

There are open source implementations though, but i guess they probably have a trademark on the name "objective c" from owning NeXT.
Was This Post Helpful? 0
  • +
  • -

#9 ProgrammingGoon   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-August 13

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 11:42 AM

View Poststayscrisp, on 30 August 2013 - 01:23 AM, said:

This is exactly why this thread can't be answered definitively. You can't list 4 languages (and libraries/API's) and then say which is the best for 2D game development, the real question is what are your requirements? If you don't have requirements then any of those languages and libraries will do the job, but still that is not an answer to your question.

Here's what you do:

Ask yourself which language you feel most comfortable with.
Define the genre and gameplay of your game.
Come up with a timescale for your project.

Then you can objectively decide which platform and language would best suit your requirements, based on these points.

But, guess what? It still won't be the best.


Let me rephrase, then.

What language would be the most efficient way to program a game that:

- is a top down, 2-D, tile-based RPG
- has gameboy-esque, black and white graphics (so performance shouldn't really be an issue)
- uses a plethora of scripted events

...

Thank you everyone for your feedback and for participating in the poll.

Regards,
Programming Goon
Was This Post Helpful? 0
  • +
  • -

#10 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14925
  • View blog
  • Posts: 59,591
  • Joined: 12-June 08

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 11:47 AM

VB.NET!

I've done plenty of proof-of-concepts for 2d top down tile games (and editors) in good ol' .NET.
Was This Post Helpful? 0
  • +
  • -

#11 BBeck   User is offline

  • Here to help.
  • member icon


Reputation: 792
  • View blog
  • Posts: 1,886
  • Joined: 24-April 12

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 12:54 PM

I don't think the answer is as simple as the question.

Everyone knows I'm a huge fan of XNA and tend to recommend it to everyone just starting out. But I'm not sure XNA is right for everyone all the time.

Every language, framework, library, etc. exists for a reason. And they enjoy the popularity they do for a reason.

The only way you will truly know what works best for what you are doing is to try it. With a lot of them, you will very quickly discover the issues if you have experience with the others. But, you may have to try a few things before really discovering what the advantages and disadvantages are.
Was This Post Helpful? 0
  • +
  • -

#12 anonymous26   User is offline

  • D.I.C Lover

Reputation: 2
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 01:19 PM

View PostBBeck, on 30 August 2013 - 04:54 PM, said:

Everyone knows I'm a huge fan of XNA and tend to recommend it to everyone just starting out. But I'm not sure XNA is right for everyone all the time.


:o/>

In a serious note, anything suggested will do for 2D games as a hobby project.
Was This Post Helpful? 0
  • +
  • -

#13 ProgrammingGoon   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-August 13

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 01:45 PM

View PostBBeck, on 30 August 2013 - 04:54 PM, said:

Everyone knows I'm a huge fan of XNA and tend to recommend it to everyone just starting out. But I'm not sure XNA is right for everyone all the time.


Oh, ok. Also, a quick (noob) question, does C# == XNA ?

View PostButchDean, on 30 August 2013 - 01:19 PM, said:

:o/>/>
In a serious note, anything suggested will do for 2D games as a hobby project.


Huh. Yes, this is just going to be a hobby project that will probably take a while to complete (with university I won't really have much time for sitting around programming games :P ).

View PostProgrammingGoon, on 30 August 2013 - 01:41 PM, said:

View PostBBeck, on 30 August 2013 - 04:54 PM, said:

Everyone knows I'm a huge fan of XNA and tend to recommend it to everyone just starting out. But I'm not sure XNA is right for everyone all the time.


Oh, ok. Also, a quick (noob) question, does C# == XNA ?

View PostButchDean, on 30 August 2013 - 01:19 PM, said:

:o/>/>/>
In a serious note, anything suggested will do for 2D games as a hobby project.


Huh. Yes, this is just going to be a hobby project that will probably take a while to complete (with university I won't really have much time for sitting around programming games :P/> ).


What I mean is, is XNA a C# library?

View Postmodi123_1, on 30 August 2013 - 11:47 AM, said:

VB.NET!

I've done plenty of proof-of-concepts for 2d top down tile games (and editors) in good ol' .NET.


Yeah? I've tried VB but I never really got/liked the feel of it. Maybe I was just doing it wrong.
Was This Post Helpful? 0
  • +
  • -

#14 BBeck   User is offline

  • Here to help.
  • member icon


Reputation: 792
  • View blog
  • Posts: 1,886
  • Joined: 24-April 12

Re: Tile-Based Game Development Question

Posted 30 August 2013 - 06:07 PM

XNA is basically a .Net library...yes. Framework is a more accurate word. When you install XNA into Visual Studio, it shows up as C# templates.

Some people have done XNA in VB because XNA is .Net, which theoretically means you can use if from any .Net language. But almost everyone used C# to do it.

XNA 4.0 is Visual Studio 2010 (XNA 3.1 is Visual Studio 2008). XNA is a separate (but free) download.

This post has been edited by BBeck: 30 August 2013 - 06:08 PM

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1