cccyf / 15-466-f20-base1

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C 70.9%Language:C++ 28.0%Language:Python 1.1%