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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

making tiles clickable ?

Discussion in '2D' started by SpringDev, Aug 20, 2015.

  1. SpringDev

    SpringDev

    Joined:
    Aug 18, 2015
    Posts:
    4
    Ok guys, I've made a map using Isometric tiles, I wish to have my player move to the tile by clicking, I just don't know where to begin, I'm looking for a tutorial or book that deals with making isometric 2D games, can someone point me in the right direction? I am new to unity and making a chess-like game.

    Thanks
     
  2. BinaryX

    BinaryX

    Joined:
    Aug 4, 2014
    Posts:
    55
    First tutorial, first part : http://gamedevelopment.tutsplus.com...ds-a-primer-for-game-developers--gamedev-6511
    First tutorial, second part : http://gamedevelopment.tutsplus.com...a-primer-for-gamedevs-continued--gamedev-9215

    Second tutorial : http://clintbellanger.net/articles/isometric_math/

    This is what I used to make it and it works like a charm, with some changes.
    The only thing is the first tutorial is made for Flash and there the origin ( the 0,0 point ) is located in top left corner so the Y-axis is oriented towards the bottom of the screen, while in Unity the Y-axis is oriented towards the top of the screen (if you are working in 2D).


    After you solve this (it's not hard at all), you need to solve the rendering order (which piece comes on top of which). I can help with more details when you get there,.
     
  3. SpringDev

    SpringDev

    Joined:
    Aug 18, 2015
    Posts:
    4
    thank you very much i'll definitely check these out now!