[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Axelay-like background scroll getting operand error



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