Re: Bitwise operators?

In Python, you can just use bitwise xor because booleans convert to integers.  You'll either need a ^ b or you'll need int(a) ^ int(b), but either way it is actually there.  I don't understand your attachment however.  It feels like if you need logical xor for sidescrollers, you're coding something like it's still C.  I think I've seen xor seriously used like 5 times ever, it's always a notable experience.

Most languages don't use the English words.  It's not a trend by any means, and Python is the only one I personally know (but I think Ruby also does).  I'm just using them because I happen to know Amerikranian knows Python.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector

Reply via email to