Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Fixed] Room reloading w/ large tile maps

A topic by ShaunJS created Aug 10, 2022 Views: 310 Replies: 4
Viewing posts 1 to 3
(1 edit)

Hello YAL! I've struggled previously a little with room reloading in PokeyPoke which has quite large hub-worlds and big tilemaps, recently after grabbing the latest version I'm seeing what I guess is perhaps some timeout issues? 

My speculation here is that my rooms have just gotten too large as 36000ms seems a long time to update the file. I don't actually know for sure if getting a newer version has affected this as its been a few weeks since I've worked on room editing in this way. Usually however Room reloading *works* but takes quite a while to update. Perhaps I'm having some port based issue instead?

It might just be that it's not practical to lean on GMLive as a level editing tool for such large areas, but wanted to ask your opinion.

PS. Other tangential issue is that I noticed previously tile map edits do not appear to be detected as a change until something else in the room is changed like an instance position. I usually have to wobble an instance about to trigger the update. Dunno if known about etc just thought I'd mention!

PS.PS. Thanks again so much for an awesome tool. 

Developer

Can you try this GMLive-server? It’s C# instead of regular Neko VM https://www.dropbox.com/s/04b3vu63cx3sbcq/gmlive-server.zip?dl=0

If that doesn’t do it, I can probably write a custom JSON decoder for rooms so that it doesn’t have to actually build a massive dynamic object.

On the plus it reacts much faster to a tilemap change, but throws this at me at the moment. Unsure if this might have something to do with "named" instances existing in my room? I'm aware of the general limitations with that but it didn't usually prevent the room reloading so idk.


Developer

If you can add me on Discord, I can send you a handful more gmlive-server versions to narrow this down

Developer

This has been improved over the last two releases:

  • gmlive-server now compresses the tilemaps, which allows to avoid both sending potential megabytes worth of tiles and to avoid creating a massive ds_list on the game’s side when an update is received.
  • The C#/.NET version of gmlive-server is now included by default and has been fixed up a little.