Git Product home page Git Product logo

clave's Introduction

Clave: Use the boxes, trap the monsters!

Screenshot of Clave

(On https://benkeks.itch.io/clave, you'll find the most recent tagged version. The current version of the main branch is deployed to https://clave.keks.in/.)

The game

Clave is a casual game about trapping monsters with boxes. You win a level by creating an area safe from monsters. The bigger the area, the more points you receive.

You move using the arrow keys (or swiping for touch). Boxes are picked up and placed with space (or tapping for touch). Green monsters may merge into bigger ones, which you don't want to have land on you!

Building

In order to build the source, you will need sbt. It will take care of downloading the relevant dependencies. sbt "fastOptJS" will build the game to target/scala-2.13/classes.

Credits & Background

  • benkeks: Programming, Level design, Graphics
  • Ace Luke: Sound effects
  • Sahara B.: Music
  • Thanks to:
    • Isa Tchlsk: For the monster style

benkeks originally developed Clave overnight for an assignment in the Game Programming course 2012 at TU Berlin. The present version is a Scala.js rewrite using Three.js, which started during a stay in Portland in 2016.

clave's People

Contributors

benkeks avatar aceluke avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

mrkinoba

clave's Issues

Add sound effects

This is a list of game events that should be supported by sound effects.

UI & Scene changes

(Most of these should be rather short and non-intrusive.)

  • Start level (?)
  • Level won (maybe a continuous sound for the time of the yellow particle effect)
  • Level lost
  • Game paused
    • Atmo indicating paused game (including won / lost state; maybe only setting in there after some time)
  • Game unpaused
  • Button hover
  • Button click

Movement

(Some of these will repeat a lot. Variants for those would be neat.)

  • Player moves
    • Player stops (?)
    • Player bumps into wall
    • Player bumps into movable crate
  • Monster moves
    • Monster spots player (-> starts to turn / prep)
    • Frightened monster tries to evade player
  • Jumps... (Each monster will do a series of small jumps before launching; so one game-mechanical jump actually is a series of small jumps and the sounds should work for this.)
    • Small monster jumps
    • Big monster jumps
    • Small monster / player lands
    • Big monster lands

Interactions

  • Player picks up crate
  • Player places crate
    • Player places special red crate
    • Player places freezer field / crate
  • Player / crate / monster step on barrier trigger
  • Barriers activate
  • Barriers deactivate
  • Freezing field activates
  • Monster / player frozen
  • Big monster smashes player
    • Small monster bumps against player
  • Small monsters merge into big one

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.