Porting A Game To Switch

Hey for the past month i have been working on a RPG game. And i was interested in putting it on the switch, assuming that i would become a defold donor would it be easy to just change the keys variable or are there complete different settings.

Thanks
Rapid
Noob dev

Building your game for a new platform is usually a very straight forward process:

  • Adapt your game to the input methods of the platform - Make sure your game supports gamepads!
  • Check game performance and optimise if needed
  • Check that you game works on the target platform screen resolution - Landscape mode with specific aspect ratio
  • Integrate any platform specific code - For Switch there’s a separate extension with some helper functionality for user selection etc
  • Localise/translate your game if needed - Highly recommended for Switch!
8 Likes
  • Defold for Nintendo Switch uses our Vulkan backend, so make sure you test your game using the Vulkan backend.
  • Make sure your game supports a pause menu
    • If the controller suddenly disconnects, you need to pause the game!
  • For the localization, make sure you can easily swap the different languages in game (via the pause menu)

I think we should perhaps formalize this into a manual page (+blog post). It feels like we’ve written these notes before somewhere :thinking:
What do you this @britzl?

4 Likes

Yes, we should. I’ll put it on my list!

3 Likes

I have a PR here:

Please provide feedback and suggest more tips on porting (in general or for specific platforms)

4 Likes

And the new guide can be found in the documentation:

5 Likes