Search found 2 matches

by ksquared
Sun Aug 06, 2023 12:03 pm
Forum: Ren'Py Questions and Announcements
Topic: How to detect a key being held down?
Replies: 1
Views: 186

How to detect a key being held down?

Okay, this seems like it should be a simple one, but I can't find it. How do I detect if a key is being held down in ren'py? Basically, I need to accelerate an object as the "a" button is held down. I can try something like: screen accelerate(): key "a" action [SetVariable("...
by ksquared
Sat Aug 05, 2023 9:37 am
Forum: Ren'Py Questions and Announcements
Topic: Calling transform.get_placement() crashes the game (bug?)
Replies: 2
Views: 230

Calling transform.get_placement() crashes the game (bug?)

I have this line of code: $ spin_xpos, spin_ypos, spin__, spin__2, spin_width, spin_height, _ = spin_transform.get_placement() However, whenever I hit the "x" button after calling this, the game will not ask you if you want to quit. It instead generates this error: I'm sorry, but an uncaug...