[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Axelay-like background scroll getting operand error
- To: pygame-users <pygame-users@xxxxxxxx>
- Subject: [pygame] Axelay-like background scroll getting operand error
- From: Paulo Silva <nitrofurano@xxxxxxxxx>
- Date: Tue, 21 Jul 2009 15:30:35 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 21 Jul 2009 10:30:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=9RWAgv1fadUxIjVCQBYGV6kvB/dIjaI1WDPGEaA3kd4=; b=i5iy8w57V/sajx2yE7S4dGi3BUAW59Uo/7gZqo3oxHBUuYfZpwqfG6UHliB6Bo6Zmf mV5injARudpTJya27Bttrh19LCMSF75aVg/m6UHdqCfnKVbVZNFC70EWFtK3NWjPA/N/ 2hlDLNjaEC9QGr/e1k5ltHrsywDxqYETo1S1s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ge7ObDo/7K7FZUYWUpF/XXy3ym2phr8UsurXZZ0qIp6OIsFY6Cs9qxCMH/JpFAp/Wn fgDsG326TtuXUiIWQ8JpHYNkeDsuAt9LwtzIzGYp57JSI3qPKsnUsN5FE6dzItx/8OGq D20TtUec3pnRBiaEbkbtp7u0MRjMkHjO7/swI=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi!
i'm getting 'TypeError: unsupported operand type(s) for ^: 'float' and
'float'' when trying to start simulating an Axelay background scroll
http://pastebin.com/f48d2045
(01.png used can be anything)
do someone know how can i replace '^', or which wiser calculation i must do?
thanks