ËNVY (LÖVE Framework)

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: ËNVY (LÖVE Framework)

Post by rude »

Hi, Kudomiku. Long time no see. Nice to see you're still alive! ^^
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Re: ËNVY (LÖVE Framework)

Post by Kuromeku »

Hey there, sorry about my absense, I've been tied up in things :P
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Re: ËNVY (LÖVE Framework)

Post by Kuromeku »

Image

Version: Phase 6.
Download: http://kudomiku.com/dump/lua/envy/envy.love.
Changelog:

Code: Select all

[Phase 6]
	* Added a ton more functions to the entity library and changed the way that drawing works. See the prop_physics as an example.
	* Added the envy.trace library. It's for trace lines, take a look at it to see how it operates.
	* Added a licence. See the licence.txt for more information.
	* Added the onTakeDamage and takeDamage functions for entities.
	* Added more stuff and fixed more stuff that I can't be bothered to log.
As for the onTakeDamage and takeDamage functions, I'm not too sure how I want them to operate at the moment, or whether you should supply a damageInfo object or not. I'm also thinking about whether entities should have health by default which can be set, and when the health reaches 0 a callback is run; or whether to just have the creator do that themselves. What is your view?

Coming soon: a GUI library, whether it's mine or someone elses.
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Re: ËNVY (LÖVE Framework)

Post by Kuromeku »

Image

Version: Phase 7.
Download: http://kudomiku.com/dump/lua/envy/envy.rar.
Changelog:

Code: Select all

[Phase 7]
	* Added a ton more functions to the entity library.
	* Added health to entities. What is done when the entity reaches zero health is set onZeroHealth().
	* Added more stuff that I am too lazy to mention.
	* Fixed a ton of stuff that I am too lazy to mention.
Note: The example game that comes with ËNVY is now Wrath, you will be able to see how any new features work by looking at the Wrath source code.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: ËNVY (LÖVE Framework)

Post by rude »

The link is pwnt.

Yes. Pwnt.
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Re: ËNVY (LÖVE Framework)

Post by Kuromeku »

Image

Version: Phase 8.
Download: http://kudomiku.com/dump/lua/envy/envy.love.
Changelog:

Code: Select all

[Phase 8]
	* Improved the - currently shitty - parenting system.
	* Added the ability to make entities derive from others (see example game).
	* Added the envy.key library. Check it out, it's just a simple library to convert a key to a lower case or upper case translation of it. Don't get the wrong idea, it isn't string.lower and string.upper - haha.
	* Added more stuff to the example game (Wrath) so that you can understand how things work more.
	* Changed the trace system so that masks could be added. It has rendered the trace system unusable until I can figure out how to work/understand the setMask and setMaskBits functions properly. Until then you may want to use an old trace.lua file.
User avatar
Borsty
Citizen
Posts: 66
Joined: Sun Oct 19, 2008 10:29 pm
Location: Hamburg, Germany
Contact:

Re: ËNVY (LÖVE Framework)

Post by Borsty »

You should start writing down exactly what you changed :V

I'm having a hard time updating LöveZone from phase 6 to phase 8 D:
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Re: ËNVY (LÖVE Framework)

Post by Kuromeku »

You're right, look, take this and if you need any help you can talk to me on Steam (spec_soldier):

Sorry for the constant stream of updates - I'm just in the mood to get shit done.

Image

Version: Phase 9.
Download: http://kudomiku.com/dump/lua/envy/envy.love.
Changelog:

Code: Select all

[Phase 9]
   * Added the envy.vector:newFromAngle(angle) function (thanks Borsty).
   * Added more functions to the entity library, so in most cases you can just do things like
   * Added entity hook onShapeCollision(data, contact).
   * Added game hook onCollision(first, second, contact).
   entity:setDamping() rather than entity:getBody():setDamping(). But it's your choice.
   * Changed the way the takeDamage and onZeroHealth thing works. Borsty you should
   switch over to takeDamage and just let us take care of the health. If you want to set
   an entity's health just do entity:setHealth(health) when they spawn!
   * Changed the way that the onEntityCollision callback handles the collisions.
   * Changed onCollision to onEntityCollision.
My aim is to get ËNVY to a state where you don't need to change any of it's core code.

If you have suggestions for functions in any of the libraries, let me know!
User avatar
Borsty
Citizen
Posts: 66
Joined: Sun Oct 19, 2008 10:29 pm
Location: Hamburg, Germany
Contact:

Re: ËNVY (LÖVE Framework)

Post by Borsty »

I did some of the stuff you mentioned, but it's time to get some sleep now :P

I'll rewrite my player object tomorrow/later and cleanup my code :P
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Re: ËNVY (LÖVE Framework)

Post by Kuromeku »

Image

Version: Phase 10.
Download: http://kudomiku.com/dump/lua/envy/envy.love.
Changelog:

Code: Select all

[Phase 10]
   * Added envy.util.getSound and envy.util.newMusic and envy.util.getImage.
   * Added envy.util.isBetween(value, minimum, maximum).
   * Added if you return true on a GAME hook, the normal hooks will not run.
   * Added if you return true on a hook, the rest of the hooks will not run.
Sorry for the big file size increase, it now includes sounds because I'm using Wrath as the example game.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest