Skip to content

Placeables

Jackson Trenerry edited this page Oct 3, 2023 · 22 revisions

Placeables

General outline

All placeables follow the same basic framework to add cohesiveness and comply better with the ECS model. This includes all stemming from a basic BasePlaceable which adds key components that almost all placeables will share. This allows easy use with save / load as everything is very similar in terms of the way they are built. There are also many similarties with the way CropTiles were made and as such further aides in the save/loading of them. You can also remove a placeable by interacting on it with the shovel

image image

List of Placeables

Each placeable below extends the BasePlaceable and provides unique features that allow for more interesting game mechanics and features that overall aide in enhancing the feel of the game.

image

Fence

A fence is a placeable object which ground entities are unable to pass through. The player can place fences in any arrangement.

fence-sprite

The fence sprites are licensed under a Public Domain Licence which means they are available for commercial and personal use. The sprites are sourced from https://opengameart.org/content/fantastic-fence-16x16 and were reworked to follow the colour palette Art Guidelines.

Gate

A gate placeable has a similar function to fence however, the player is able to 'open' and 'close' the gate by pressing 'e'. When in the open state, ground entities can pass through.

gate-sprite gate-sprite

The gate sprites were made independently but were inspired by the the Minecraft gate design. These were also designed in a way which conforms to the design guidelines Art Guidelines.

Sprinkler

A sprinkler automates the watering of crops. Sprinklers look and behave like a system of pipes, with each individual sprinkler watering 2 tiles in every directed excluding diagonals. For a sprinkler to be capable of watering crops, it must be powered. Pumps provide power to sprinklers, and sprinklers transfer that power to other connected sprinklers. The whole system behaves like an electrical circuit.

gh_off2

The sprinkler sprites were made by Cohen (@cmp6, Team 1)

Pump

A pumps sole purpose is to power sprinklers. Pumps placed next to sprinklers will connect to and power those sprinklers, which will then power any other connected sprinklers. The pump can be placed anywhere on the map (It does not need to be placed in water).

gh_on2

The pump sprite was made by Cohen (@cmp6, Team 1)

Chest

The chest placeable object stores items outside of the player's inventory with a storage size of (TBD), and can be accessed using the interact key 'e'. The chest can be picked up again after being placed, as it is for all placeables but only when there are no items stored within. Players can acquire chests through completing quests.

Light

The Light placeable is used as a way to see in the dark and can be received by completing the quests. The only trigger at night time 8pm and can be extremely helpful in making sure no hostiles are attacking your plants.

The original light sprite was created by Jackson (Team 1):

og-light-sprite

og-light-sprit

The final one was adapted by Liv (Team 2):

light-sprite

light-sprite

The off state was also created by Liv (Team 2):

light-off

Clone this wiki locally