Search found 10 matches

by Yolwoocle
Sat Apr 27, 2024 7:20 am
Forum: Support and Development
Topic: Minimum system requirements for 11.5.0
Replies: 3
Views: 151

Re: Minimum system requirements for 11.5.0

Balatro uses 11.5. love for macOS supports Intel and Apple Silicon in the same binary (so you'd pick 'both' for that option). 11.5 runs on macOS 10.11+, Windows 7+, and Ubuntu 20.04+ or equivalent (or whatever Linux distros you compile for as a target). You don't need to support everything love its...
by Yolwoocle
Fri Apr 26, 2024 8:02 pm
Forum: Support and Development
Topic: Minimum system requirements for 11.5.0
Replies: 3
Views: 151

Minimum system requirements for 11.5.0

Hello. I am preparing the Steam page for my game and I have to complete the minimum system requirements, which I don't know. My game runs on LÖVE 11.5.0. Some of those requirements, like Minimum Disk Space, will depend on my specific game. I'm currently using Balatro's Steam page as a reference, but...
by Yolwoocle
Thu Apr 07, 2022 7:06 am
Forum: Support and Development
Topic: Getting local IP address using UDP?
Replies: 12
Views: 4818

Re: Getting local IP address using UDP?

This game uses a discovery service: https://love2d.org/forums/viewtopic.php?f=14&t=79255 It uses this library: https://github.com/Germanunkol/Affair And this software for the server: https://github.com/Germanunkol/AffairMainServer The library claims to support serverless LAN discovery using bro...
by Yolwoocle
Wed Apr 06, 2022 7:57 pm
Forum: Support and Development
Topic: Getting local IP address using UDP?
Replies: 12
Views: 4818

Re: Getting local IP address using UDP?

Another option would be to ditch the LAN idea and have a known server IP address that everyone connects to. It could be relatively easy to do, most of what this server would do would be to relay info it receives to the host, instead of this info being directly sent to the host. It's kinda like a pro...
by Yolwoocle
Wed Apr 06, 2022 7:56 pm
Forum: Support and Development
Topic: Getting local IP address using UDP?
Replies: 12
Views: 4818

Re: Getting local IP address using UDP?

Perhaps this thread is what you're looking for? You can create a UDP socket, use setpeername to bind it to any address outside your network, then use getsockname to get the local IP. This should work even if the remote address doesn't actually exist, as long as it gets routed outside your network (...
by Yolwoocle
Wed Apr 06, 2022 4:23 pm
Forum: Support and Development
Topic: Getting local IP address using UDP?
Replies: 12
Views: 4818

Getting local IP address using UDP?

I'm trying to set up a LAN type game, where clients connect to some host in the local network using UDP. Right now I manually type the local IP address (something like 192.168.0.11) I get from "ipconfig" on Windows / "ip a" on Linux, but I would like to automate this process, so ...
by Yolwoocle
Mon Feb 28, 2022 1:26 pm
Forum: Support and Development
Topic: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
Replies: 20
Views: 10061

Re: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?

Then youll end up with a situation that the documentation wont match. "press x" "where the heck is x?" Edit: also forgot that in the custom keyboard scene scanncodes are altered too on the hardware site. Isn't there love.keyboard.getKeyFromScancode for this very purpose? Scancod...
by Yolwoocle
Sat Feb 26, 2022 6:34 pm
Forum: Support and Development
Topic: What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?
Replies: 20
Views: 10061

What is a helpful way to think about input? love.keypressed or love.keyboard.isDown?

Hi. I come from a background of making games on PICO-8, and its API has two functions, called "btn" and "btnp", which respectively return whether a button is down or if it's just been pressed (i.e. for the first frame). I have used myself to think about input in terms of checking...
by Yolwoocle
Sun Jan 16, 2022 11:14 am
Forum: Support and Development
Topic: How do I crop images?
Replies: 2
Views: 2424

How do I crop images?

Title says it all. How do I crop images to draw them using

Code: Select all

love.grpahics.draw
afterwards. Thought it was the kx and ky arguments but apparently not.