Punchdrunk - Another Love-to-Web tool.

Discuss any ports of LÖVE to different platforms.
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Punchdrunk - Another Love-to-Web tool.

Post by Tanner »

I'm really happy to see that qwook published a simple Love game using this tool: http://gamejolt.com/games/arcade/djarlum/27466/

Proof: https://twitter.com/qw00k/status/472982052514435072
User avatar
SiENcE
Party member
Posts: 805
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: Punchdrunk - Another Love-to-Web tool.

Post by SiENcE »

It would be cool, when Punchdrunk is ready for the big wide world...to integrate it into this forum to start attached loves.
User avatar
qwook
Prole
Posts: 40
Joined: Fri Dec 13, 2013 5:53 am

Re: Punchdrunk - Another Love-to-Web tool.

Post by qwook »

Tanner wrote:I'm really happy to see that qwook published a simple Love game using this tool: http://gamejolt.com/games/arcade/djarlum/27466/

Proof: https://twitter.com/qw00k/status/472982052514435072
Wow, I didn't realize that my game reached as many people as it did! Thanks for sharing it!

Unfortunately, I've been seeing quite a few slowdown issues, which is really more due to canvas support on certain browsers than anything.
I'd propose using something like pixi to render graphics. It renders WebGL when it can, and falls back onto canvas when it can't.

I also don't recommend using coffeescript. I love coffeescript but a lot of other people don't, and it will keep a lot of people off from contributing.
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Punchdrunk - Another Love-to-Web tool.

Post by Tanner »

qwook wrote:Unfortunately, I've been seeing quite a few slowdown issues, which is really more due to canvas support on certain browsers than anything.
I'd propose using something like pixi to render graphics. It renders WebGL when it can, and falls back onto canvas when it can't.
I really like PIXI and have used it for a few small projects but it's very different from Love in the way it handles rendering and transform hierarchies. I've been using it as a reference on how to implement certain things but using it as a graphics backend would be really frustrating with Love's API.

But I have been working on implementing webgl rendering. It's rudimentary for now but the building blocks are there and it's great because I can pretty much use Love's GLES code line for line almost. https://github.com/TannerRogalsky/punchdrunk/tree/webgl
qwook wrote:I also don't recommend using coffeescript. I love coffeescript but a lot of other people don't, and it will keep a lot of people off from contributing.
I appreciate that. I spent two weeks at the start of this project just considering which language to use. Ultimately, the decision to use CoffeeScript came from the context issue when interoperating between Lua and JS. CoffeeScript's function binding provided an elegant solution to the problem. It wasn't something I came to lightly and I'm still very cautious when using Coffee's "magic" but it has saved me a lot of time and templated code so, so far, it's been a boon. I hope anyone who hates CoffeeScript can appreciate that in turn.
User avatar
qwook
Prole
Posts: 40
Joined: Fri Dec 13, 2013 5:53 am

Re: Punchdrunk - Another Love-to-Web tool.

Post by qwook »

Looks like you got things all figured out! I can't wait to see this project mature, I see a lot of potential in it. I'd be happy to contribute when I have more time.
User avatar
SouL
Prole
Posts: 14
Joined: Mon Jun 30, 2014 1:33 pm

Re: Punchdrunk - Another Love-to-Web tool.

Post by SouL »

Hey!

You showed me the project before but I wanted to give my best wishes to the project! :)

I hope we will see nice improvements from time to time because it can be another way to distribute LÖVE games!
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Punchdrunk - Another Love-to-Web tool.

Post by Tanner »

I've released a new version of punchdrunk. It's a small update (relatively) but it does represent the first time any one Love module is completely implemented: love.math. Everything under the love.math namespace should work under punchdrunk exactly as it does under Love.

https://github.com/TannerRogalsky/punch ... tag/v0.0.4

http://lovefiddle.com/ has also been update to use the new version.
User avatar
OttoRobba
Party member
Posts: 104
Joined: Mon Jan 06, 2014 5:02 am
Location: Sao Paulo, Brazil

Re: Punchdrunk - Another Love-to-Web tool.

Post by OttoRobba »

Pretty damn cool, kudos!

As punchdrunk improves, it would be awesome to have it being used in the wiki for examples and whatnot :D
User avatar
Ulydev
Party member
Posts: 445
Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:

Re: Punchdrunk - Another Love-to-Web tool.

Post by Ulydev »

<stupid question/>

EDIT : Found the answer. Keep up the awesome work !

EDIT 2: Punchdrunk is really great ! I finally understood how to get my .love playable on a website. Now here's my problem : http://ulydev.github.io/Love2D-Web/punchdrunk/. As soon as you click on the game, it starts lagging a lot. How to solve that ?

Thank you in advance :awesome:
Attachments
game.love
(161.82 KiB) Downloaded 635 times
User avatar
adekto
Prole
Posts: 35
Joined: Thu Dec 06, 2012 11:42 am

Re: Punchdrunk - Another Love-to-Web tool.

Post by adekto »

im trying to get this thing running but its just not working. idk what im doing wrong none of that npm stuff is working iand testing it on a server it wast working ether
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests