GPWiki.org
GPWiki.org
It is currently Fri May 24, 2013 12:55 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ] 
Author Message
PostPosted: Sun May 25, 2008 12:35 am 
Rookie

Joined: Sun May 25, 2008 12:17 am
Posts: 2
HI,
I am new to games programming. I know some python (which I have used mostly for bioinformatics regex) and am learning C++ at the minute for games programming. I would like to design 2D RPGs, rather than 3D games. I notice that a lot of coders in game design competitions with a short development schedule such as LudumDare and Pygame use Python and Ruby as their language of choice , with Ruby being used alongside libraries such as SDL, Gosu etc. I think I am correct in saying that Pygame is a python based wrapper for SDL.
Are games quicker to develop in Python and Ruby than in C++, or is it just that the programmers in these comps just know the language? I don't want to spend a long time learning C++ if I am going to run into loads of technical problems when it comes to implementing the 2D libraries for game programming. To be honest, I'm already running into problems with incorporating external libaries into C++. This would be my major moan about C++ at the minute. The libraries seem so hard to work with!
If the skills required are at a similar level, I'll maybe just stick to C++, which I am starting to get to grips with, at least in console apps.
I have seen a particularly interesting game, however, Nebular Gauntlet, written in Ruby, which I thought of mostly as a cross between Java and Perl as a scripting language. I'm now wondering if I underestimated Ruby.
One last questions - Are Ruby and Python both equally well documented in regards to games coding?

Thanks for any help,

Tim


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 12:53 am 
King Code Monkey
User avatar

Joined: Wed Sep 01, 2004 3:05 pm
Posts: 11182
Location: Abingdon, MD
If you want to do 2D RPGs I recommend XNA Game Studio. Check out the RPG Starter Kit they have there.

_________________
Bored? Head on over to my blog and see what I'm up to.

Microsoft XNA MVP


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 1:09 am 
Sir Postalot
User avatar

Joined: Thu Aug 26, 2004 4:34 am
Posts: 2498
You get a kickback every time you push Microsoft, yes?

The speed of C++ development depends on how much you depend on libraries. The more library code you use, the less code you write yourself. Following that, I expect you have more library options in C++ since C++ is well-established, while Python came into popularity recently. I know nothing of Ruby so I cannot comment on it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 3:48 am 
King Code Monkey
User avatar

Joined: Wed Sep 01, 2004 3:05 pm
Posts: 11182
Location: Abingdon, MD
ViX44 wrote:
You get a kickback every time you push Microsoft, yes?

Nope. I just like to see people actually finish a game instead of wasting time. :)

_________________
Bored? Head on over to my blog and see what I'm up to.

Microsoft XNA MVP


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 7:22 am 
Sir Postalot
User avatar

Joined: Thu Aug 26, 2004 4:34 am
Posts: 2498
Don't waste time cooking for yourself, just buy fast food.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 11:03 am 
Game Programming Guru

Joined: Thu Jun 08, 2006 7:48 pm
Posts: 1248
Location: Scotland
the problem with c++ is that the libraries people use are normally low level C libraries like SDL. sfml could be the solution to that, so you might want to have a look at it. (And of course one day my library will be amazing and everyone will love it :D)


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 1:49 pm 
Technomaniac

Joined: Sun Dec 05, 2004 11:27 am
Posts: 3249
Location: Sydney, Australia
ViX44 wrote:
Don't waste time cooking for yourself, just buy fast food.

From what I understand about XNA Game Studio, it isn't like it tries to hide the programming(*), it just tries to provide a pleasant environment to program in.

(*) I'm using "programming" to mean "the interesting stuff at some level of abstraction which I don't know how to define". i.e. XNA Game Studio is not Click 'n' Play, it is more like a standard development environment.

_________________
Trying is the first step towards failure
b


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 2:27 pm 
Dexterous Droid

Joined: Fri Aug 19, 2005 10:34 am
Posts: 3650
I like to think of XNA as more of just a collection of classes you can use. If I want, I can easily write my own class to batch-render sprites or draw bitmap text, but why do that when XNA just lets me use theirs? :)

_________________
NetGore - Open source online RPG engine


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 2:33 pm 
King Code Monkey
User avatar

Joined: Wed Sep 01, 2004 3:05 pm
Posts: 11182
Location: Abingdon, MD
Spodi wrote:
I like to think of XNA as more of just a collection of classes you can use. If I want, I can easily write my own class to batch-render sprites or draw bitmap text, but why do that when XNA just lets me use theirs? :)

Plus the fact that it takes care of all the plumbing for you. Fill in the Update and Draw functions and you're done (at the most basic level of course :) )

_________________
Bored? Head on over to my blog and see what I'm up to.

Microsoft XNA MVP


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 2:34 pm 
King Code Monkey
User avatar

Joined: Wed Sep 01, 2004 3:05 pm
Posts: 11182
Location: Abingdon, MD
ViX44 wrote:
Don't waste time cooking for yourself, just buy fast food.

Nope, you're still cooking for yourself, you just have an assistant cook that takes care of all the less fun cooking. :)

_________________
Bored? Head on over to my blog and see what I'm up to.

Microsoft XNA MVP


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 6:21 pm 
Sir Postalot
User avatar

Joined: Thu Aug 26, 2004 4:34 am
Posts: 2498
Will a penguin be able to eat the meal?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 9:03 pm 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3809
Location: Ferriday, LA, US
ViX44 wrote:
Will a penguin be able to eat the meal?


I don't think they're worried about what penguins eat, so long as their master, the Penguin Eater, has penguins to swallow.

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 11:16 pm 
King Code Monkey
User avatar

Joined: Wed Sep 01, 2004 3:05 pm
Posts: 11182
Location: Abingdon, MD
ViX44 wrote:
Will a penguin be able to eat the meal?

Sure, it just has to do it using utensils.

_________________
Bored? Head on over to my blog and see what I'm up to.

Microsoft XNA MVP


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 27, 2008 5:33 pm 
Rookie

Joined: Sun May 25, 2008 12:17 am
Posts: 2
Hi,
Thanks for the reply. That gives me plenty to think about. I've had a look at the C++ library that was suggested and I'll maybe try that out.

Thanks again,
Tim


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 27, 2008 6:31 pm 
Bibliotherapist
User avatar

Joined: Wed Dec 21, 2005 6:23 pm
Posts: 6210
Location: Manchester, UK
I'd personally suggest using something like Ruby or Python if you can find a good library for them (such as SFML which has bindings for both and documentation for setting it up :)) as coding in these languages (my main experience being ruby) is easy and fairly forgiving. This allows you to get a lot done very quickly. However my experience is that both languages are fairly poor performers as well (I've used a couple of python programs and have noticed it quite a lot in ruby) so if things start to slow down you are either going to need to start from scratch in C++ or C#+XNA or learn how to optimise python or ruby (at that point, one will probably be as easy as the other).

_________________
God must love stupid people, he made so many.
theraje: 'God doesn't love stupid people, they're just easier to make'
http://sharedillusions.blogspot.com


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 28, 2008 12:59 am 
Double Guru
User avatar

Joined: Fri Aug 12, 2005 8:58 am
Posts: 2009
Location: LA, CA
you might look into gosu for ruby (http://code.google.com/p/gosu/).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group