Giter Site home page Giter Site logo

gelatin's Introduction

Introduction

Ooze Cube is a tactical roguelike where you play as a gelatinous cube. An ability or piece of equipment is stuck to each face of your cube. You can defend yourself only with the top-facing equipment or ability. Movement rotates the cube so a new face is on top.

Turns operate on action points, similar to XCOM. Will you move into a better position (possibly so that a choice ability can be used next turn?), or is it better to use a worse ability from the position you're currently in?

Ooze Cube is in development.

Development notes to self

Connecting to a repl

Per this blog post,

  • Configure shadow-cljs.edn with an nrepl port, per usual.
  • Create an IntelliJ configuration to connect with the shadow-cljs nrepl port.
  • Run shadow-cljs watch <build-kw> (or similar)
  • In IntelliJ, run your configuration.
  • Once connected, type (shadow/repl <build-kw>) in the repl window.
  • Change the REPL dropdown to cljs.

Spriting elements

https://css-tricks.com/spriting-img/

Illustrations

Dithering with imagemagick:

https://stackoverflow.com/questions/34729404/floyd-steinberg-dithering-in-graphicsmagic-or-imagemagic

convert peryton.png -resize 384 -dither FloydSteinberg -remap pattern:gray50 peryton-dither.png

or

convert scooter.png -colorspace gray -ordered-dither o8x8 result.gif

Colouring elements

Here is a filter:hue-rotate() calculator, which will give the correct filter steps for any target colour.

https://codepen.io/sosuke/pen/Pjoqqp

Remember to prepend the filter with "brightness(0) saturate(100%)" if not starting from white.

gelatin's People

Contributors

rgscherf avatar

Watchers

James Cloos avatar  avatar

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.