Open Sceat opened 2 weeks ago
Initial thoughts for the rendering:
For the rest:
In our case, i'd still like to show the real world or at least enough resemblance so that the player think he is just in a world instance without the other players nor wild creatures, but still see some trees around and the distant LOD, it doesn't have to be the same terrain/rendering, but something similar (even esoteric) should show, so that we feel we're in the world or a parallel reality of this world with potentially different colors/blur/appearance
the terrain won't be dynamic, just a immutable simplified/checkboard version of the world
well in our case it's still 3D and use the perspective camera (I didn't manage to have a clean orthographic camera switch because of post processing and other issues, but if you want to give it a try it can be nice), dofus is just an example of how it looks in 2D/3D isometric
about colored square
From some tests, here is
Here is an issue about what is needed to complete the basic fight system on the client side.
Fight board
Currently when a player click on a group of mob a packet is sent to the server, if everything is valid the server create and send back a fight, but it stops here so we need a way to show the fight board
top_left
andbottom_right
positions {x,y,z} to create a fight board, like in dofus by "cutting" or "only rendering" the board as voxels.Here is a map from Dofus unity:
And here is the same map when someone starts a fight on it, its basically turned into a board
Here is a simplified version of a board, as we can see there are 3 type of blocks,
Placement phase
Before the fights starts, players will be able to choose their positions, the Fight packet from the server will contain those as an array of position which will need to be rendered with blue and red colors, (blue for team 1, red for team 2)
Fight started phase
Example of a fight in dofus to better understand: https://youtu.be/r3f7116JHow?si=mQDao8albr7Jg8ay Example of a fight in waven to better understand: https://youtu.be/I8QX7GI5UHw?si=i3h74KmcqQDmMSxA&t=423
Once the fight is started (when everyone is ready or when 60s passed), those red and blue positions disappear and we will see a blue square or red hexagon under each entities like this. Note that both players and creatures can be in both teams, the represention of red team is always a red hexagon and blue team a blue square
mp
property which represent how many blocks he can walk, this should be impacted by non-walkable block on the map, like the screen belowWhen a spell is selected, we will render the cells where it can be launched with a blue zone. Here is a tool to check this line of sight system https://www.dofusroom.com/insightroom