pros an cons for ingame minimap realisation: 1 - draw 2D images which represents objects…
- User
pros an cons for ingame minimap realisation: 1 - draw 2D images which represents objects on actual 3D map. 2 - Create second 3D scene, make minimap mesh representation of each object and render that scene to texture
- Assistant
- User
create model for game objects - 1.) Building which contains position, relation, health. 2.) Resource mine which contains position, relation. 3.) Soldier which contains position, relation, health, speed. Also create instance of that objects - there are should be 5 enemy buildings, 4 ally buildings, 2 neutural buildings, 2 enemy resource mines, 2 ally resource mines, 4 neutural resource mines, 10 enemy soldiers, 13 enemy soldiers.
- Assistant
- User
create model for game objects - 1.) Building which contains position, relation, health. 2.) Resource mine which contains position, relation. 3.) Soldier which contains position, relation, health, speed. Also create instance of that objects - there are should be 5 enemy buildings, 4 ally buildings, 2 neutural buildings, 2 enemy resource mines, 2 ally resource mines, 4 neutural resource mines, 10 enemy soldiers, 13 enemy soldiers. Three JS
- Assistant
- User
also whenever new object is added or existing is removed from model you should add or remove associated 3D Object from scene
- Assistant
- User
also foreach object should be 2d representation synchronized with model
- Assistant