x


Examples of TBS/Heavily Gui-driven Games in Unity?

I'm working on a TBS game in another engine, but want to migrate to Unity because it greatly simplifies the asset pipeline. However, most of my game objects aren't visible, but are stored in data structures and represented as gui elements. I'm currently trying (and failing) to wrap my head around the switch to Unity's visual editing system. For example, one component of my UI scheme involves populating a scrollview with a list of draggable icons corresponding to objects in a hashmap.

I'm looking for examples of similar games in Unity so that I can figure out exactly how I can go about making the switch.

more ▼

asked Apr 15 '10 at 10:04 AM

Ben 5 gravatar image

Ben 5
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

There's a project available here (that goes with this tutorial) which has a tile-based level editor that might be at least sort of what you're looking for.

more ▼

answered Apr 15 '10 at 03:02 PM

Eric5h5 gravatar image

Eric5h5
81.5k 42 133 529

(comments are locked)
10|3000 characters needed characters left

A lot of the GUI scripting makes things like lists, scroll bars, etc. quite easy. I'd just search GUI inside of the script reference of the manual and go wild trying out everything they give examples for.

Most of the confusion probably comes from not thinking of things in traditional terms. You're probably thinking of a GameObject to have to be a duck, or a superhero, or a fire hydrant... but it can just as easily be a plane, situated facing the camera with a texture on it that you can drag around and holds a dozen different values but for all intents and purposes, appears to be nothing more than an icon.

I actually think a GUI-driven game would be a very easy first project as it doesn't require a lot of diddling around with vectors and rotations and physics and all that.

Unfortunately I don't have an example for you to take a look at, though. If you have any specific questions though as you start learning Unity, feel free to post a new question about it and I'm sure you'll get a quick answer. In the meantime, keep your nose in the manual, as it can get you out of 75% of your scrapes (especially the script reference). :)

more ▼

answered Jan 01 '11 at 12:31 AM

Jason B gravatar image

Jason B
1.7k 29 32 44

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3808
x1001
x161
x33
x25

asked: Apr 15 '10 at 10:04 AM

Seen: 2295 times

Last Updated: Dec 31 '10 at 10:54 PM