S
S
synapse_people2016-05-28 16:00:06
JavaScript
synapse_people, 2016-05-28 16:00:06

How to make a game card?

Hello!
I had an idea to make a game like Warcraft 2 (purely for myself). Chose ThreeJS. The question arose: what would be the best way to make a game map?
There is an option to make it immediately in a 3D editor with one mesh, but there is an option to make a lot of meshes (tiles) and then sculpt them in the game .. Tell me, which option is easier and which is more productive?
And best of all, tell me how to implement it correctly so that there are no problems later!
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dark Hole, 2016-05-28
@synapse_people

Oh...
There are quite a lot of open source (and not so) projects.
What prevents you from taking it and seeing how it is implemented there?
My personal view is tiles.
Firstly, it is better for the engine - the calculation of several simple objects is easier than one complex one.
Secondly, it is easy to correct some part without changing the whole map.
Thirdly, it is easy to use fragments repeatedly.
But this is a personal view, I didn’t delve a lot into THREE.js, although I myself am thinking about my 3D movement.

V
Vladimir Grabko, 2016-05-28
@VGrabko

Textures to sculpt in a heap in the code. It's done a little more than everywhere

S
synapse_people, 2016-06-02
@synapse_people

And yet the question of meshes ..
Let's say there is a base tile - Plane. Flat surface. It has 4 vertex, 4 edge, 2 triangular polygons..
That is, if you place 2 tiles that are in contact with each other, then there will be 2 edge between them, instead of 0.
Or what?
And when the map is unloaded from the editor is large, i.e. all the secrets are glued together and everything will be clear - 1 geometry for the entire object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question