Skip to content

Placeables

Peter Lahanas edited this page Oct 1, 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 (HYPERLINK TO SAVE/LOAD) as everything is very similar in terms of the way they are built. There are also many similarties with the way CropTiles (HYPERLINK TO 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 (HYPERLINK)

ADD A UML DIAGRAM LIKE THE TOOL ONE OF WHAT BASEPLACEABLE HAS IN IT

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.

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

Pump

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 (ENTER QUEST LINK HERE). The only trigger at night time (after WHAT TIME IS NIGHT TIME) and can be extremely helpful in making sure no (HOSTILE MOB HYPERLINK) are attacking your (PLANT HYPERLINK).

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