Screens or scenes?

Incyder

Newbie
Jan 3, 2018
20
3
Do you guys prefer making screens or using scenes? Are there benefits to one over the other?

Also, I've read there are memory issues with using scenes with hide/show, is that still a thing?
 

mickydoo

Fudged it again.
Game Developer
Jan 5, 2018
2,446
3,557
Screens and scenes are two different things, scene is to show the scene and screen is something you use for various other reasons that you either use call or show in the script, usually for a map or image buttons and the likes.

To show the scene you don't use the word show, you just use scene name_of_image
There is no hide scene as show scene erases the last scene.

You can use show "image.png" and then you need to hide "image.png" but you really only do that bring a smaller image into your scene as it does not erase anything.
 

Winterfire

Forum Fanatic
Respected User
Game Developer
Sep 27, 2018
5,499
8,035
Screen(s) = UI stuff
Label(s) = Where the actual game should reside
Scene "xxx" = Hides all the previously shown images to show a new one (usually one that will cover the whole game window resolution, making the previously shown images useless).
Show "xxx" = Shows an image on top of another, if any.
 
  • Like
Reactions: Incyder

Incyder

Newbie
Jan 3, 2018
20
3
Ok Winterfire, that's definitely simplifying things. Appreciate it. I was maybe complicating this because I have heard certain coding can lead to memory issues.
 
Last edited:

Incyder

Newbie
Jan 3, 2018
20
3
You have taught me as well Micky. I've played your games, nice job. Thanks for an explanation even though I'm not sure yet how to use it.
 
  • Like
Reactions: mickydoo