Page 4 of 5

Re: LÖVE for the Switch

Posted: Fri May 14, 2021 11:00 pm
by gpg
You would have to download the source, modify love.cpp to use a window library to make a render window for the console then build it for the console. THATS IT.

Re: LÖVE for the Switch

Posted: Thu Aug 12, 2021 9:33 pm
by Davidobot
https://github.com/retronx-team/love-nx

This kinda flew under the radar, but you can build an NRO file to either run .love files or package up your game to distribute. Obviously for homebrew purposes only if you don't have a devkit.

Re: LÖVE for the Switch

Posted: Sun Dec 05, 2021 5:33 pm
by gingerbeardman
Boom! Cheers

Re: LÖVE for the Switch

Posted: Sun Sep 25, 2022 5:50 am
by Iori Branford
I'm pleased to share my port to Switch via the official Nintendo SDK. It is based on the main branch.

You will need to be licensed for Switch development with a Nintendo developer account, signed NDA and Nintendo Switch access approval.

This will let you access the Switch dev forums where I posted the link to the private repo.
I can't link to my thread directly but you can find it:
Developer Support > Nintendo Switch forums > English > Nintendo SDK > General Discussion > LÖVE for Nintendo Switch

There, post a reply with your Github username to request access, or download the snapshot in the attached zip file.
You'll of course need an official devkit to run it.

Re: LÖVE for the Switch

Posted: Sun Sep 25, 2022 8:58 am
by gingerbeardman
Awesome!

Have you launched a game with it Iori?

Re: LÖVE for the Switch

Posted: Sun Sep 25, 2022 4:03 pm
by gcmartijn
Iori Branford wrote: Sun Sep 25, 2022 5:50 am I'm pleased to share my port to Switch via the official Nintendo SDK. It is based on the main branch.
Can you give some details about the love2d 11.4 functions support, what features don't work ?
At the moment I use

Code: Select all

function love.mousepressed(xOrg, yOrg, button, istouch, presses)
That work for the Ipad, but does it work for the switch?
And for example the switch controllers, could I use the

Code: Select all

function love.mousemoved(xOrg, yOrg, dx, dy, istouch)
I guess it will take a year for the game is ready, but I love the idea that the game is runnable at the switch.

Re: LÖVE for the Switch

Posted: Sun Sep 25, 2022 9:54 pm
by Iori Branford
gingerbeardman wrote: Sun Sep 25, 2022 8:58 am Awesome!

Have you launched a game with it Iori?
I have started to port my first shipped title Demonizer.
It runs, but there is a lot I need to improve and polish up to be competitive with similar Switch games.
gcmartijn wrote: Sun Sep 25, 2022 4:03 pm Can you give some details about the love2d 11.4 functions support, what features don't work ?
At the moment I use

Code: Select all

function love.mousepressed(xOrg, yOrg, button, istouch, presses)
That work for the Ipad, but does it work for the switch?
And for example the switch controllers, could I use the

Code: Select all

function love.mousemoved(xOrg, yOrg, dx, dy, istouch)
I guess it will take a year for the game is ready, but I love the idea that the game is runnable at the switch.
I expect touch-as-mouse to work, I haven't used it, but touchpressed/touchmoved/touchreleased do work.

Some features are not available until I figure out how to build the libraries:
  • Networking via lua-enet or luasocket
  • Playing tracker module audio files (EDIT 10/1/2022: MP3 added!)

Re: LÖVE for the Switch

Posted: Wed Jun 14, 2023 5:20 am
by shioridotdev
Hello,

I wanted to know if the LÖVE for Nintendo Switch is still available in the official Nintendo SDK?

Re: LÖVE for the Switch

Posted: Tue Jul 11, 2023 8:47 am
by Iori Branford
shioridotdev wrote: Wed Jun 14, 2023 5:20 am Hello,

I wanted to know if the LÖVE for Nintendo Switch is still available in the official Nintendo SDK?
Sorry, I have been away for a while. Please check email for your invites.

Re: LÖVE for the Switch

Posted: Mon Aug 14, 2023 1:48 pm
by mön
Hey there, I'd also like to get an invite to the love2D switch repo.
I posted in the nintendo forum.
Thanks!