I am making a 2D platformer fighter, and I am creating a map selection screen.
The way each map looks right now is very volatile and being changed often, but I would still like to have a preview of each map in the map select scene. Is it possible to, at runtime, get images of what each map scene looks like to be viewed in the map selection scene? If so, how would I go about doing this in a clean way without loading each map beforehand?
Thanks!
Just take a screenshot of each one and use that.
What I am trying to achieve is a system where I don’t have to manually take a screenshot every time the map changes, rather it automatically gets images of the scenes at runtime.
you can write a build script that will do it for you
Scenes don’t “exist” in the game until they are loaded. In order to get a camera to render another scene, you would first need to load that scene.
Loading the scenes for every level in your entire game just so you can display them in your menu is probably a bad idea.