Does anyone know of an existing library that provides a mock version of LÖVE's API, for things like unit tests & automation scripts?
I had a very brief look around, didn't really find anything so I figure I should ask here. Writing some simple replacements for the handful of calls I need to replace right now wouldn't be difficult, but I'll probably need more later on and this seems like a simple enough use-case to offload on an existing solution if it exists.
If you know of anything along those lines, please let me know!
Mocking Love?
- Hugues Ross
- Party member
- Posts: 112
- Joined: Fri Oct 22, 2021 9:18 pm
- Location: Quebec
- Contact:
Re: Mocking Love?
Nothing that I know of. You can override love modules to make something similar.
My boat driving game demo: https://dusoft.itch.io/captain-bradley- ... itius-demo
-
- Prole
- Posts: 4
- Joined: Fri Jun 28, 2024 1:09 pm
Re: Mocking Love?
Wdym by automation scripts?
- Hugues Ross
- Party member
- Posts: 112
- Joined: Fri Oct 22, 2021 9:18 pm
- Location: Quebec
- Contact:
Re: Mocking Love?
I'm using that term as a shorthand, but that can cover a lot of tasks like
EDIT: Oh, and to give this thread some closure--I wound up throwing together a solution in the project I needed it for. Probably won't release as a library since I'd have to do extra work to fill in the rest of the API, but my needs are met
- Asset validation
- One-off scripts for mass data conversion
- Analysis scripts, for instance my current game has one that scans the full dependency graph for any given asset
- Packaging, stripping / minifying data for game releases
EDIT: Oh, and to give this thread some closure--I wound up throwing together a solution in the project I needed it for. Probably won't release as a library since I'd have to do extra work to fill in the rest of the API, but my needs are met
Who is online
Users browsing this forum: Google [Bot] and 9 guests