Using GUI widgets within Processing Android Tool
in
Android Processing
•
3 years ago
Hi All,
I have written a small game with the Android Tool in Processing.
It didnt take long to write the game complete with music and touch screen graphics, but now I'm really stumped.
I would really like to provide a high score table where users can enter their names but I'm finding this to be impossible to implement.
Is it possible to add an edit text box to a game? I've tried everything I can think of.
I've tried adding it in the usual android recommended ways XML etc but as Im in a PApplet and not an activity this doesnt work.
Ive looked at using a separate library ( AML ), but its an android library project and I tried mixing it with my code but had no joy with it. I can show a list with the levels and high scores but there doesnt seem to be a way of accepting the user's name when they get a high score...
Any help greatly appreciated!
I have written a small game with the Android Tool in Processing.
It didnt take long to write the game complete with music and touch screen graphics, but now I'm really stumped.
I would really like to provide a high score table where users can enter their names but I'm finding this to be impossible to implement.
Is it possible to add an edit text box to a game? I've tried everything I can think of.
I've tried adding it in the usual android recommended ways XML etc but as Im in a PApplet and not an activity this doesnt work.
Ive looked at using a separate library ( AML ), but its an android library project and I tried mixing it with my code but had no joy with it. I can show a list with the levels and high scores but there doesnt seem to be a way of accepting the user's name when they get a high score...
Any help greatly appreciated!
1