Python is a dynamically and strongly typed programming language that encourages readability.

learn more… | top users | synonyms

6
votes
2answers
832 views

How to write reuseable components for pygame

Is there a recommended way to write reuseable components for pygame? Simple example would be a FPS counter. Should I write a class which has an init, update and draw method and call them from inside a ...
0
votes
3answers
451 views

Help me choose an engine [closed]

So far i've been trying to make a RTS in pygame but, i feel like 2d is not enough and pygame has me do a lot of stuff that i would not like doing. What i would like doing is working on the AI gameplay ...
3
votes
1answer
1k views

Python or C server hosting for indie development

I've written a lot of the game, but it's singleplayer. Now we want to join up and play together. I want to host it like an MMO, but haven't got any personal ability to host (no static IPs or direct ...
3
votes
2answers
2k views

What is the best online game framework for Python? [closed]

I want create online game with Python. Is there any framework or library to make it easier? I would like it if the framework provided things like character attributes, such as health.
7
votes
3answers
2k views

OpenGL - Stack overflow if I do, Stack underflow if I don't!

I'm in a multimedia class in college, and we're "learning" OpenGL as part of the class. I'm trying to figure out how the OpenGL camera vs. modelview works, and so I found this example. I'm trying to ...
8
votes
5answers
13k views

What's the best Python 3D engine? [closed]

I want a straight 3d Python engine that's easily obtainable for linux and easy to use. Soya3D failed for me because of the lack of documentation. I should be able to load common 3D models without an ...
1
vote
1answer
358 views

How can I load .obj files in the Soya3D engine?

I recently just found soya3d. I want to import .obj files, but it seems to only accept .data files. How can I import .obj files? Importing a .obj file named "house" produces this error: Traceback ...
2
votes
2answers
956 views

Problems moving a rectangle in Pygame

I'm making a game in Pygame and I want to be able to target enemy unit. I made it so when I click on them a variable "targeted" becomes true, and stays true until I click somewhere else on the screen. ...
8
votes
4answers
2k views

What library for octrees or kd-trees? [closed]

Are there any robust performant libraries for indexing objects? Objects would have bounds themselves, rather than being represented by points; and an object could therefore be in more than one ...
7
votes
2answers
2k views

How can I distribute a native executable for a Python program?

Lately all of my work has been in Python (and Ruby), and I'm in love with those two languages. There are many libraries for game development on Python but the problem I see is that many of those ...
6
votes
2answers
836 views

Panda3D documentation, manual, and tutorials for offline viewing?

Is there a way to get the Panda3D's manual and tutorials available for offline viewing? I'm going on a business trip and I will spend a good deal of time at the airports and on long flights. I'd love ...
1
vote
3answers
3k views

Will I have an easier time learning OpenGL in Pygame or Pyglet? (NeHe tutorials downloaded)

I'm looking between PyGame and Pyglet, Pyglet seems to be somewhat newer and more Pythony, but it's last release according to Wikipedia is January '10. PyGame seems to have more documentation, more ...
4
votes
3answers
499 views

What resources are available to read and share pyglet code?

I am a Python programmer (I know the ins and outs decently well), and I have dabbled with Pygame. I want to make 3D applications and games, and so naturally I've been looking at OpenGL. pyglet uses ...
17
votes
5answers
3k views

noSQL - Is it a valid option for web based game? [closed]

Out of an opportunity and boredom, a friend and I decided to make a web based game. This is the first 'game' I will be making, since usually I program web apps in django. I've opted to use the same ...
19
votes
5answers
50k views

Famous games written in Python [closed]

I've seen a couple of these, namely Java and C#/XNA...and I've recently been picking up Python. Which kind of made me think. What (famous) games have been written in Python, with ...
4
votes
1answer
793 views

Client-side login and password save

I'm wondering what would be the best way to store password and login in the client. Many people complain that they need to re-enter this every time they log in and they want me to make a way to save ...
4
votes
3answers
2k views

Writing Logic behind card games

I'm not a dev noob, but definitely never done anything in game dev. There is a trump based card game we play in town that I plan on coding. I'll be either using python/ajax/pyqt or c++/qt. My ...
6
votes
8answers
8k views

Alternative to pyGame? [closed]

i'm learning something about game programming from a book about "pyGame". pyGame is simple, but... python is a little complex and different from my previous knoweledge about programming. I know ...
1
vote
4answers
2k views

When learning, nothing is better than practice

A little introduction: I'm 25, and going to this private french school, CreaJeux, which begins in october. I will be learning mostly game programming, something I wanted to do a long time ago, since ...
7
votes
1answer
1k views

Creating a 2D skeleton animation system for use with Panda3D

Hey. I want to be able to create a system for 2D skeletal animation in my game. I'm using panda3d as my game engine. I'd like to be able to make simple bone structures and skin them with my sprites. I ...
2
votes
2answers
471 views

Help making a visual transition with pygame and NumPy

Perhaps this could be better answered on Stack Overflow, but I thought it would be worth posting here. Right now I'm trying to make visual transitions with pygame's surfarray module which uses NumPy. ...
3
votes
2answers
1k views

Game clock Synchronization in python

I am working on a network game project in python which we want to keep synchronized. I would assume we should use Network Time Protocol to cater for different levels of lag. That being the case, is ...