0 votes

In editor we have options to "Play": 'F5', "Play Scene": 'F6' or "Play Custom Scene": ' shift+control+F5'.

My question is:
Is there any plugin, which enables ability to play last scene played?
It would be very convenient beacuse very often I work with one scene and must play parent scene where my current scene belongs. Presing "Play Custom Scene": ' shift+control+F5' (or clicking the button) and then typing three or four letter shortcut to the scene is little bit cumbersome.
Thanks for any help.
Wojciech Bem

Godot version 3.2.3
in Engine by (26 points)

1 Answer

0 votes

I don't know if there is a plugin for that, but if you think it's worth it, you can create it yourself. I just read the documentation and it looks very clear and concise:

https://docs.godotengine.org/en/stable/tutorials/plugins/editor/making_plugins.html

You would have to create a panel with a button and you could save in a variable the scene you play.
Looking at the manual is the EditorInterface class that has the get_playing_scene () function among others that can be used.

https://docs.godotengine.org/es/stable/classes/class_editorinterface.html#class-editorinterface-method-get-playing-scene

I clarify that I never create a plugin since I do not need it for now, but it does not look that difficult.

by (2,050 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.