[
Author Prev
][
Author Next
][
Thread Prev
][
Thread Next
][
Author Index
][
Thread Index
]
Re: [pygame] Receiving stack overflow when inheriting Sprite class
To
: "
pygame-users@xxxxxxxx
" <
pygame-users@xxxxxxxx
>
Subject
: Re: [pygame] Receiving stack overflow when inheriting Sprite class
From
: Jake b <
ninmonkeys@xxxxxxxxx
>
Date
: Tue, 13 Oct 2015 09:02:58 -0500
Delivered-to
:
archiver@xxxxxxxx
Delivered-to
:
pygame-users-outgoing@xxxxxxxx
Delivered-to
:
pygame-users@xxxxxxxx
Delivery-date
: Tue, 13 Oct 2015 10:03:21 -0400
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nCbyJpPdD2GTChPGo3CWiqVrxX3cJnUIlGXBH05A5v8=; b=NFoCJqza/aAlifvcwaEgA2u7TqOwg0lWRcrShaUs3L3bW1kMPdTKyDo0XyFVGonrvX h9ZRTrtzlts2ZmLbvw4JHOv2NTGNmIMLSDSO5p3AYuZw6/sap18jnRiwsY88t18uX61D 2rt6ALiV0paLyVUal4nvn3mKpgAxHZonClgQYGalFcNqGFgFammbcPzDOx+CWuGRhQAC snhrXxrzGKZQSyI/8SJuTDHVhFunpNeiLWVFoog/GUyRVZQwJaNuHC66L2Hn/bojeSZm qh4CtyiqPULN7XuY+cTsG0vtJWkn3SLpRjbQR9hccnJvJ3gebe0tTW1tjZyu1+F9sk5B C1Uw==
In-reply-to
: <
CAFBongVMrMuUVisY6etrxKPxyRWOEHsf9YyZY9JOciZqQrO48w@xxxxxxxxxxxxxx
>
References
: <
CAEsVj+6xhst3FgbBfTnWv=vqAYW=-ZKSHM-Hukk=+Hzhyt_DDw@xxxxxxxxxxxxxx
> <
CAFBongVMrMuUVisY6etrxKPxyRWOEHsf9YyZY9JOciZqQrO48w@xxxxxxxxxxxxxx
>
Reply-to
:
pygame-users@xxxxxxxx
Sender
:
owner-pygame-users@xxxxxxxx
You. Can simplifyÂ
self.rect.center = scn.rect.center
Also because you use else, you can't hold
âmultiple directions at the same time.
If you want to bounce off the top, then
. ÂÂyvel *=-1
â
â
References
:
[pygame] Receiving stack overflow when inheriting Sprite class
From:
Tom Easterbrook
Re: [pygame] Receiving stack overflow when inheriting Sprite class
From:
Noel Garwick
Prev by Author:
Re: [pygame] Closing issue 211 with big-endian CPU test
Next by Author:
Re: [pygame] Steam Controller
Previous by thread:
Re: [pygame] Receiving stack overflow when inheriting Sprite class
Next by thread:
[pygame] Steam Controller
Index(es):
Author
Thread