Skip to main content

2017 | OriginalPaper | Buchkapitel

2. Starfish Collector

verfasst von : Lee Stemkoski, Evan Leider

Erschienen in: Game Development with Construct 2

Verlag: Apress

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
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.
 
Metadaten
Titel
Starfish Collector
verfasst von
Lee Stemkoski
Evan Leider
Copyright-Jahr
2017
Verlag
Apress
DOI
https://doi.org/10.1007/978-1-4842-2784-8_2

Premium Partner