Search found 8 matches

by holywyvern
Mon Jun 04, 2018 12:42 pm
Forum: Libraries and Tools
Topic: a working setColor compatibilty multiplier
Replies: 17
Views: 26593

Re: a working setColor compatibilty multiplier

You can do it simpler: local lib = {} if love._version_major < 11 then lib.setColor = love.graphics.setColor lib.getColor = love.graphics.getColor else lib.setColor = function (r, g, b, a) love.graphics.setColor(r / 255, g / 255, b / 255, (a or 255) / 255) end lib.getColor = function () local r, g, ...
by holywyvern
Mon Jun 04, 2018 12:34 pm
Forum: Libraries and Tools
Topic: Should be React ported to Love2d?
Replies: 2
Views: 4021

Re: Should be React ported to Love2d?

Should? Maybe, it's not reeeally needed. Remember than React is actually platform agnostic, if you can run JS, you can run React. That's why things like react-dom and react-native are different packages. That aside, a component library like Roact (and why not, an entire game library, look at react-p...
by holywyvern
Fri May 04, 2018 1:00 pm
Forum: Libraries and Tools
Topic: Möan.lua - A simple messagebox system.
Replies: 40
Views: 88426

Re: Möan.lua - A simple messagebox system.

Loving this one, it's pretty usefull for any visual novel or rpg game one may want to make.
(wich is what I plan :P) and I like the RM's windowskin compatibility, wich is always a plus.
by holywyvern
Fri May 04, 2018 11:49 am
Forum: Libraries and Tools
Topic: löve-ws - A websocket client and server library
Replies: 4
Views: 6753

Re: löve-ws - A websocket client and server library

First of all, these are websockets and not plain TCP/UDP sockets, this means users connects using http/https first and request an upgrade wich keeps the connection alive to the server. UDP is not reliable and TCP is the protocol used by websockets, but websockets add an extra layer than keeps checki...
by holywyvern
Fri May 04, 2018 4:46 am
Forum: Libraries and Tools
Topic: löve-ws - A websocket client and server library
Replies: 4
Views: 6753

Re: löve-ws - A websocket client and server library

You can test it now, there is a binary release in github to download. You just need to add the DLL in your love.exe path (or project path) and do a "require('ws')" But onlt for windows 32 bits, the 64 bit version is being impossible to compile for now... I guess in linux it may be easier, ...
by holywyvern
Thu May 03, 2018 6:36 pm
Forum: General
Topic: Need advice on building React like framework for love2d
Replies: 5
Views: 4564

Re: Need advice on building React like framework for love2d

I totally agree the component schema of react is really good.

If I can lend a hand on it, I will for sure.
by holywyvern
Thu May 03, 2018 6:04 pm
Forum: Libraries and Tools
Topic: löve-ws - A websocket client and server library
Replies: 4
Views: 6753

löve-ws - A websocket client and server library

Hello to all, I have to admit than after a lot of testings I must say I love löve more as it grows bigger. The only "problem" I had with it is the lack of https/websocket support. But say no more! I managed to make a library in c++ to allow the use of websockets on löve. This is my first r...
by holywyvern
Tue Apr 11, 2017 10:02 pm
Forum: Libraries and Tools
Topic: autobatch: Automates the use of SpriteBatches when drawing
Replies: 15
Views: 15619

Re: autobatch: Automates the use of SpriteBatches when drawing

Oh thanks for this, I really was looking for an automatic solution to reduce a container I had (it draws ~400 times, but it may use different sprites at different times and they may change every frame) This changed to 15, so it's really an improvement.