Approaching bomberman game

I am trying to create a bomberman game, just to get some practice with Unity. For those who don’t know what it is - have a look at the screenshot

The idea is simple - have fields, some characters stading in the middle of some fields. WHen they move, to move to the center of the nearby field.

My 1st approach was - create some cubes/planes - these are fields, make a model for the player, make it walk from center of one cube to another.

But then, I realised - I need some UI. The problem is, that UI components and 3d models use totally different coords for positioning, so generating the game view using some UI and some 3d objects seems like a bad idea, especially as I am not planning to move the camera.

So, it might make sense, to make the board out of UI components… but then, is it even possible to render 3d model of the player on top of them? Does it even make sense to have 3d model in that case?

I would be grateful for any suggestions :slight_smile:

Don’t… don’t do this. Why do you even want to mix UI with game objects? If you want the character to move from one center of cube to center of another cube, then you should look up some grid systems on Asset Store, or code it. It should be fairly simple to code.
One of the best Bomberman clones I’ve ever played was a Starcraft II mod. You could move freely, so sometimes you would get hit by a blast which was passing through an adjacent line, if you didn’t position yourself correctly. When I’ve played with a bunch of friends while talking to them via Skype, situations like this were a huge source of fun. If this mechanic wouldn’t be there, so the player would be only allowed to move from center of the cube to center of another cube, a lot of fun would be taken away.
Have you considered using NGUI for your UI needs? It has a lot of added value, and it will save you a great deal of grief.
Good luck!

Thanks for the answer!

This might be trivial, but for someone, who just starts playing with NGUI this seems like a challenge.
I have a board made of game objects. Now I want to add some gui on top of the board. When I resize the game screen, the UI moves, while game objects stay at the same place relatively to the board… Seems hard to actually keep the UI at the right place, so that’s why I was thinking, that maybe it might be better to just have a board made of UI components

There is a script in NGUI called something like UIFollowTarget. It can be used for making health bars and perhaps floating combat text. So I’d start looking there if I were you.
What kind of UI do you want to add over which elements?

Like a timer, button to go back to menu, not much stuff

Oh, now I understand. You should play with anchors and UI re sizing, I am not at my computer right now, so I can’t check it for you, but perhaps someone else will be able to provide a more specific answer.
One thing I can tell you for sure is, that making the whole board of UI elements is a very bad idea.