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).
system
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…
system
3
Switch camera to Orthographic view.