Homebrew [Release] - LövePotion - LÖVE API for 3DS Homebrew - BETA

link6155

Well-Known Member
Member
Joined
Aug 14, 2013
Messages
313
Trophies
1
Age
33
XP
696
Country
United States
As expected, almost none of those shaders can be ported. Even if you implemented shader LOVE support, the 3DS doesn't support pixel/frag shaders, only vertex and geometry shaders. The rest of it wouldn't be very hard, but would look terrible without shaders.

The shaders used in Mari0 are just extras, by default I believe there is no shaders turned on. I might be wrong about this but that's what it looks like based on the options inside the game.
 

VideahGams

Well-Known Member
OP
Newcomer
Joined
Aug 29, 2015
Messages
91
Trophies
0
Age
26
Location
Glasgow, Scotland
Website
videah.xyz
XP
156
Country
Hey, there's been a couple of changes since the last post here, so I thought I would bump the thread with them.
The changes include:

Proper Error Handling
When a Lua error occurs, LövePotion no longer crashes! Instead you will get a blue error screen telling you what went wrong.
The error handler can be overwritten, by replacing the love.errhand(msg) callback.

Example Code/No Game Screen
Now included is no game screen, which acts as an example on how to do things.

Various Small Things
  • love.mouse.isDown()
  • love.mouse.getX()
  • love.mouse.getY()
  • love.mouse.getPosition()
  • love.graphics.printf()
  • love.graphics.translate()
and more that I've forgotten.

I am also working currently working on love.audio, but I'm having trouble implementing it, so it will hopefully be in the next release or 2.

Also, my friend ported his Hackathon game to 3DS using LövePotion, which you can check out here.

You can download the latest release of LövePotion here.
 
  • Like
Reactions: SLiV3R and TheCruel

keanutah

Well-Known Member
Member
Joined
Sep 18, 2015
Messages
173
Trophies
0
Age
34
XP
192
Country
United States
Proper Error Handling
When a Lua error occurs, LövePotion no longer crashes! Instead you will get a blue error screen telling you what went wrong.
The error handler can be overwritten, by replacing the love.errhand(msg) callback.


Awww yeah. Sweet release!
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,142
Country
United States
This is AWESOME!
The shaders used in Mari0 are just extras, by default I believe there is no shaders turned on. I might be wrong about this but that's what it looks like based on the options inside the game.

Pretty sure this guy is right, I had a crappy computer and it ran fine until I tried to turn shaders on then I could hardly get it to run at all... so yeah

but would look terrible without shaders.

not sure how pixel art would look bad without shaders :unsure:
 
Last edited by dark_samus3,

joshjosh100

Member
Newcomer
Joined
Oct 11, 2015
Messages
24
Trophies
0
Age
26
XP
77
Country
United States
So I've been trying to build this since yesterday, and it says " ft2build.h: no such file or directory
#include <ft2build.h>
^
compilation terminated.
make[3]: *** [sftd.o] Error 1
make[2]: *** [build] Error 2
make[2]: Leaving directory `/c/Users/joshjosh100/Desktop/rit_lua_player_fighting
_game/lpp-3ds-master/LovePotion-master/LovePotion-master/source/libs/libsftd'
make[1]: *** [build-sftdlib] Error 2
make[1]: Leaving directory `/c/Users/joshjosh100/Desktop/rit_lua_player_fighting
_game/lpp-3ds-master/LovePotion-master/LovePotion-master'
make: *** [build-all] Error 2

some reason I can't compile it, and im guessing I would need "ft2build.h" in my libctru include folder for it to compile...... any help
 

VideahGams

Well-Known Member
OP
Newcomer
Joined
Aug 29, 2015
Messages
91
Trophies
0
Age
26
Location
Glasgow, Scotland
Website
videah.xyz
XP
156
Country
So I've been trying to build this since yesterday, and it says " ft2build.h: no such file or directory
#include <ft2build.h>
^
compilation terminated.
make[3]: *** [sftd.o] Error 1
make[2]: *** [build] Error 2
make[2]: Leaving directory `/c/Users/joshjosh100/Desktop/rit_lua_player_fighting
_game/lpp-3ds-master/LovePotion-master/LovePotion-master/source/libs/libsftd'
make[1]: *** [build-sftdlib] Error 2
make[1]: Leaving directory `/c/Users/joshjosh100/Desktop/rit_lua_player_fighting
_game/lpp-3ds-master/LovePotion-master/LovePotion-master'
make: *** [build-all] Error 2

some reason I can't compile it, and im guessing I would need "ft2build.h" in my libctru include folder for it to compile...... any help

Do you have the portlibs installed?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    They should've just made it a movie at 50 minutes
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No from Paramount Plus or whatever it is
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Psi now has access to every streaming and cable channel out
  • K3Nv2 @ K3Nv2:
    Eh I'd rather just download and delete is it already up on paramount?
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's on now
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why are most new south park episodes half hour specials?
    +1
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, let me get a Netflix account I've always been nice to you
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I made a honey pepper glazed turkey breast for dinner turned out pretty bomb
  • K3Nv2 @ K3Nv2:
    We can Netflix and chill
  • Xdqwerty @ Xdqwerty:
    Nvm not half hour, but hour long
  • Xdqwerty @ Xdqwerty:
    Normal south park episodes are already half hour
  • Psionic Roshambo @ Psionic Roshambo:
    Got 2 free Xumo boxes they work pretty good
  • K3Nv2 @ K3Nv2:
    I'm happy to get anything most series don't make it pass 6 seasons
  • Psionic Roshambo @ Psionic Roshambo:
    Except Stars and Encore those are being a bitch lol
  • K3Nv2 @ K3Nv2:
    I may consider that onn pro box finally a media box with type A ;O
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, cuz the companies don't want em to
  • K3Nv2 @ K3Nv2:
    No it's revenue and demand south park could argue has a bigger audience than family guy about the same
    +1
  • K3Nv2 @ K3Nv2:
    Family guy is worth 300mill south parks worth 1Bill according to the interwebs
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, probably cuz family guy is more disliked compared to south park
  • K3Nv2 @ K3Nv2:
    It just does the same formula south park can press buttons without going overboard
  • Xdqwerty @ Xdqwerty:
    And bc most of the family guy budget is spent on the voice actors rather than on the animation
  • K3Nv2 @ K3Nv2:
    Southpark could spend 30k on a animated dick and people would laugh at it
    +2
  • K3Nv2 @ K3Nv2:
    lol one prescription to Lizzo
  • Xdqwerty @ Xdqwerty:
    who is lizzo?
  • Xdqwerty @ Xdqwerty:
    yawn
    Xdqwerty @ Xdqwerty: yawn