Abstract
The player controls a turtle, whose goal is to swim around the ocean and collect all the starfish she can see. The game features a top-down perspective, and the player moves the turtle using the arrow keys.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Even though this game will have only a single layout, giving objects descriptive names is an important habit to develop right away. The importance of naming layouts will be more obvious in future projects, when you will have different layouts for menus, game levels, and so forth.
- 2.
The turtle image is stored as a PNG file rather than a JPEG file because the PNG file format supports transparency while the JPEG file format does not; if the image had been stored as a JPEG file, the turtle image would appear on a solid white rectangle.
- 3.
In general, you should save your project frequently, such as every few minutes or every time you have finished adding a new feature, whichever comes first.
- 4.
For this feature to work properly, the image used for the sprite must have the character facing to the right because the default angle (0 degrees) points in this direction. If you are using a different image and this is not the case, the image can be rotated using the tools along the top of the image editor window.
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). Starfish Collector. In: Game Development with Construct 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2784-8_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2784-8_2
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