Wednesday, November 22, 2017

Ice Danger - ALICE Program

Ice Danger 

For this exercise, you can begin with a world completed in either Exercise 7 or 8—or create a new skater world from scratch. Add a hole in the ice (a blue circle).


Make the world interactive to allow the user to use the mouse to move the hole around on the icy surface. Now, as the skater is moving across the surface of the ice, the user can move the hole into the skater’s path. Modify your method that skates the skater forward to use an If statement that checks whether the skater is skating over the hole. If she is on top of the hole, she will drop through it. If you have sound on your computer, you may want to add a splash sound.

Solution: 
The user can move the blue hole with mouse (drag and drop motion) across the screen. If the ice dancer comes close to the hole, dancer falls into the hole.


See the attached video created using Alice 2.3 for this program

Contact me @ allassignmenthelp@gmail.com for the comprehensive step-by-step guide on how to create this game in ALICE as well as the final source code. I can modify the program if you would need any changes.



No comments:

Post a Comment