Git Product home page Git Product logo

Comments (5)

HexDecimal avatar HexDecimal commented on May 30, 2024 1

New release v3.0.0 shouldn't crash, but the event attributes will be mostly blank.

from python-tcod.

HexDecimal avatar HexDecimal commented on May 30, 2024 1

I'm able to repeat the _Bool issue on Python 3.6.1 (32-bit). That issue doesn't show up in a 64-bit build.

libtcod doesn't seem to define the modifier keys on SDL text events.

Released v3.0.1, which manually zeroes out those values as a temporary fix.

from python-tcod.

HexDecimal avatar HexDecimal commented on May 30, 2024

Keypad percent, I don't have that on my keyboard, and it seems to be missing in libtcod itself.

The best I can do is have tdl ignore keys that are undefined by libtcod.

from python-tcod.

Tairesh avatar Tairesh commented on May 30, 2024

Now. in 3.0.0 I get a new error when I press a numpad or letter buttons without left alt:

Traceback (most recent call last):
File "C:\Users\ilya_gorohov\Documents\tdltest\main.py", line 65, in
for event in tdl.event.get(): # Iterate over recent events.
File "C:\Users\ilya_gorohov\AppData\Local\Programs\Python\Python36-32\lib\site-packages\tdl\event.py", line 413, in get
_processEvents()
File "C:\Users\ilya_gorohov\AppData\Local\Programs\Python\Python36-32\lib\site-packages\tdl\event.py", line 387, in _processEvents
libkey.lalt,
ValueError: got a _Bool of value 100, expected 0 or 1

from python-tcod.

Tairesh avatar Tairesh commented on May 30, 2024

Now event.get() is nice working for me, thanks

from python-tcod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.