Question regarding MIT APP inventor

19 views
Skip to first unread message

Paddy.D

unread,
Oct 30, 2016, 12:46:08 PM10/30/16
to MIT App Inventor Forum
Greetings people!


I am currently designing the Space Invaders game on MIT app inventor and I am currently stuck. I have coded the game, however my game consists of 3 screens. I am having trouble programming my first screen which involves a 'start game' button (which i have already completed and coded) along with a spinner which consists of difficulty levels (I have completed this).

I cannot figure out how to create an interface where a user can input their name (username)  I have created a "UiNameEntryTextbox" however i am not sure how to code this. This information has to also be stored in a tinyDB (Tiny Database) 

I am truly grateful for any help I receive,

Kind regards, Paddy :)

Taifun

unread,
Oct 30, 2016, 3:11:54 PM10/30/16
to MIT App Inventor Forum
add a button and in the button clock event store the text of the textbox to TinyDB

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         



Reply all
Reply to author
Forward
0 new messages