Skip to content

An idle game about mixing chemicals with educational components

Notifications You must be signed in to change notification settings

gregv21v/Chem-Lab

Repository files navigation

Chem-Lab

An idle game about mixing chemicals.
Inspired by Minecraft's Buildcraft Mod

Getting Started

To run the game, first install it, by running the command npm install in your command line. Once you've install the game, type npm run dev to run the game.

Objective: Mix chemicals together. Create a network of connecting pipes and tanks to separate tanks individually.

This game is in early alpha, so expect bugs

Items

  • Valves --> Pipes that you can open and close
  • Tank --> Stores liquid
  • Pump --> Produces liquid
  • Liquid Distributor Pipe --> Distributes liquids evenly among connecting tanks
  • Liquid Sorter Pipe --> Sorts liquids by color

Tools

  • Sell Tool --> Allows you to sell the contents of a tank

Mechanics

  • A shop where you can buy and sell items.
  • An inventory where you store your items.
  • A world where you place your items.
  • The ability to sort various liquids, by chemical properties
  • Different chemicals that react in different ways when they are combined with each other.

TODO:

  • Tanks
    • Make it so that fluids can only enter sided tanks through an open side. (partly done way done)
    • make it so that fluids can pass through pipes again
    • make it so that pipes connected to tanks show like they are connected
  • Create the liquid distributor pipe
  • Create the liquid sorter pipe
  • Create a class for the sell tank (extra)
  • Create the shop interface (priority)
  • Design the shop interface
  • Connect pipes together
  • Overflow mechanic: tanks spill drops over the edges when they have been filled too much. (extra)
  • Display a miniturized graphic of the actual world object on the icons for an each item (extra)
  • Display opening in tank when pipes are attached. (extra)
  • Create a list of chemicals of various densities for each tank
  • Create a home screen
  • Add the ability to move tanks
  • Add the ability to buy and sell tanks
  • Comment all the code.
  • Increase Performance
  • Big Changes
    • Convert to Raster Graphics for faster performance
  • Create a test page
  • Add touch screen capability
  • Switch to using Snap.SVG
    • make the change with easier to switch componets first then do the hard ones last
  • Add fluid "shaders" that make lower density fluids appear more like smoke, and vis versa for denser fluids

About

An idle game about mixing chemicals with educational components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages