Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 23 18:27
    local-minimum edited #2220
  • Jan 23 18:04
    local-minimum opened #2220
  • Jan 23 16:04
    local-minimum commented #1470
  • Jan 23 15:44
    local-minimum opened #2219
  • Jan 20 22:19
    LoneWolfHT commented #1748
  • Jan 20 17:25
    nyairobi commented #2218
  • Jan 19 17:20
    mikekasprzak commented #2218
  • Jan 19 17:17
    local-minimum opened #2218
  • Jan 09 14:21
    marcmagus opened #2217
  • Jan 06 20:19

    mikekasprzak on master

    added LD52's dates Merge pull request #2216 from m… (compare)

  • Jan 06 20:19
    mikekasprzak closed #2216
  • Jan 06 20:19
    mikekasprzak opened #2216
  • Jan 06 15:03
    Ivorforce commented #589
  • Jan 06 15:01
    Ivorforce commented #589
  • Jan 05 03:26
    LuTxin commented #589
  • Dec 31 2022 06:31
    pennzht commented #589
  • Dec 21 2022 23:25
    daprice commented #589
  • Dec 17 2022 23:27
    jakemcleman commented #1775
  • Dec 11 2022 02:25
    ubershmekel commented #2052
  • Dec 09 2022 12:06
    Anneroos commented #1775
Mike Kasprzak
@mikekasprzak
If nothing else I'll sleep Saturday. ;)
I hope.
Thom Zeilstra
@thomz12
Haha, you should! Take care :)
Mike Kasprzak
@mikekasprzak
thank you! have a good weekend :)
Remco
@bremco

update: I retested the scenario, and unless the cache takes 3 hour to clear there might still be something going on. I deleted 156 almost 3 hours ago now (it shows 155 as the last one on the game page), but it still loads the game I uploaded as 156

-- in any case, the newest game always wins, whether deleted or not, so it's not going to be a big problem in practice

Yeah, I'm going to add a script ...
Thanks!

People from work are saying they can't get the build done, so I'm out as well. Thanks for all the work! :-)

Mike Kasprzak
@mikekasprzak
Ha, thank you for testing.
Yeah there are a few different caches in play.
If it doesn't disappear from the website in 5 minutes, then something glitched out, and it's still there.
Or perhaps the code that picks which game to show isn't checking the flag that says it's been deleted.
Mike Kasprzak
@mikekasprzak
Yeah, 156 is "64" or binary 01000000, meaning it's been deleted
(rather it's an embedded game that no longer exists, i.e. 00000001)
Mike Kasprzak
@mikekasprzak
I'm struggling to stay awake, but I have a fix for that bug.
back in a few hours
Garrett Allen
@adrenallen
Checking in. Glad you got images loading with the origin in request! Also wow I'm glad you took a break this morning lol.
Mike Kasprzak
@mikekasprzak
Yeah, it turns out it's something that must be done by the client. There's a section at the end of the embedding guide now that explains how to fix it.
Garrett Allen
@adrenallen
I'm betting most of the usual engines that export to web already handle it like Godot seems to for me. I think thomz said they were using their own homebrew JS framework.
Mike Kasprzak
@mikekasprzak
Correct. Unity had completely unrelated problems (caching flag in the exporter had to be disabled, some additional headers had to be set for certain file extensions)
Garrett Allen
@adrenallen
Oh nice
I didnt connect those dots until now :sweat_smile:
Mike Kasprzak
@mikekasprzak
They do something cool. They leverage the built-in GZIP and Brotli compression built-in to the browser to decompress arbitrary files, so JavaScript/WebAssembly only sees the uncompressed data. But it does mean the server (or CDN in our case) needed to not be too clever. i.e. it turns out ours was GZIPPing everything sent to the user, even previously compressed files.
And you can only apply one "decompress" step using HTTP headers.
Some Guy
@codingwithsomeguy
Are you using akamai CDN? Not sure about your setup, but IIRC you could add a header at the origin to tell akamai not to be clever about it
sorry, just scrolled back, looks like you've already figured out what to do
Mike Kasprzak
@mikekasprzak
Yes, to my knowledge most of the popular engines exports should be working now. That said, I should check socials for someone with an Unreal game to to try. I'll hopefully have a working Game Maker code for the weekend when my rep gets back to me.
Benjamin Brieber
@bbrieber
Unreal has dropped web support a while ago... So there is not much to test. I switched to Godot 3.5.1 for this LD for that reason (which just could be embedded easily ;) )
Mike Kasprzak
@mikekasprzak
Really, huh
I did not know that.
Then I guess all I care to test is GameMaker now.
Mike Kasprzak
@mikekasprzak
Apparently support was "moved", not dropped.
It's an external plugin now.
That said, finding details is proving tricky. Seems a bit burried.
I put out a call on Twitter to see if someone is familiar enough to export something we can use to test.
bobbydigitales
@bobbydigitales
@mikekasprzak Just a note that the embedded game is still not gone although I deleted it last night: https://ldjam.com/events/ludum-dare/test/$301802
Unreal Engine web export was super huge even when it was supported
Mike Kasprzak
@mikekasprzak
Yes, I haven't pushed my fix to the live server yet. (It was a bug).
1 reply
(decided to sleep, lol)
bobbydigitales
@bobbydigitales
@mikekasprzak I read the rules and it seems like I should be able to submit a game to either the Jam or the Compo (as long as source is shared) using our engine by linking to it from the game page.
So even though we can't embed, we can still take part!
Mike Kasprzak
@mikekasprzak
Yup
Embedding is just a new feature. It' not required
Should make the game playing experience nicer
bobbydigitales
@bobbydigitales
ok rad
I'm hyped!
Mike Kasprzak
@mikekasprzak
heh, I know I shouldn't need to say "i'm off to bed", but with all the discussion above it seemed like I should have.
I was to tired to walk back to my laptop though, so alas that didn't happen.
new day!
mikekasprzak @mikekasprzak salutes
nairobi
@starlightglimmer:matrix.org
[m]
If it doesn't work it's not a big deal
nairobi
@starlightglimmer:matrix.org
[m]
I was referring to the simulate_ld_event script
Just noticed a matrix reply doesn't show up AT ALL on gitter