Love.js - A Direct Emscripten Port

Discuss any ports of LÖVE to different platforms.
Post Reply
JaredSartin
Prole
Posts: 9
Joined: Wed Jul 09, 2014 2:22 pm

Re: Love.js - A Direct Emscripten Port

Post by JaredSartin »

Awesome! Thanks for the links. What can we do to help get more mobile/safari compatibility? Is it just the joysticks problem?
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Love.js - A Direct Emscripten Port

Post by Tanner »

JaredSartin wrote:What can we do to help get more mobile/safari compatibility? Is it just the joysticks problem?
The issue with gamepads not being supported on Safari should be manageable using the release-compatibility build. You'll need to change your game to catch the error that will happen when you try to use the joystick module the first time.

Maybe the biggest thing to help with mobile is to point me at a game that works well with touch interaction and isn't too simple.
AndreyMust19
Prole
Posts: 21
Joined: Thu Mar 06, 2014 3:00 pm

Re: Love.js - A Direct Emscripten Port

Post by AndreyMust19 »

Hello.

I made a web-build with this port, but i have stuck in "Downloading..." screen, with spinning circle progress bar.
Before that i have successful runs sometimes almost empty project, but is loading too long.

What a problem?

Link for test-build
User avatar
MadByte
Party member
Posts: 533
Joined: Fri May 03, 2013 6:42 pm
Location: Braunschweig, Germany

Re: Love.js - A Direct Emscripten Port

Post by MadByte »

you can check the debug console in your browser to find out whats wrong.
I often had this problem when my file names doesn't equel the names I require/load in my code (e.g "this.lua" ~= "This.lua" [upper/lowercase sensitive])

For me your game load up properly but it seems to be made for 0.9.1 (love.js is a 0.10.0 port).
AndreyMust19
Prole
Posts: 21
Joined: Thu Mar 06, 2014 3:00 pm

Re: Love.js - A Direct Emscripten Port

Post by AndreyMust19 »

In my case love.js loading 24.8 sec (in web-console). But still not work.
User avatar
Tanner
Party member
Posts: 166
Joined: Tue Apr 10, 2012 1:51 am

Re: Love.js - A Direct Emscripten Port

Post by Tanner »

AndreyMust19 wrote:In my case love.js loading 24.8 sec (in web-console). But still not work.
Unfortunately your game doesn't run with Love v0.10. The console messages should have tipped you off:
This game indicates it was made for version '0.9.1' of LOVE.
It may not be compatible with the running version (0.10.1).
I'd recommend you update your game for the most recent version of Love (it shouldn't hard). I have no plans of ever releasing Love.js to support versions of Love before 0.10.0.
pevzi
Prole
Posts: 27
Joined: Tue Apr 02, 2013 4:09 pm
Contact:

Re: Love.js - A Direct Emscripten Port

Post by pevzi »

There seems to be a problem with ParticleSystem drawn to a canvas. It is rendered correctly when drawn directly to the screen but when I try to render it to a canvas and then draw the canvas to the screen, it looks nothing like intended. Here's an online example and here's the source code for it.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Love.js - A Direct Emscripten Port

Post by Nixola »

It looks fine here; Linux x64, Firefox (latest), Intel GPU (up to date drivers). Care to give system specs?
Image
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
pevzi
Prole
Posts: 27
Joined: Tue Apr 02, 2013 4:09 pm
Contact:

Re: Love.js - A Direct Emscripten Port

Post by pevzi »

That's interesting. Here's what it looks like in both Chrome and Firefox when using Intel GPU:
smoke_wrong.png
smoke_wrong.png (3.45 KiB) Viewed 6653 times
But it works fine when I run the browser with a discrete NVIDIA GPU.
I use Windows 10 x64 with the latest 64-bit Chrome and Firefox.
User avatar
Ulydev
Party member
Posts: 445
Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris
Contact:

Re: Love.js - A Direct Emscripten Port

Post by Ulydev »

Here's what I get on a Macbook Pro with Intel Iris GPU
Image
But it looks pretty cool! :awesome:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest