CakeEater 7: Extra Ideas

Planning
Step 1
Use setTimeout to call the reset function 5 seconds after completing the level. display confetti in the meantime

You can call a function after a delay using setTimeout like so:

setTimeout(functionName, 1000)

will call functionName() after 1000 milliseconds

You can refer to this lesson where we make a snowstorm to get you started on making confetti rain down

Planning
Step 2
Add a powerup that lets the CakeEater eat a Wall Tile
Temp1539401459

The red powerup let's the Cake Eater eat 1 Candle per powerup collected

CakeEater 7: Extra Ideas Info

Account

MVCode Clubs

Created By

Newprofile jamie

Course:

CakeEater

Access Level

premium

For Teachers and Schools

Teach coding to your students with MVCode Teach

MVCode offers an integrated product designed to teach coding to students.

Learn more about MVCode Teach