Download presentation
Presentation is loading. Please wait.
1
Visual Programming Week # 12
Animation, Game, Homework #8
2
VP Lecture Note by Dr. Hanh Pham
Outline Tutorial: Ladybug Homework # 8 References VP Lecture Note by Dr. Hanh Pham
3
VP Lecture Note by Dr. Hanh Pham
Tutorial: Ladybug APP: build a GAME which lets the user guide a Ladybug to go left,right,up, or down. The ladybug can eat an aphid to get more energy but at the same time could also be eaten by a big frog. File links: Or click on HW8 files: VP Lecture Note by Dr. Hanh Pham
4
VP Lecture Note by Dr. Hanh Pham
Tutorial: Ladybug VP Lecture Note by Dr. Hanh Pham
5
VP Lecture Note by Dr. Hanh Pham
Tutorial: Ladybug ATTENTION: FieldCanvas: Height = 300 pixels EnergyCanvas: Height = pixels All ImageSprites’s property’s INTERVAL = 10 Set LADYBUG’s Image Sprite property’s SPEED = 5 Set APHID’s Image Sprite property’s SPEED = 3 Set FROG’s Image Sprite property’s SPEED = 2 VP Lecture Note by Dr. Hanh Pham
6
Tutorial “Ladybug” Step1: Ladybug moved by Users
VP Lecture Note by Dr. Hanh Pham
7
Tutorial “Ladybug” Step2: Ladybug + Aphid
Add Aphid Frog not moving yet VP Lecture Note by Dr. Hanh Pham
8
Tutorial “Ladybug” Step2: Ladybug + Aphid
VP Lecture Note by Dr. Hanh Pham
9
Tutorial “Ladybug” step 3: DONE
Add Frog Simplify Randomness VP Lecture Note by Dr. Hanh Pham
10
Tutorial “Ladybug” step 3: DONE
VP Lecture Note by Dr. Hanh Pham
11
Tutorial “Ladybug” step 3: DONE
VP Lecture Note by Dr. Hanh Pham
12
VP Lecture Note by Dr. Hanh Pham
References These slides contain materials from many sources including the following: “App Inventor: Create Your Own Android Apps” by David Wolber, Hal Abelson, Ellen Spertus, Liz Looney, Publisher: O'Reilly App Inventor for Android: Build Your Own Apps - No Experience Required, Jason Tyler VP Lecture Note by Dr. Hanh Pham
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.