Skip to content

cccyf/15-466-f20-base1

 
 

Repository files navigation

Hide And Seek

Author: YC

Design:

  • Your friend hide himself in the grass. You can cut the grass to find him. The grass grows very fast so you'll need to remember the positions.

Screen Shot:

Screen Shot

How Your Asset Pipeline Works:

  • Read png with python.
  • Find the 3 colors that are used most frequently in the png file.
  • Re-draw and encode the png with the 3 colors.
  • Output the tiles and palettes to the asset files.
  • Load assets at runtime.

How To Play:

  • Arrow keys to control the walking directions
  • Space key to cut the grass
  • Win when your friend is found

Cheat the game:

  • The position of the target gets printed in the terminal with an index to the grids
  • The grids indexed from left-bottom to right-top are composed of 10 rows and 8 cols

Sources:

This game was built with NEST.

About

Base code for "game 1: sprite-based game" for 15-466-f20

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.9%
  • C++ 28.0%
  • Python 1.1%