Technical requirements
To follow along with this chapter, open the project files in the 12.cross-fading-with-service-locator/01.start/
folder. If you face any difficulties or come across errors or bugs while working through the Implementing the Service Locator pattern in Godot section, consult the files in the 12.cross-fading-with-service-locator/02.finished/
folder. Any issues can be reported on the repository’s issue tracker via this link: https://github.com/PacktPublishing/Game-Development-Patterns-with-Godot-4/issues.
If you haven’t downloaded the repository files yet, you can find them here: https://github.com/PacktPublishing/Game-Development-Patterns-with-Godot-4.
Let’s start with exploring the essential concepts of the Service Locator pattern, including its purpose, features, and common use cases in Godot, ensuring we make full use of its built-in functions while adding our own custom touch to achieve the chapter’s purpose.