#3d Map Editor
1 messages · Page 1 of 1 (latest)
Again, it's a design question that depends entirely on how you want it to work.
i am not a great game designer, i thought this was the easiest way for the user, but now i am changing my mind
3d Map Editor
I would probably go with a combination. If there is nothing placed on the way, place at the furthest block. Otherwise the first intersecting cell with a block.
i see
Maybe allowing the user to switch to a mode where they can select the plane distance.
so if i want to set a block on 4x4x4 the user should build the blocks below, and then remove them right?
i planned to have an Inspector so that the user can set xyz, but i am now working on the mouse input part and wanted to be that the primary way
In the initial mode, yes.
how minecart (or worldedit) solve this (place block in air) is to allow you place a glass block at feet position
If it's a first person view game, placing a block in front is a valid design option too.
*in front of the player.
does that place this glass block as invisible without the user knows?
glass block is visible, or you can place other block in air
okay but in this case the user should be exactly in fron of the block he want to create i think, is that right?
not distance with other 'glass block' in between
i am currently taking a look at worldedit and i see they are basing everything on the ground, not on flying blocks such my case, so i think what i am asking is really impossible
It is just a way to place a block in air (since usually you cant do this in minecraft)
i mean, if there is an anchor point on the air you can select the near slot, otherwise no solution
It's not impossible, you just need to decide on what exactly you want.
You try to think of implementation of a feature you didn't even decide on how it should work yet.
First comes the design document that describes how something should work from the player perspective. Then the implementation.
the 2 main points are:
- The user can be in distance, he does not need to be in front of the block that he want to create
- The user should have the fastest way to draw the map, so avoid using wheel or numbers to select the layer after clicking a slot
Then you're down to several options: place the block at the farthest possible slot, at the closest slot or anywhere in between.
I started this thinking ScreenPointToWorldPosition rould gave me the Vector3 slot position, so i thought Oh okay i just need to find the slot at theat pos and i'm done, but how you guys told me it is a 2d vector
Currently have implemented the first you mentioned, are there any improvements that can be made based on other games map editors?
Not a map editor, but blender allows you to set a focus point that would serve as sort of an anchor for the depth when placing stuff.