TypeScript guides
Engine basics tutorial
Managing Locations
5 min
explain what they are explain why they are required create a location there are two ways to create a location for our scene the admin panel the publish button inside the studio editor lets explore both of them publish button the easiest way to create a location for the current scene is with the publish button in the studio follow these steps to create a new location open your scene in the studio navigate to https //localhost 3000/studio https //localhost 3000/studio and click on your scene click on the publish button located at the top right section of the screen set the location name to hello click on submit run the location by visiting it with the url you just created https //localhost 3000/location/hello https //localhost 3000/location/hello this method is just a quick link to the create location menu of the admin panel the form opened with the publish button is the same that can be accessed through the admin panel locations https //localhost 3000/admin/locations section explained below admin panel while the publish button provides a really simple and easy way to create a location for your scene, it also lacks functionality beyond just creating a new one on the other hand, the admin panel locations https //localhost 3000/admin/locations section provides utilities to manage your existing locations or edit any of their properties creating a location lets create another location from admin panel once ir engine is running navigate to the admin panel at https //localhost 3000/admin/locations https //localhost 3000/admin/locations click on create location set the location name to hello2 select the desired scene that will be assigned to this location click on submit run the location by visiting it with the url you just created https //localhost 3000/location/hello2 https //localhost 3000/location/hello2 editing a location lets now edit our new location to point to a different scene and have a different name navigate to the admin panel at https //localhost 3000/admin/locations https //localhost 3000/admin/locations find the hello2 location we just created click on view click on edit , so we can change its properties change the location name to new hello change the scene to a different one click on submit run the location by visiting it with the url you just created https //localhost 3000/location/new hello https //localhost 3000/location/new hello