Pölygamy: a collection of LÖVE helper libraries

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by Robin »

Those names make me cringe. :roll:
Help us help you: attach a .love.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: Pölygamy: a collection of LÖVE helper libraries

Post by pygy »

Well, they make me smile...They all make sense, though, don't they?

I plan to refer to all of them using Affaïrs as an umbrella term :D.

I hope the names won't prevent you from using them.
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by bartbes »

That sounds awfully useful...

EDIT: That's a positive thing btw, I state this here because Robin failed to understand it.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by Robin »

bartbes wrote:EDIT: That's a positive thing btw, I state this here because Robin failed to understand it.
I thank you with all of my humble intellect.
Help us help you: attach a .love.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: Pölygamy: a collection of LÖVE helper libraries

Post by pygy »

bartbes wrote:That sounds awfully useful...

EDIT: That's a positive thing btw, I state this here because Robin failed to understand it.
Thanks :-)

Another potential feature (that may appear in a distant future): the ability to record and play back the keystrokes, to record a demo, for example, building on SerialDäter and Pölygamy.keyboard.

Edit: Kikito, that solution is fine for an object-oriented approach like yours, but I don't think it would work for Polygamy. The callbacks are bound to letters, not to objects. I may pass the object, it's property and a parameter, but I'm not sure it would fit the rest of the DSL. Say, how would you translate

"arrows" :held (function(k,x,y,dt) character[k](character,dt) end)
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by kikito »

pygy wrote:how would you translate

Code: Select all

"arrows" :held (function(k,x,y,dt) character[k](character,dt) end)
:/

...I would have to understand it first. What is that code? What are x and y? what does character[k] return?

My approach isn't exactly OO-tied. You just need a "message queue" where "observers" can "subscribe" to "events". Since PÄSSION was object oriented, it was very logical to use it, but it is not a requirement. As long as the subscribers have a method to "be told" that an event has happened, it is still doable. I think. In any case, you still need a "subject" for the "phrase" - maybe that's what you meant by object-oriented.
When I write def I mean function.
User avatar
pygy
Citizen
Posts: 98
Joined: Mon Jan 25, 2010 4:06 pm

Re: Pölygamy: a collection of LÖVE helper libraries

Post by pygy »

v 0.4.1 is back up. :)

--
Kikito: You're right, I meant a subject for the phrase.

x and y are the coordinates of the keys, to use with key ranges, for example.
Hermaphroditism is not a crime. -- LSB Superstar

All code published with this account is licensed under the Romantic WTF public license unless otherwise stated.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by nevon »

pygy wrote:v 0.4.1 is back up. :)
Yay! Now I can get back to building the most polished and well-engineered game that the Löve forums have ever seen!

That last part might have been a slight overstatement.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by kikito »

That's already been done.
When I write def I mean function.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Pölygamy: a collection of LÖVE helper libraries

Post by bartbes »

That game was perfect.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot] and 2 guests