Book Image

App Inventor 2 Essentials

Book Image

App Inventor 2 Essentials

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 (15 chapters)
App Inventor 2 Essentials
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 4. Fling App – Part 2

In Chapter 3, Navigating the App Inventor Platform, you learned to use the MIT App Inventor Designer and Blocks Editor by creating your first fully functional mobile app! In this chapter, we will show you how you can take the basic Fling app and build it out by adding more complex features. We will demonstrate how to enable:

  • A scoring mechanism that will display when the ball touches the top edge

  • Code, so the ball can only be flung from the lower half of the screen

  • The increasing levels of difficulty by increasing ball speed

We will also begin debugging. Debugging is a standard practice in app development and should be viewed as part of the process, not as something negative.

Each time you add new components to your app, we encourage you to share your app with others to get feedback. Not only will the feedback give you ideas about the design, but it will also help you learn what users want from an app game. Such information will prove invaluable once you begin designing...