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

2D Terrain Creator

Discussion in 'Assets and Asset Store' started by WalonCab, Mar 14, 2016.

  1. WalonCab

    WalonCab

    Joined:
    Aug 25, 2014
    Posts:
    18



    2D Terrain Creator is a useful and easy to use tool that allows you to randomly generate or edit 2D terrains. You can also place different prefabs along the terrain; this will allow you to insert trees, bushes, coins, etc. 2D Terrain Creator is an incredible unity extension that will be needed in your 2D games.




    The tool is divided in two parts, Editable Terrain 2D and Random Terrain 2D. Regarding Editable Terrain 2D, modifying the terrain shape couldn't be easier; you just have to move the position of the dots found along the terrain. In addition, you can easily add or delete curves when the dot selected is blue. The Random Terrain 2D will allow you to generate terrains randomly with just a few clicks.

    What makes the tool special is the ability to create prefabs along the terrain very easily; this is a unique feature. To do this using Editable Terrain 2D, you simply drag the prefabs to the position where you want them. In the Random Terrain 2D you can generate them randomly, as demonstrated in the pictures below.



    For optimal performance only the terrain chunks visible on your screen will be rendered; this is especially useful for mobile devices. You can also decide how many segments you want in each curve of the terrain.

    The tool is very intuitive and easy to work with; it's perfect for your 2D and 2.5D projects. People have used it for infinite runners and hill climbing games, but this is useful for many other types of games.



    I'm currently using the tool in a few projects and the results are amazing. However, I'm always thinking of ways to improve the tool; check for updates frequently as new features may be added. Any suggestions or feedback that you can offer will be very much appreciated. Feel free to contact me for questions, concerns, feature requests, whatever! I'll do my best to make sure the tool meets your needs.


    Thank you to everyone who has supported me in developing the tool, and all who have tested it and provided valuable feedback.
     
    Last edited: Sep 20, 2020
    kfirmon likes this.
  2. kfirmon

    kfirmon

    Joined:
    Oct 4, 2015
    Posts:
    35
    Fantastic asset bro !
    I really enjoy using it. Just select the terrain configuration, set the length for the terrain. Click. I've got a level !
    Love it !;)
     
  3. Dev234

    Dev234

    Joined:
    Oct 29, 2014
    Posts:
    10
    Is it ok if I used it for mobile? I would love to buy this asset, but I want to make sure that it is mobile friendly!
     
  4. WalonCab

    WalonCab

    Joined:
    Aug 25, 2014
    Posts:
    18
    Yes, it is mobile friendly. The tool allows you to modify certain properties such as the segments length or the terrain sides that are going to be displayed, this way you can build your level with just the necessary elements the camera is going to render.

    These properties is what I've implemented so you can take the maximum control on the performance of the tool but the rest relies on you, such as using compressed textures...

    Apart from that, like it's shown in the demo video, just the terrain chunks inside of the camera field are enabled, what highly increases the performance.

    Thanks, I'm glad you liked the tool.
     
  5. WalonCab

    WalonCab

    Joined:
    Aug 25, 2014
    Posts:
    18
    2D Terrain Creator version 1.3 has been released!

    The tool has changed a lot in some aspects. Now there are some assets that store the data outside the common serialization unity system, this way you can load terrains whenever you need them.


    One of this assets is the Terrain Data, here you can setup the main look of the terrain. Having this data into an asset allows you to have multiple terrains with the same look without having to modify each script properties, now they just need to share the same asset!


    There are a bunch of great new features inside this Terrain Data asset. You still can change some basic properties like the segments length, width, height and flat bottom but now you have the possibility to decide exactly what sides of the terrain are going to be displayed and what material to assign to each one of them. Showing just the terrain sides that you need you are going to achieve the best performance for your game.


    Thanks everyone who helped with feedback and suggestions. Please, feel free to comment about your opinion or suggest new features you may consider important to implement.
     
    Last edited: Apr 4, 2017
  6. WalonCab

    WalonCab

    Joined:
    Aug 25, 2014
    Posts:
    18
     
    Last edited: Apr 4, 2017
  7. kuoris

    kuoris

    Joined:
    Feb 2, 2016
    Posts:
    1
    Last edited: Apr 19, 2017
  8. ArisC

    ArisC

    Joined:
    Oct 27, 2016
    Posts:
    1
    It is possible to make a tutorial for Endless Terrain Generator..

    Something like a small demo that is playable as an example
     
    Last edited: May 6, 2017
  9. jeffweber

    jeffweber

    Joined:
    Dec 17, 2009
    Posts:
    616
    Is it possible to make the endless terrain trend downward? Think Alto's Adventure. The terrain is procedural, but it's downhill the whole way.

    -Jeff
     
  10. aatosmedia

    aatosmedia

    Joined:
    May 14, 2015
    Posts:
    2
    The asset has changed a lot after the video tutorials that are available at the Asset Store. I just bought the asset but I don't know how to use it? I add the GameObject > 2D Terrain Creator and then what...? I read the documentation but I just don't get it ;)
     
    Last edited: Aug 26, 2018
  11. WalonCab

    WalonCab

    Joined:
    Aug 25, 2014
    Posts:
    18
    Hi,

    I just want to announce, that a new version will be released soon. This version has been rebuild from scratch and includes new features for the spline that creates the terrain shape and the mesh that the last one generates. Check the following videos to see some of these new ideas.





    If you're interested in the procedural and endless generation, have a look at Endless Procedural Tool. It was very difficult to maintain both domains in the same asset, the procedural generation will support different biomes and many terrain generation algorithms.

    Thanks everyone who helped with feedback and suggestions. Please, feel free to comment about your opinion or suggest new features you may consider important to implement.