Python is a dynamically and strongly typed programming language, used for developing a wide range of applications. The philosophy of Python is succinctly formulated in The Zen of Python, which can be revealed by issuing this command at the interactive interpreter: >>> import this The ...
4
votes
2answers
74 views
Web-based micro-transaction API
I am currently making a browser-based game and I would like to integrate micro-transactions. However I would prefer not to have to implement my own storefront. Does anyone know of an available ...
3
votes
1answer
87 views
Python float 32bit to half float 16bit
I'm trying to write a 3D model exporter addon for Blender in Python and need some help.
The spec of the 3D format uses some compression on the vertices, there is a vertex buffer that contains ...
0
votes
2answers
87 views
Detecting if line crosses rectangle in python. Need speed boost
I am currently writing a top down man vs robot shooter. The game works now, but if I have a decent sized level it runs slowly when you are being chased by robots. While just roaming around it can go ...
-4
votes
0answers
101 views
I need a very rapid game engine with as many presets as possible [closed]
I have to make a game about the immune system (with as many grotesque simplifications as I want) in roughly two weeks. I'm thinking of something along the lines of bubble tanks, but I think I can roll ...
6
votes
1answer
166 views
How do I communicate with an IronPython component in a C#/XNA game?
My XNA game is component-oriented, and has various components for position, physics representation, rendering, etc, all of which extend a base Component class. The player and enemies also have ...
1
vote
1answer
84 views
How can a pygame image be colored?
How can I color a Pygame image surface? I either want to change every pixel that is color A into color B, or else change every pixel into color B. Either works, so long as transparent regions remain ...
1
vote
1answer
109 views
Bullet physics in python and pygame
I am programming a 2D sidescroller in python and pygame and am having trouble making a bullet go farther than just farther than the player. The bullet travels straight to the ground after i fire it. ...
2
votes
1answer
85 views
Velocity control of the player, why doesn't this work?
I have the following code inside a while True loop:
if abs(playerx) < MAXSPEED:
if moveLeft:
playerx -= 1
if moveRight:
playerx += 1
if abs(playery) < MAXSPEED:
if ...
1
vote
1answer
74 views
Python/PyGame mixer.music playback of OGG file has intermittent clicking sound - how to proceed?
I have a class within my python + pygame game that handles sound - it worked well until I tried use pygame.mixer.music to switch between streaming .ogg music files. The class switches between them on ...
1
vote
1answer
161 views
OpenGL: Rotating cannon about non-centre position?
So I have a "cannon" object (basically a long cylinder) and I want to be able to control its angle. The code I have now is:
glPushMatrix()
glTranslatef(self.position.x,2.5,self.position.z)
...
0
votes
1answer
86 views
Pygame import error [closed]
When I installed pygame and tried to run import pygame, I got this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ...
1
vote
1answer
206 views
MMO Proxy Server
I am building an MMO and someone told me I should never have my application interfacing directly with the net, and that I should have a local proxy. This makes sense, with security issues and scaling ...
2
votes
2answers
158 views
Scripting language with class instance support
I have come across the need to use a scripting engine for my C++ game, but after experimenting with many languages since the last few days, nothing has truly stood out as the obvious choice for a ...
-1
votes
1answer
77 views
Best Place for me to start [closed]
I am a Web Developer with experience in C#, PHP, Javascript, .NET framework etc.
I would really like to get in to indie game development in my spare time, I wouldn't mind learning something like ...
2
votes
2answers
158 views
PyGame custom isometric engine : caching or not?
Sorry if this question about is a bit broad.
In the game I'm making, I need an isometric view with some altitude, which means players can go behind a hill, and be partly or totally hidden. To avoid ...