Introduction to CodeMao

Form 1 - Computer

2024-2025

Floor 4 - Computer Room

Mr. Peter, Mr Jon

Outline

Outline

1

Ex04 - Catwalk

2

Ex05 - Bomb

3

Ex06 - Firework

4

Ex07 - Arrow

Codemao Platform

Change language

Change to English

Ex04 - Catwalk

Tasks:

Control the cat by pressing left or right key.

1.

Control the background by pressing left or right key.

2.

Create a speed variable to increase the speed of walking.

3.

Ex04 - Catwalk

Tasks:

Control the cat by pressing left or right key.

1.

Control the background by pressing left or right key.

2.

Create a speed variable to increase the speed of walking.

3.

Change the rotation mode to Left-Right

Ex04 - Catwalk

Tasks:

Control the cat by pressing left or right key.

1.

Control the background by pressing left or right key.

2.

Create a speed variable to increase the speed of walking.

3.

Change the rotation mode to Left-Right

Code Block:

Ex04 - Catwalk

Tasks:

Control the cat by pressing left or right key.

1.

Control the background by pressing left or right key.

2.

Create a speed variable to increase the speed of walking.

3.

Change the rotation mode to Left-Right

Code Block:

Download your program and name it as 01_YourName_Ex04.bcm4

Ex06 - Fireworks

Tasks:

Press Space key to show fireworks

1.

Clone firework when space key is pressed

2.

Scaling and fading the cloned firework

4.

Move to a random position if a fireworks is cloned.

3.

Ex06 - Fireworks

Drag

Import firework.bcmp4 file

Ex06 - Fireworks

Clone the firework if space key is pressed.

Define the cloned firewowk

Ex06 - Fireworks

Clone the firework if space key is pressed.

Define the cloned firewowk

Download your program and name it as 01_YourName_Ex06.bcm4

Ex07 - Arrows

Tasks:

Press Space key to emit arrows

1.

Explosion if a coin touch the arrow

2.

Control the cat by pressing left or right key

3.

Coin will be cloned every 0.5 seconds

4.

Ex06 - Fireworks

Arrow.bcmp4

Drag

Import arrow.bcmp4 file

Ex06 - Fireworks

Drag

Import coin.bcmp4 file

Ex06 - Fireworks

Codecat movement

Arrow

F1 - Codemao

By Mr Peter

F1 - Codemao

  • 211