Skip to main content

Starfish Collector

  • Chapter
  • First Online:
Game Development with Construct 2
  • 816 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 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. 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. 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. 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

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics