[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame for basic nintendo NES games



Haroon Khalid wrote:

Here is the whole story. I wanted to start developing small, basic, 2D nintendo NES style games,


sounds like fun :)

Python and Pygame be my best choice?

i can tell they are for me and many others. i think you should definitely give them a shot!

My goal is to be able to make a game on FreeBSD and be able to easily have it run on other OS' such as linux distros and Windows and other BSDs. I am guessing since python is interpreted, and pygame is available on many other OS', I shouldnt have to change the code.


true.

1. If pygame/python is my best choice, should I pick up a python book, read it all, and then start looking at pygame?

books are great, and doing tutorials is priceless.

I ask this because of my php knowledge on how I easily it was to dive in, and
how php is mainly for the web and not other areas. Where other languages, they cover all areas and its not that easy to dive in from my understanding.


i dont see why Python would be any more difficult than PHP, but am quite biased 'cause have never had to use php really (only little bugfixes), 'cause very much prefer to do web stuff in Python too.

i think the first steps in Python are as easy as programming can be today. you will encounter some gotchas later on, but usually they only teach you something useful :)

2. If I make the game for freebsd, and I want to release it for other OS' will I have to change the code?


no.

pygame would not die
out so easily, if I was go with it.


i dont see it dying. it has existed for long, is very stable, but still also developing (slowly .. summer of code may change now though)

it is quite small and does what it needs to, which is great.

also our company for example uses it in commercial applications (not games but things that need to draw graphics to a display anyway, and react interactively ;)

one thing is that OpenGL is very useful in certain cases, like when you need to scroll the whole screen or obviously when you need 3d graphics. the nice thing is that pygame works nicely with opengl too, there are many nice solutions ppl on this list have made.

but i dont recommend you starting from there - plain pygame is nice for learning!

4. Any tips/advice?


don't be put off by the need to intendate / about the fact that intendation is syntax in python. i find it a nice help for the programmer, and have heard that many people who disliked the idea, have later when they actually have done something in python, noticed that it was not a problem.

Thanks, and please keep in mind I am new to programming. Thanks!


no prob,
~Toni