Create a multi-level Game App
Demonstrate how to use Canvas, Sprite Types, and Sprite components in Thunkable to create an interesting game app.
Correctly develop and use a procedure in an app.
Add more WallType sprites to complete the Maze
Set a Stage Background
Add Sound Component
Add Timer Component
Set Interval to 1 second
Set Loops to True
Add a Target Sprite
Initialize Variables
Time --> 30
Lives --> 3
Level --> 1
Procedures
End Game Procedure
Touching Wall Procedure
Reset Procedure
Events
When Ball Collides with WallType
When Ball collides with any Edge
When Ball collides with Target
When Start Button Click
When Timer Fires
Add a new Stage
Set Stage2 Background
Add Wall Sprites
Add a Ball Sprite (ball2)
Add a Target Sprite (target2)
Program U/D/L/R
Add to Touching Wall Procedure
New Procedure: Level2
Add to "When Balltype collides with Target Sprite" Event Handler
Add an intro screen with an image, directions on how to start game, and a Button that switches to the Level1 screen
Add more Sprite_types and upload new images to set as the pictures.
Use the guidance from Part 3 and Part 4 to add levels
The gyroscope measures how quickly the phone is being turned. It measures the rate of rotation of the phone and returns values about the x axis, the y axis and the z axis.
Whenever the phone is turned, or rotated, the Changes event will fire.
2-CS-02 Design projects that combine hardware and software components to collect and exchange data.
[C] CS: Hardware & Software [P] Creating (5.1)
The Accelerometer sensor is used in the maze game.
2-AP-10 Use flowcharts and/or pseudocode to address complex problems as algorithms.
[C] AP: Algorithms [P] Abstraction (4.4, 4.1)
Students design and implement a new feature with planning tools.
2-AP-13 Decompose problems and subproblems into parts to facilitate the design, implementation, and review of programs.
[C] AP: Modularity [P] Computational Problems (3.2)
Students design, decomposing into components for UI, and actions for those components.
2-AP-14 Create procedures with parameters to organize code and make it easier to reuse.
[C] AP: Modularity [P]Abstraction (4.1, 4.3)
MoveBall procedure is used.