love.js: bad name in getProcAddress

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
danbolt
Prole
Posts: 1
Joined: Wed May 16, 2018 6:11 am

love.js: bad name in getProcAddress

Post by danbolt »

Hey team,

I'm attempting to use the latest version of love.js to run my LÖVE game in the browser. I've had some issues getting things running with the latest version, even with a simple-looking script like this:

Code: Select all

function love.draw()
  love.graphics.setColor(1, 0, 0, 1)
  love.graphics.rectangle("fill", 100, 100, 100, 100)
end
When I package this for the browser with love.js, I get the following error messages in Chrome:

Image

Has anyone seen this sort of thing before? It looks like something to do with the Emscripten compiler and SDL, but I haven't made much headway on figuring it out. I've made a GitHub issue here too just in case anyone has a similar issue and wants to discuss it there as well.

I know there are a few recent LÖVE games on itch.io that have used this player, so I'd love to hear anything in regards to distributing the game, especially if there's something I might have missed. Thanks!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 54 guests