Minigames In Unity 3-d

I’m not sure if Unity Answers is a place for JUST technical and “how to” questions but really I thought I’d ask here as opposed to anywhere else.

What are some ideas for simple, easy to implement mini games for an action adventure game(think legend of zelda style).

This question is better asked on the Unity Forums. Unity Answers is more for Unity specific questions, not game development questions in general.

2 Answers

2

It depends what kind of minigame you want to create.
If you want to create something like this:

you can do it completely OnGUI. you need four different textures and objects that store the current and the correct rotation: (pseudo-code)

var correct = [0,3,2,1];
var current = [1,2,3,4];

another object that stores the position of the textures:

var textures = [texture1,texture2,texture3,texture4];
var buttons = [[x,y],[x,y],[x,y],[x,y]];

for(var i = 0; i< buttons.length; i++)
{
var btn = buttons*;*

var rotation = current*;*

if(GUI.Button(new Rect(btn[0],btn[1],50,50), textures[rotation])))
{
current = rotation++;
if(current == correct)
{
//you have won
}
}
}
hope this is understandable…

Switch camera to Orthographic view.