Appinventor Study Notes (iv)--study on the application of hamster

Source: Internet
Author: User
Tags appinventor

First, the component design 1, the overall preview

2, the Image Wizard add

(1) First add a canvas in

Adjust properties

(2) Adding sprites

Add sprites, then upload a picture for property modification

3. Join Clock

Direct join, set to 1000ms

Second, block programming

1. Block function Establishment

(1) First select this module, change procedure to Movemole

Then add the module to the right, the composition of the diagram is as follows

The module in which the random number is found in math.

Focus on mastering the mapping coordinates of the Android app

A, the origin in the upper-left corner, the horizontal axis of the positive direction is horizontally right, the vertical axis is perpendicular downward

B, the anchor point is also in the upper left corner.

(2) constantly calling this function in the program

Find the two methods in screen and clock, then find the method we established in Produrce.

2, establish the ground mouse logic

It's not hard, you can try it.

3, the rest of the button settings

Above is the design of the reset button.

Here are the vibrating reminders.

Iii. Demonstration of results

Appinventor Study Notes (iv)--study on the application of hamster

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.