Search Unity

[Tutorial Series] GTGD S2 Learn Unity 2D - Dynamic tile placement, navmesh and saving and loading

Discussion in 'Community Learning & Teaching' started by GTGD, Jun 25, 2021.

  1. GTGD

    GTGD

    Joined:
    Feb 7, 2012
    Posts:
    436
    Welcome to GTGD S2 LEARN UNITY 2D, a brand new tutorial series relaunched for Unity 2021! In this series I'll be showing my approach to using the Unity 2D tilemap dynamically so that in game the player can place and remove tiles, and for the navmesh to update dynamically, and of course saving and loading that data to file and managing multiple save files. You will develop a day and night system and write AI that will respond to the time of day! What you learn in this series will be beneficial in many different projects especially for understanding how to save and load data to file and manage multiple save files.

    You can watch this series on YouTube and I've also published it on Steam for everyone who wants to support my efforts!

    Topics covered:
    1. How to code in C#
    2. Setting up a new 2D project, understanding the interface and switching to Universal rendering.
    3. Setting up tilemaps and bringing in tilemap extras. Drawing simple pixel art.
    4. Develop a construction system so you can place tiles and delete tiles in game.
    5. Scene management, having a main menu scene and a game scene.
    6. Save and load all your game world information. You'll use PlayerPrefs for simple data, and Json for writing and reading more complex data to file. You’ll be able to see all save files and select which one to load.
    7. Understand how to use the tilemap tools and create animated tilemap tiles.
    8. Integrate Navmesh Plus and setup the player to use a navmesh.
    9. Integrate Cinemachine so the camera follows the player without having to write any code.
    10. Understand sorting orders and how to effectively set it up without code. This will allow objects to appear in front of others based on their Y axis position.
    11. Create a day night system and change the light colour of the world as time progresses.
    12. Implement shadow casting for tilemaps!
    13. Write AI that responds to the time of day.
    14. Universal render pipeline post processing.
     
    Last edited: Sep 7, 2021
  2. GTGD

    GTGD

    Joined:
    Feb 7, 2012
    Posts:
    436

     
    mgear likes this.
  3. charliebob49

    charliebob49

    Joined:
    Feb 11, 2020
    Posts:
    1
    Just finished the course and I loved it. Very easy to follow and some great insights on the 2D unity engine in the 20201 version! Thank you for the great job!
     
  4. GTGD

    GTGD

    Joined:
    Feb 7, 2012
    Posts:
    436
    Thanks for letting me know and I'm glad you enjoyed it. Thanks for being a supporter through Steam as well!