Linux.com

Author Message
Joined: Jun 19, 2008
Posts: 7
Other Topics
Posted Jun 19, 2008 at 4:58:01 PM
Subject: Help creating games and migrating from Microsoft's XNA...

Hello,

I am a real noob when it comes to Linux, I just migrated a few days ago, and am still trying to settle down. I have programmed(on Windows) with Visual Basic, C# (Sharp) (All .NET), and have used the XNA Framework to create games.

My plans are for me to use MonoDevelop and GTK# (Which both look perfect for me) to develop normal applications, and when I want to develop games (now :D) I do not know what I should use.

I was looking at Python, (and PyGame or something), it looks pretty nice actually albeit I am more of a fan towards the C#-structure. I also feel that C/C++ is too complex for me, as I have stumbled into it a few times (both unmanaged and managed), and I am also only 16. I have written many programs in .NET, and the XNA Framework, and would now love to find an alternative to creating games.

And, if you think that Python will be excellent for me, are there any nice IDE's to use?

It would be really helpful if you explained everything, as I don't even know what Python is like, and have only basically-glanced at it.

Back to top Profile Email Website
Predator106
Joined Jun 19, 2008
Posts: 7

Other Topics
Posted: Jun 20, 2008 1:36:26 AM
Subject: Help creating games and migrating from Microsoft's XNA...

Well it appears that I may end up having to learn C++. Python's language syntax and structure seems too....limiting to me. I absolutely love the bracket system now. I suppose I will also use the SDL Framework or whatever, possibly coupled with Kdevelop. If anyone has any useful tips, or better IDE's to use, or good resources, it'd be nice if you could let me know.

Back to top Profile Email Website
linuxdynasty
Joined Aug 07, 2007
Posts: 47

Other Topics
Posted: Jun 20, 2008 3:03:19 PM
Subject: Help creating games and migrating from Microsoft's XNA...

What do you feel is to limiting about Python??? The Mandatory Indentation??? If so that will help you in the future with creating clean code. I myself started in C/C++ and Perl and most of my code was not the best looking. Once I a started to learn Python, all my code now looks the same and clean no matter what language I write in. Writing your game in Python will actually speed up your development. EA games has written one or two games using python and they love it. No disrespect to any other language intended....

http://linuxdynasty.org Where IT pros come and share their knowledge..\

Back to top Profile Email Website
Predator106
Joined Jun 19, 2008
Posts: 7

Other Topics
Posted: Jun 20, 2008 4:54:01 PM
Subject: Help creating games and migrating from Microsoft's XNA...

Well I hate to say it, but without the brackets it just feels hard to know when a scope ends/begins. I find it to keep it much more clean(compared to other languages like VB).

Back to top Profile Email Website
Lin
Joined Jul 04, 2008
Posts: 29

Other Topics
Posted: Jul 04, 2008 9:23:47 PM
Subject: Help creating games and migrating from Microsoft's XNA...

Get CodeBlocks

Back to top Profile Email Website
tensh
Joined Jul 03, 2008
Posts: 3

Other Topics
Posted: Jul 07, 2008 3:14:31 PM
Subject: Help creating games and migrating from Microsoft's XNA...

Trust me, once you get used to the Python syntax you'll love it. That said, there should be a noticable performance loss in Python compared to e.g. C#.

The great thing about Python is that it's extremely easy to use (most times) and there're lots of libraries available. I have to agree with linuxdynasty on the fact that the code automatically gets structured and easy to read, since it forces you to do proper indentation. Brackets are kind of superflous anyway and lets people write uglier code than necessary.

Python is great for writing big applications since it will take a lot less time than most other languages, but if you're gonna write heavy games it might not be the thing for you. I think it's quite common that you combine Python with other languages like C though, where you write most trivial stuff in Python and the heavy processing in C.

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya