TannerRogalsky / punchdrunk

An attempt to replicate the LÖVE API in the browser using moonshine.
http://tannerrogalsky.com/punchdrunk/
MIT License
81 stars 10 forks source link

Support Journey to the Center of Hawkthorne #40

Open kyleconroy opened 10 years ago

kyleconroy commented 10 years ago

https://github.com/hawkthorne/hawkthorne-journey

A large LOVE game, that uses other features outside of LOVE. Might be difficult to get running.

TannerRogalsky commented 10 years ago

That would be awesome! Do you have an idea of what sorts of features they use outside of Love and how critical they might be to the game?

kyleconroy commented 10 years ago

I do, as I wrote much the game code :). We have an auto updater that would need to be thrown out, as it makes calls out the system using os.exec. We use luasocket as well, more the much more important feature of tracking player progress. I don't think we use shaders, but we do use particle effects and masks.

Going of the list of things we use that aren't supported:

The love.thread usage could be factored out, but it might be difficult

TannerRogalsky commented 10 years ago

That doesn't actually sound too crazy. luasocket can potentially be emulated via websockets. love.image, love.math and love.thread (using web workers) all need a lot of work but I don't think any of them are impossible.

love.filesystem... will probably have to be hack with localstorage and http request. There was a working W3C spec for a sandboxed FileSystem API but it's dead now so, if a significant portion of love.filesystem ever works, it will likely be pretty ugly.

Suffice it to say that I think that this is possible but definitely a long ways out. I will create an appropriate milestone for it.