![]() This tutorial assumes you are familiar with the basics of App Inventor- using the Component Designer to build a user interface, and using the Blocks Editor to specify the app's behavior. Dynamic Positioning of sprites on a canvas, based on the size of the screen.Using the Sprite component and the TouchUp, TouchDown, and Flung events.The total score is the number of strokes it takes to complete the entire course. For each fling of the ball, the stroke count goes up by one. The ball will bounce off of the rectangular obstacle and the sides of the course. To play this mini golf app, the player first positions his/her ball within the confines of the tee, and then flings the ball toward the hole. This Mini Golf App demonstrates how to use the Fling, TouchUp, and TouchDown gestures for Sprites Note that these event handlers are also available for the Canvas.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |