8VIRTUAL SHADES: DRAWING AND DRAGGING IMAGES
For the “Fruit Loot” and “Tic Tac Toe” games in Chapters 3 and 6, you animated the Canvas and ImageSprite components from App Inventor’s Drawing and Animation drawer by programming EdgeReached, TouchDown, and other event handlers.
In this chapter, we’ll program Canvas and ImageSprite moving, drawing, and dragging methods and event handlers to create an app that lets users draw, type, and drag images across a smartphone or tablet screen. Developers use similar functions to build apps that allow users to move elements, take handwritten notes, and doodle on the screen.
BUILDING THE “VIRTUAL SHADES” APP ...
Get Learn to Program with App Inventor now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.