#Modular Building System

1 messages · Page 1 of 1 (latest)

torn latch
#

Hi, I want to create a system that allows the player to create contraptions INGAME.

Those contraptions are composed of modules that snap on each others. Current functionalities are:

  • Snapping/Free Snapping logic to merge modules
  • Highlight hierarchy
  • Copy/Paste
signal wyvern
#

nice
can they break?
its using joints?

torn latch
#

@signal wyvern
For the moment I'm doing the building logic only, so no joints, it's a hierarchy of actors, a contraption is a Tree Graph.
But the end goal is to convert it to physical objects with a constraint for each snap point to build controllable contraptions/rockets.

Before this I need to do:

  • Radial symmetry
  • Reroot
  • Save/Load (Should be fairly simple)

Only then can I tackle the physics

signal wyvern
#

interesting
whats the end goal?
are u making a game to sell, asset to sell, free game/demo or maybe even open source game/asset?

torn latch
#

@signal wyvern
I don't know what level of polish is needed to sell an asset, but I want to create a rocket builder system (hence the radial symmetry), and this kind of game has 3 components:

  • The physics
  • The building
  • The terrain

I tackle this first because everything depend on it.

signal wyvern
#

well ok
for an asset u probably need the building system and for it to work more or less nice with the physics, thats it
for a game probably a lot more than just the terrain
other than that i might suggest not limiting it to just rockets

do u plan to update the topic with progress, cuz it would be nice to see more about this if possible

torn latch
torn latch
#

Root Radial Symmetry:

  • Replicate the currently moved module and all of its children radially 1-x times.
  • If you click on a cloned thing, every other clone disappear
  • If you stop free placing, every siblings disappear

Next milestone:

  • Editing a part of any sibling will be replicated on the others. It's the next thing, and the last, and the most complex.
signal wyvern
#

U see, wasn't that hard

Whats with the modules itself?
Do u have an in game editor for that currently, can u show how it works?

And whats with the lines and spheres going out from boxes, the lines looks like some debug things and the spheres?
Or is it just visual thing for now? Cuz it makes it look like some chemical formula and its kinda cute 🙂