Python is a dynamically and strongly typed programming language that encourages readability.
2
votes
2answers
218 views
Pygame set_colorkey transparency issues
I'm having a strange issue that I cannot seem to remedy. I am doing some prototyping with Pygame on a desktop running windows and a laptop running OS X. Both are running python v2.7.3 (installed via ...
-1
votes
2answers
327 views
How do I use setFilmSize in panda3d to achieve the correct view?
I'm working with Panda3d and recently switched my game to isometric rendering. I moved the virtual camera accordingly and set an orthographic lens. Then I implemented the classes "Map" and "Canvas".
...
0
votes
1answer
34 views
PyGame sprite assistance
I've basically just started developing with PyGame and I am having trouble with the whole Sprite concept. I have been looking every where for guides on how to use it, I just can't seem to find any. I ...
-5
votes
1answer
119 views
is object facing another object or facing it in opposite direction?
In 2d, in degrees, negative degrees possible.
What I want is to rotate the player to face the same direction as the door before opening it, but when I'll do the same again now from the opposite side, ...
3
votes
0answers
148 views
Blender - creating bones from transform matrices
Notice: this is for the Blender 2.5/2.6 API.
Back in the old days in the Blender 2.4 API, you could easily create a bone from a transform matrix in your 3d file as EditBones had an attribute named ...
2
votes
0answers
67 views
What to pass to scripting
I am using Java and libgdx to create a game and have decided to go a data driven approaching with Jython for this refactoring (just picked up Jython, have used Java for a while). The game is a ...
2
votes
0answers
67 views
Detect collision in Blender
I am trying to write a Python function for Blender(2.66) game engine, that permits me to detect collision between two objects.
I tried to read the documentation, but it's very confusing, and I don't ...
1
vote
0answers
117 views
How can I use iteration to lead targets?
In my 2D game, I have stationary AI turrets firing constant speed bullets at moving targets.
So far I have used a quadratic solver technique to calculate where the turret should aim in advance of the ...
1
vote
0answers
156 views
what space is this Matrix in?
In Blender 2.6 API, PoseBone is used for animating a bone. PoseBone.matrix is one way to do that. API says PoseBone.matrix is in "object space".
...
1
vote
0answers
280 views
Loading Obj Files in Soya3d engine
I recently just found soya3d and from what i have seen through the tutorials i will be able to make exactly what i wanted with python skills.
Now i have built this map generator. The only issue is ...
0
votes
0answers
36 views
How to modify graph ingame?
The pathfinding in my game uses this function to generate a graph:
def make_graph(self, size, impassable):
nodes = [[astar_gridnode(x, y) for y in range(size)] for x in range(size)]
graph = ...
0
votes
0answers
55 views
pygame object returns wrong button object
Another question from dumb developer :)
I have class for window:
class MainMenuWindow(Window):
# singeltone:
_instance = None
def __new__(cls, *args, **kwargs):
if not cls._instance:
...
0
votes
0answers
97 views
Blender poseBone matrix from animation matrix?
Given an animation matrix for a bone in armature-space, how to calculate the "matrix" of poseBone from it and assign it in Blender?
Basically by bones can have parents, but all animation matrices in ...
0
votes
0answers
306 views
Calculating the correct roll from a bone transform matrix
Read this forum topic for more info: http://blenderartists.org/forum/showthread.php?260602-transform-matrix-to-bone-%28head-tail-roll%29-bug
I'm trying to get my Blender3d modeller importer to create ...
