SHAPES & STRUCTURES
THE SCALE OF THE 3D SHAPES
(for the basic demo version)
Square = 5x5x1/2 OR 10x10x1
Rectangle = 5x7x1/2 OR 10x14x1
Triangle = 5x5x1/2 OR 10x10x1
(the long side is 7 OR 14)
(for the basic demo version)
Square = 5x5x1/2 OR 10x10x1
Rectangle = 5x7x1/2 OR 10x14x1
Triangle = 5x5x1/2 OR 10x10x1
(the long side is 7 OR 14)
A game feature for the player to place 3D shapes into a landscape and link them together into structures, to design and construct buildings (walls, floors, etc).
The shapes are:
Square, Rectangle, Triangle
At this time the focus is to develop the very basic, to get a working demo ASAP.
[Later, other shapes will be added to this list, for example; pillars and rails.
Also more complicated versions of the shapes, for example; squares and rectangles with interactive doors and windows in them.
Also materials; wood, stone, etc, with different properties and harvested from different sources.]
The shapes can be rotated by the Player. Rotate 90 degrees:
left,
right,
forward (roll top to front),
backward (roll bottom to front).
There are multiple tools required:
Rotate
Mirror—Flip
Place into landscape
Delete
Link / Unlink
Copy
All these tools apply to individual shapes and to linked shapes. The linked shapes are called Structures.
It must be so that placing a shape next to another shape magnetically attaches it alongside the shape; so the edges line up.
The Copy function makes it possible to copy a structure and save it to memory so it can be quickly placed later, instead of rebuilding it one shape at a time; also to trade the blueprint for that structure to another player or NPC. This ability is an important part of the gameplay.
————-
Existing games with examples of placing Shapes to build Structures in a similar way:
Conan: Exiles
Fortnite
Ark: survival evolved
———-
The building of structures occurs both in-game where resources must be harvested and in an editor with unlimited resources. Saved files can be uploaded between the game and the editor.
———————--
It is not the complete game, only a part of it. The code will need adapting and adding to later; at the moment I only need the basic function.
The size of the shapes must be compatible with the size of the landscape and with the characters.