I plan to create a 2D (2,5D) isometric game similar to old fallouts. I've got most of the code figured out, the only thing I don't know is how to visualize everything for the player. Levels/maps are supposed to be hex tiles, although rectangle/square tiles aren't bad either. As far as I know there are two ways to display content to the player - via game objects and GUI. I tried both ways and neither is sufficient for my needs.
Gameobjects: I made hex models in 3ds max and made my sript instantiate them for each field of my array
I also have a camera control script which allows me to move it around to see all the map. Sadly this is merely 50x50 field map and it already loads very long and I'm going to need something bigger, not to mention everything that's going to appear over the map (houses etc).
GUI: I tried the same thing using GUI.Buttons, sadly I can only have square buttons, can't rotate them.
What I need is an alternative way to display tiles, and way to check if mouse is over them (and I mean exactly over the pixels, not the empty area of the rectangle). Alternatively I need an advice on how to handle this problem
asked Feb 18 '12 at 10:42 PM
A large number of 3D Hex tiles is slow. (At least the ways I have tried it) If your hex tile can be flat you are better off creating a procedural (hexagon) mesh and using texture atlas with all your Hex Tertures in it.
Other options are;
ForceX's FX Hex Grid - http://forum.unity3d.com/threads/107656-FX-Hex-Grid-(Hex-Grid-Generator)
answered Feb 23 '12 at 05:46 PM