Aug
25
awarded Popular Question
Nov
9
answered Menu not displayed since I upgraded to Ubuntu 13.10
Apr
28
awarded Necromancer
Sep
19
answered Start with pyglet or pygame?
Apr
17
answered Moving many sprites the same distance at the same time with pyglet
Feb
29
comment PyGame custom isometric engine : caching or not?
@Nicos Bolas: I don't think it is the standard procedure for pygame (and probably sdl in general). I know it's what you do with directx or openGL, but it seems necessary in pygame to only update the display for the modified zones.
Feb
26
accepted PyGame custom isometric engine : caching or not?
Feb
26
awarded Scholar
Feb
26
comment PyGame custom isometric engine : caching or not?
Oh god, I didn't understand what "clipping" was (my English isn't that good) ! Thank you very much, this solves my problem! Now, I 'll just have to implement this... :)
Feb
26
awarded Student
Feb
26
comment PyGame custom isometric engine : caching or not?
I'm not sure I get what you mean... Let's say a player moves behind a hill, he has to be drawn, but the hill has to be drawn too, and then a tree covering the bottom of the hill (and not the player) will have to be redrawn too, and a house, which is hiding the roots of this tree should be redrawn too... You keep track of all those interactions?
Feb
25
comment PyGame custom isometric engine : caching or not?
I guess I could rely on a layeredDirty. Update() return for these rectangles. But with altitudes on the map, updating just those zones could result in errors... I'd have to extend those rectangles to the bottom of screen, to prevent such problems
Feb
25
comment PyGame custom isometric engine : caching or not?
I see your point. But I'm a real hobbyist, and even engines like panda3D look very hard to me, so I'd rather stick to my 2D api (pygame) and look for the best solution... I don't think redrawing every tile each frame is feasible... Thank you for your answer
Feb
25
asked PyGame custom isometric engine : caching or not?
Feb
12
comment Most simple algorithm to reverse direction on collision
Sorry if I wasn't clear enough. Testing separately x and y is the way to go, but Rect.contains() will test both behind the scenes. In the end you tested x movement two times and y movement two times. That's why I'd rather test manually the position like in my example code
Feb
11
answered Most simple algorithm to reverse direction on collision
Feb
10
answered I am a newbie to python and I am having problems installing pygame?
Feb
6
answered PyGame: pygame.image.load() does not show anything
Jan
12
answered How to get this sprite class to work with my main loop (Pygame)
Jan
12
answered Program detecting collision even though sprites aren't literally colliding 'pygame.sprite.collide_rect'
1 2