Quantcast
Channel: Questions in topic: "level-design"
Viewing all articles
Browse latest Browse all 205

Level Creation and Loading Levels

$
0
0
I want to know how can I load level from a file.I have seen my games that load their level from a file of type json.Is there any way to do so.like a 5 grid base I want to achieve it like 1.create a prefabs 2.create a file containing the information about the level some thing like this example 2X3 grid ["prefab name,size,grid number","prefab name,size,grid number","prefab name,size,grid number"] ["prefab name,size,grid number","prefab name,size,grid number","prefab name,size,grid number"] 3.load the file in unity 4.Parse the file 5.convert the file to a level by getting the name of prefab size and the grid number where the prefab has to be loaded. or other way round create a level in unity convert it into json and load it or share it with others. By doing some search I have found this link but its way to difficult to understand [http://www.michaeljohnstephens.com/devblog/creating-storing-and-loading-levels-with-text-files-in-unity][1] Any suggestion or help will be appreciated... :D [1]: http://www.michaeljohnstephens.com/devblog/creating-storing-and-loading-levels-with-text-files-in-unity

Viewing all articles
Browse latest Browse all 205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>