|
| 08 Jul 2012 07:45 AM |
Would like to make some small games, which language should I learn first?
- Hate to chop all of your heads off with this sword. Real sorry about that. My bad. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 07:46 AM |
| C# or Python. C++ if you feel like you can handle it |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 08 Jul 2012 07:54 AM |
| It really depends on what you want to do, but I would recommend C#. It is quite a balanced language, and pretty easy to pick up. |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jul 2012 10:53 AM |
would it be easy to make a 2d physics engine in c#?
- Hate to chop all of your heads off with this sword. Real sorry about that. My bad. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 08 Jul 2012 11:09 AM |
It really doesn't depend on the language much.. More about your math when it comes to physics:PP |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 11:25 AM |
^ but some languages are made for people who already know other languages whereas others are easier for beginners
- Hate to chop all of your heads off with this sword. Real sorry about that. My bad. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 08 Jul 2012 11:41 AM |
| C++ is in no way a good beginner language. You'll want something easier, such as Java, C#, or C. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 11:54 AM |
| Something lacking a compiler. |
|
|
| Report Abuse |
|
|
Avolition
|
  |
| Joined: 20 Apr 2011 |
| Total Posts: 708 |
|
|
| 08 Jul 2012 12:13 PM |
| A 2D physics engine won't be easy regardless of what language it's in |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 12:17 PM |
"You'll want something easier, such as Java, C#, or C."
You list C as easier? What sort of madness has this world put you in!
Anyways, I would recommend C#, as it has the XNA Framework to work with which increases game development quite a bit and is incredibly easy to make a 2D game with. |
|
|
| Report Abuse |
|
|
Roundel
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 469 |
|
|
| 08 Jul 2012 12:28 PM |
| lua because it is extremely simple and makes you ready for OOP when you want to move on |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jul 2012 12:39 PM |
@Roundel
I think I have a good grasp of lua, I've learnt it to a good level in two forms already so I don't think I would have much trouble adjusting to the latest version
I've never heard of OOP, is it a good language for games?
- Hate to chop all of your heads off with this sword. Real sorry about that. My bad. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 08 Jul 2012 12:40 PM |
It's not a language. http://en.wikipedia.org/wiki/Object-oriented_programming |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 12:41 PM |
ohhhh
isn't Lua OOP then?
- Hate to chop all of your heads off with this sword. Real sorry about that. My bad. |
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
| |
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 08 Jul 2012 01:39 PM |
"isn't Lua OOP then?"
No. You can implement OOP with metatables, but it doesn't offer OO as a feature. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 03:17 PM |
"... but C is easy. >.>"
I strongly disagree. Sure, it's easy to make basic functions that print output or do math, but that is true of any language. C itself is not easy because to get anything of use done you have to do everything in an incredibly hacky way. Around every corner you dive deeper into pointer-land, never to return. You aren't given the blessing of OOP, the closest you can get is structs and using plenty of pointers with them to try and emulate classes. And for making games, C is no blessing to the world. There are no simple libraries to use with C to make games. People call SDL easy. Ha! I laugh at them. It has poor documentation without relying on external sources, and it relies on everything that makes C hard. Pointers here, spaghetti code there, and lack of OOP everywhere to make everything worthless. The only time you're going to get speed out of SDL is if you fall back to using it simply as a window manager so that you can use OpenGL without having to worry about cross-platform window management. Sure, the next version of SDL aims to fix this, but it's still largely in development to my knowledge and it still doesn't make it that much easier to use. |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
|
| 08 Jul 2012 03:50 PM |
| I would try Java, that's what I started with, also try C#, C, and C++. |
|
|
| Report Abuse |
|
|
NanoSpace
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 4789 |
|
|
| 08 Jul 2012 04:23 PM |
| If your going for 2d try LÖVE since you know a bit of Lua. Or just go for Python or C# like everyone else said. All three of them are nice c: |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2012 04:29 PM |
@poke
... but pointers and structs aren't that hard to manage. D: |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 08 Jul 2012 04:31 PM |
I, personally, like C better than C++. C is: - Faster - More portable if you don't use win32 or watevr - Easier - Doesn't have weird ::s C++ is: - Higher level - Slower - Pretty much unportable to other oses without lots of editing - Easier only in some cases - Has weird ::s |
|
|
| Report Abuse |
|
|
| |
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 08 Jul 2012 04:36 PM |
^ I know, but C just seems faster and nicer to me, although in some cases when I'm trying to do something really quickly I'll use C++ |
|
|
| Report Abuse |
|
|