Abstract
In Cleanup Challenge, the player controls a character (who we will call “the cleaner”), whose goal is to collect pieces of trash scattered around a roadway and return them to a trash can on the opposite side, which ends the game. At the same time, cars are racing across the street, which runs horizontally across the screen. If the person gets hit by a car, the game is over and no points are awarded. The player must strategically decide which pieces of trash they will be able to recover. This is made more challenging by slight variations in the speed of the cars that race past. At the beginning of the game, the trash is randomly scattered across the screen, which adds to the replayability value. The cleaner has eight-direction movement, controlled by the arrow keys, and collects trash by coming into contact with it.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Thanks to Andrew Viola for providing the graphics for this and other player characters in the book.
- 2.
Even if you are using only a single image for a sprite, it is treated as an animation with just one frame (and therefore, properties such as Speed and Loop will have no effect on how it is displayed).
- 3.
If you change the size to a different value and the text suddenly disappears in the layout area, this is usually because the font size is too large or there is too much text to be displayed in the given area. This problem can be remedied by either choosing a smaller font size or making the Text object larger.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Lee Stemkoski and Evan Leider
About this chapter
Cite this chapter
Stemkoski, L., Leider, E. (2017). Cleanup Challenge. In: Game Development with Construct 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2784-8_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2784-8_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2783-1
Online ISBN: 978-1-4842-2784-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books