Forum Archive

Text entry in MyScene. Possible?

sidewinder

Hi all,

I have been experimenting with the Scene module and I love it's simplicity. I am coding up a physics demo and the touch syntax is wonderful.

However, I'd like to also allow the user to enter text during the Scene. E.g to change a value such as gravity. I'm thinking of coding my own Gravity+ Gravity- keys but is there a simpler way to combine keyboard entry with Scene?

ccc

I built a full keyboard within a scene but it is a hack: http://omz-forums.appspot.com/pythonista/post/6407519169675264

There is also an undocumented (unsupported) scene.Button class that you might also consider http://omz-forums.appspot.com/pythonista/post/6403240845377536

sidewinder

Those links are very helpful! Thank you.