- Home /
Question by
lastnoob765 · Jul 28, 2021 at 08:13 PM ·
editordatabasemapmap making
How to download and load custom maps in game?
I'm planning to add a map editor to my game. It's gonna be a simple snap-to-grid type od editor. So when someone creates a map and wants to save it do i make it so it goes thru each gameobject in scene using foreach loop and then save its values (position,rotation,textures) into a JSON file that can later be uploaded to a database like firebase and later be downloaded for use.And lter when someone downloads the map,in backround its placing all gameobjects from JSON file and rescaling and repositioning them.Or do i make it save as a model or something.How do i do it?
Comment