Re: [pygame] Updating the pygame.org news section with an intro video to pygame?

2014-05-23 Thread Michael Lutynski
So can someone connect me with the person or persons who are in charge of the pygame.org site to get Pygame news posted? I really want to see Pygame get some love, and I'd be willing to help. ~ Michael On Wed : May 21, 2014 11:05:19 PM you wrote: > I'd like to get this piece of news on the Pyg

Re: [pygame] Segmentation Fault, Abort trap: 6

2014-05-23 Thread Silver
According to here (https://groups.google.com/forum/#!topic/kivy-users/QdSkaIcP9d0) this is usually due to a faulty installation. On 5/23/2014 2:17 AM, Marian Steinbach wrote: > Hi! > > I just installed pygame today after some time to re-animate an old project of > mine. I used the current sourc

Re: [pygame] Scaling the hitbox/rect of a sprite

2014-05-23 Thread Skorpio
Thanks guys, your solutions work fine. I didn't realize that the collided callback function automatically gets the two sprites as input. -- View this message in context: http://pygame-users.25799.x6.nabble.com/pygame-Scaling-the-hitbox-rect-of-a-sprite-tp1227p1242.html Sent from the pygame-use

Re: [pygame] Updating the pygame.org news section with an intro video to pygame?

2014-05-23 Thread Davy Mitchell
Thanks for the link Paul - looks like a very useful site! On 22 May 2014 13:29, Paul Vincent Craven wrote: > You can get an unofficial 3.4 build here: > http://www.lfd.uci.edu/~gohlke/pythonlibs/ > > > > Paul Vincent Craven > > > On Thu, May 22, 2014 at 6:31 AM, Davy Mitchell wrote: > >> Agreed

Re: [pygame] Scaling the hitbox/rect of a sprite

2014-05-23 Thread bw
Example attached. This might get you going. Gumm On 5/23/2014 07:02, Skorpio wrote: Thanks for the help everybody, but it still doesn't work. I've tried these functions as collided values (as Jeffrey Kleykamp suggested): pygame.sprite.collide_rect() takes only sprites as values and then uses

Re: [pygame] Segmentation Fault, Abort trap: 6

2014-05-23 Thread Sam Bull
On ven, 2014-05-23 at 11:17 +0200, Marian Steinbach wrote: > Fatal Python error: (pygame parachute) Segmentation Fault > Abort trap: 6 I think it's just something that's crashed in the C code, so not a useful error. Just use print statements to work out where it crashes, and that might help you fi

Re: [pygame] Scaling the hitbox/rect of a sprite

2014-05-23 Thread Jeffrey Kleykamp
Oops, my code was wrong, it should be, my_collide_rect = lambda a, b: a.hitbox.colliderect(b.hitbox) You want to use the colliderect function of the Rect module to test if they collide. http://www.pygame.org/docs/ref/rect.html#pygame.Rect.colliderect Jeffrey On Fri, May 23, 2014 at 10:02 AM, Sk

Re: [pygame] Scaling the hitbox/rect of a sprite

2014-05-23 Thread Skorpio
Thanks for the help everybody, but it still doesn't work. I've tried these functions as collided values (as Jeffrey Kleykamp suggested): pygame.sprite.collide_rect() takes only sprites as values and then uses their rects. That means I can't use the sprite's scaled "hitbox" attribute, otherwise I

[pygame] Segmentation Fault, Abort trap: 6

2014-05-23 Thread Marian Steinbach
Hi! I just installed pygame today after some time to re-animate an old project of mine. I used the current source from bitbucket. I’m getting this error: Fatal Python error: (pygame parachute) Segmentation Fault Abort trap: 6 What could it mean? I'm on Mac OS 10.9.3, Python version is 2.7.5.