4 ms·
It is pretty easy to build for iOS, Android, and web.
by furyofantares 2y ago
It is pretty easy to build for iOS, Android, and web.
- greeniskool 2y agoShould mention love.js isn't officially supported, and isn't 100% compatible with the LÖVE API. It will work just fine for a lot of games out of the box, though
- cableshaft 2y agoYeah when I got to the point of trying to get my game working in love.js, all I got were webassembly errors. I was able to get a basic Hello World game working with the same setup, so it's something within my code that's not supported, but I don't really know how to pin down what the problem is.
- cableshaft 2y agoGetting it built isn't too bad (at least iOS and Android, Web was giving me WebAssembly errors I couldn't figure out), but accessing native functionality seems harder and do not have any good tutorials (a couple really old discussions online that are probably out of date is all I could find). Like if you want to release a game on iOS you're going to need some sort of Ad framework and access its game center for achievements and leaderboards at the very least, and that's been tricky for me to get working. I know you need to write some hooks and saw some old code that I'm trying to use for reference, but it was still giving me enough issues I gave up on it for a the time being. And I've released games in native iOS before (although it's been a while), so it's not like I've never used them.
- KeplerBoy 2y agoWhy would you need an Ad framework and achievements? Isn't balatro a prime example of a game simply being a paid app? No ads, no bullshit. Just a game and a pricetag.
- cableshaft 2y agoBalatro doesn't have ads but it does have achievements and game center. As much as I'd like my game to spread as far and wide as Balatro, I understand that it won't, not anywhere close. It's just not going to have the polish that Balatro has (I don't have the time or energy, I'm in my 40s with a spouse and a day job). But hopefully it will be fun to play (it is a more fully-featured remake of an old free web game I made many, many years ago that was played millions of times). And games that aren't already super high quality mostly don't sell on iOS anymore, at least not before people download it for free and try them. You pretty much have to make the base game free so people will download it and then provide an unlock later. I'm not trying to be obnoxious about ads. I'm wanting to use the Zach Gage model (Knotwords, Flipflop Solitaire, Good Sudoku, SpellTower). Some minimal ads in between matches (the matches last 5-10 minutes by themselves) and a few extras like themes or detailed stats behind a one-time unlock of a few bucks. I hate the standard model of throwing ads in your face every 30 seconds and wouldn't do that for my game. Also another native feature that Love2D doesn't support is the iOS Haptics library. Love2D only allows for a half second vibrate at full power and it's way too much. Balatro uses the iOS native haptics library as well (it's obvious, they're very light and quick vibrations). These haptics are super common in iOS games nowadays so it will seem weird if it doesn't support them properly.
- KeplerBoy 2y agoSure, making money with games is hard and I guess you have to have ads unless you strike it big. I just wish mobile gaming went a different way, but that's not the world we live in. Best of luck to you and your project.
- cableshaft 2y agoI'm also planning to release it on Steam, and it will be an upfront cost there. Also after paying the 'remove ads' price, which will likely be cheaper than the price I'm planning to sell it for on Steam (thinking $2.99 for mobile right now), the game will effectively become the same as the Steam version anyway. I agree that it sucks. I wish I could just put $2.99 as the price and it would still have a chance of selling decently. One of the iOS games I made a long time ago I did exactly that (actually I priced it at $1.99). But people were also willing to pay $1-2 for Angry Bird-style mobile games by the millions back then. Now there are so many free games on there, they seem to just skip over to the next free game instead, and maybe pay to have ads removed (my own partner does this, bounce from free game to free game, and if she likes the game she pays to remove the ads).
- furyofantares 2y agoThat's true. I have managed to expose some native apis from iOS, web, Windows and Steam but that is far less straightforward and the LLM is sure it knows what to do and it does NOT. Web searches are not great either.
- cableshaft 2y agoIf you've found anything online that has helped you get that working, if you remember and don't mind sharing I'd appreciate it.
- furyofantares 2y agoI wrote a gist for you https://gist.github.com/kellydornhaus/45b8571807ec3ca659ea50e667c9b0f3 https://gist.github.com/kellydornhaus/45b8571807ec3ca659ea50...
- cableshaft 2y agoThis looks excellent. Thank you for taking the time to do this. Have you released anything with Love2d yet? I'd love to support it.
- furyofantares 2y agoNo problem! I made https://love-15.com https://love-15.com which works on the web and as of today is on the iOS app store. I'll probably get it on Steam after that. I prefer playing the native builds personally. It's fully free and about the smallest game design I could think of - I did it partly from a longstanding desire to make this specific game (I played a very similar thing decades ago on Palm Pilot) and partly as an experiment about just how much work can you get an LLM to do.