Author Topic: python 3.3 hates me :c (I need a new program :C)  (Read 666 times)

As you guys suggested, I got python 3.3 with pygame. Another problem :(, when I try this script all it says is 'rect is not defined' and closes immediately. Help?! (im a newbie so don't scream plz)

Code: [Select]
import pygame

rect (10, 10, 10 ,10)
urrgh
« Last Edit: January 17, 2014, 09:50:10 PM by Naked Human »

"Revolutionary graphics make up for lack of gameplay" - IGN

maybe you should look up a tutorial on how python works first before you do anything with pygame

and I suggest not using python to make games. it's for small time scripts, web or plugins, not actual playable games unless you want to commit Self Delete.

As you guys suggested, I got python 3.3 with pygame. Another problem :(, when I try this script all it says is 'rect is not defined' and closes immediately. Help?! (im a newbie so don't scream plz)

Code: [Select]
import pygame

rect (10, 10, 10 ,10)
urrgh
So, define rect
you're calling a function that doesn't exist.

damn it, Is there any good programming language for 2d games .-.

damn it, Is there any good programming language for 2d games .-.
If you really want to make a game with python go to

http://www.codecademy.com/tracks/python

that explains all the basics, really fun and easy to get into.

damn it, Is there any good programming language for 2d games .-.

C++ with SDL
Java
Flash
C#
XNA

all of them require in depth studying. building a game doesn't happen over a day.

I will try c++.

Thank you all for deh advice c: