[library] LoveLive - Real time value tweaking (v0.2.0)

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

[library] LoveLive - Real time value tweaking (v0.2.0)

Post by Kingdaro »

heheheheheheheh clever name

LoveLive is a library I've made to make the process of editing game variables live a little nicer. Solutions for this exist, but I wanted to go for something that's simple to use and implement, and something that can show immediate output of a change in value to streamline the process a bit. If you have any questions as to how it's used, feel free to ask. Any suggestions or bug reports are appreciated too.

Here's a screenshot of the demo.

Image

You can download it here: https://github.com/Kingdaro/lovelive
Attachments
demo.love
(4.96 KiB) Downloaded 196 times
Last edited by Kingdaro on Thu Feb 18, 2016 11:39 pm, edited 1 time in total.
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: [library] LoveLive - Real time value tweaking

Post by Kingdaro »

I imagine this isn't too relevant to anyone's current usage, but I updated the library to v0.2.0 with two main changes:
  • The mouse being bounded to the window, and therefore making you unable to change values is fixed.
  • The parameters for the UI font are changed to use love font objects instead of paths and sizes.
I have yet to actually test-run it in my other application, but one thing I've found is a little bothersome is having to loop through collections of objects to edit them as a result of a change in LoveLive. It makes me think whether or not there's an easier way to do that. I'll see if I can figure something.
User avatar
SiENcE
Party member
Posts: 792
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

Post by SiENcE »

Interesting, but for me still to complicated to integrate and later remove from code. A transparent solution (or more transparent) would be nice.

But i also have no real idea todo this. I only have a similar solution like yours.
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

Post by Kingdaro »

That's an interesting thing to think about. An interesting thing I'll be thinking about.

So, perhaps, maybe another program entirely, where you'll somehow define the variables from there? Maybe using Lua environment trickery? Sounds like fun.
User avatar
zorg
Party member
Posts: 3441
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

Post by zorg »

There is/was a lib that is basically an external console for a löve game, that ran in the browser. Don't think one can be much more transparent than requiring that and calling its update function, and when the time comes, deleting two lines from the code.
Still, i might find use for this lib soon.
Nevertheless, good luck on thinking up something! :3
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

Post by Kingdaro »

You're most likely referring to lovecat, which is similar to lovebird, but closer to LoveLive in purpose.

As far as I can tell... lovecat isn't all too hot when it comes to transparency. That's pretty much the one thing I wanted to achieve here: make it easy to use and easy to implement. Not sure if removal (aside from aforementioned solutions, which I'm already prototyping to some extent) can be done all that cleanly.
User avatar
farzher
Prole
Posts: 41
Joined: Fri Jul 31, 2015 5:38 pm

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

Post by farzher »

It's really good.

The simple fact that its console stacks duplicate messages allows me to quickly/lazily debug things.

Image
The love console isn't so useful with all that spam.

Also it'll find all the global variables you leak by forgetting to use local.
Real-time variable inspection is great for debugging
And it's easy and convenient to use.
butts
Sind
Prole
Posts: 10
Joined: Mon Mar 31, 2014 4:40 pm

Re: [library] LoveLive - Real time value tweaking (v0.2.0)

Post by Sind »

Neat! I've actually been working on something similar myself.
Hm, I should probably make a thread for that sometime soon...
Post Reply

Who is online

Users browsing this forum: No registered users and 86 guests