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

link6155

Well-Known Member
Member
Joined
Aug 14, 2013
Messages
312
Trophies
0
Age
33
XP
667
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,042
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
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    You need the $900 copper coated ones, they are good for 10 times cooking before they are un cleanable
  • Psionic Roshambo @ Psionic Roshambo:
    Condoms are only meant to be used once Ken lol
  • K3Nv2 @ K3Nv2:
    Well damn that explains how you were born
    Psionic Roshambo @ Psionic Roshambo: Lol