Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying App Inventor 2 Essentials
  • Table Of Contents Toc
App Inventor 2 Essentials

App Inventor 2 Essentials

By : Kamriani, Roy
4.2 (9)
close
close
App Inventor 2 Essentials

App Inventor 2 Essentials

4.2 (9)
By: Kamriani, Roy

Overview of this book

App Inventor 2 will take you on a journey of mobile app development. We begin by introducing you to the functionalities of App Inventor and giving you an idea about the types of apps you can develop using it. We walk you through the technical set up so you can take advantage of the interactive development environment (live testing). You will get hands-on, practical experience building three different apps using tutorials. Along the way, you will learn computer science principles as well as tips to help you prepare for the creative process of building an app from scratch. By the end of the journey, you will learn how to package an app and deploy it to app markets. App Inventor 2 Essentials prepares you to amass a resource of skills, knowledge and experience to become a mobile app developer
Table of Contents (10 chapters)
close
close
9
Index

Updating the score label to display the level


In our game, we have a label that displays the score or the words "Game Over". Now that we have implemented levels as well, we also want to display the level within that label.

As shown in the following screenshot, we used the join block to join two pieces of information and display it in the label—the word Score: (there is a blank space after the colon) and the value of the score. Now that we want to display the level, we will add three more pieces of information to this join block. There is another blank space after the score (value), followed by the word "Level: " (there is also a blank space after the colon here), and finally the value of level.

To make room for these three new pieces of information, we need to add strings to the existing join block. Click on the blue square in the top left corner of the join block. This will open a pop-up window. Inside this popup, drag the string block from the top left corner into the join block on the...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
App Inventor 2 Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon