
Get acquainted with the features of the "Mole Mash" game that we will build in this course.
Learn about designing games for Android with Canvas and animated Sprites. Download the starter app (.aia file) and follow along with the instructor. Test the app during development using emulator or on the Android phone by scanning the QR Code for the project generated by App Inventor.
Learn how to animate a sprite so the sprite moves to a random location on the canvas at a set interval.
Use a global variable to track the score and display it to the player.
Make the phone vibrate when the player scores a point. Make the mole squeak. Learn to give multi-sensory feedback to the player during a game.
Take your coding Kung-Fu to the next level by learning to write procedures. Learn about the clock and date-time manipulation.
Write code so the player can restart the game with a blank slate.
Learn how to set a timer using a clock for animation effects.
Learn about using a Canvas to set the ambience for your game and to provide a frame of reference for Spite location.
Learn how to make a Sprite move using an external clock and calculating coordinates or the component's own clock and properties of heading, speed and interval.
Make your own app, applying the concepts taught in this course to bring to life your own ideas.
Have you had an idea for an app and wondered what to do next? With MIT App Inventor, you can take your idea to action - no programming experience required. It gives you building blocks that you snap together like LEGOs to build an app. You can have a basic app ready in under 30 minutes!
About App Inventor:
MIT App Inventor is the result of a collaboration between the Massachusetts Institute of Technology and Google. It has 8.2 M users in 195 countries who have built over 34 M apps with it. Just this month has had 890.1 K active users. Applications include Artificial Intelligence, Internet of Things and Cloud Computing.
Examples of apps built include: a pedometer app to count and report daily footsteps; an app to monitor the home garden, detect when plants need watering and irrigate them from anywhere in the world; an app that learns to play rock-paper-scissors using machine learning; the only limit is your imagination!
About the Series:
In Craft with Code, participants learn by doing, growing skill by developing apps of increasing complexity through a series of courses. In each course, I introduce a new app and show you how to build it step by step. In the process, I introduce new software concepts. You will apply the concepts to bring your own ideas to life in the course project. All the code from a course is available to you to download and use in your projects.
You will need a laptop or desktop with a web browser and an Android Phone. I use a MacBook Pro with Opera browser and a Google Pixel phone. You will need a Google account to sign up and sign in. App Inventor runs in the browser, so there is nothing to install to get started developing apps.
About this course:
In the project, you will build an animated game using Canvas and Image Sprites. You will learn essential "How To's" of building animated games, such as: (i) How to lay out the screen with Canvas and Image Sprites (ii) How to animate a touch-sensitive Image Sprite, and (iii) How to set up a timer using a Clock for orchestration. You will then apply these concepts to bring your own ideas to life in a DIY app to uplift and educate.
Credits:
I want to thank Prof. David Wolber who is my inspiration for jumping on-board MIT App Inventor and taking the technology out to others. His Course-in-a-box teaching materials are the foundation on which I built this course. And I want to thank the folks at MIT for this project.
Let's rock and roll.