Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Start point and Goals for Maze Game

Discussion in 'Scripting' started by KeyinPhua, Jul 3, 2018.

  1. KeyinPhua

    KeyinPhua

    Joined:
    Jun 27, 2018
    Posts:
    2
    Hello Everyone
    i am beginner for using the unity.
    may i ask about how make a start point and and a goal point for a maze game?
    the start point just simple, for the player enter the start point, there will show out a screen: " Ready! 3 2 1!"
    the goal point also simple, after the player complete playing the maze, the player will enter the goal point, and there will has a screen show out: " Congratulation!"
    Thank you for your guys seeing my question.
     
  2. BlackMantis

    BlackMantis

    Joined:
    Feb 7, 2010
    Posts:
    1,475
    Hello, and welcome to the forums. I suggest downloading one of the many free projects ( Unity Store ) that has some of the basic features you need. Then post some of that code so we can help ya adjust it and talk about it. Collecting scripts and looking over the code is a fast way to learn scripting.

    Also give some more details about your game.
    - Is it 2Dor 3D ?
    - Is it all on one scene or do you need a scene change to player spawn thingy ?

    Case your just needing some quick code examples, search in the doc's or forum for Instantiate for spawning, and OnTriggerEnter() for the end point trigger.
     
  3. KeyinPhua

    KeyinPhua

    Joined:
    Jun 27, 2018
    Posts:
    2
    My game is a 3D Maze game. And i need a scene to player spawn thingy