Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

Long compiling time - GMS2

A topic by Dave.Moon created Sep 13, 2020 Views: 402 Replies: 1
Viewing posts 1 to 2

Hello YellowAfterlife,

I have been devoted GMLive user for the last year and a half - mainly for GMS 1.4. I really like the extension, and now it's hard for me to imagine working on GMS without it. Recently I decided to transition to GMS 2 ( at first 2.2 version, I haven't updated to 2.3 yet). The first thing I did was naturally implementing GMLive to the project. I did everything the instruction said, and run the project. And here is the problem:

Game compiles very long. It's an almost empty project. Only one sprite 32x32 pixels, no sounds ,scripts etc. one room ( default size), and one object with 5 lines of code in Draw Event. However, this project compiles at least 30 - 35 seconds. I set the macro variable from #macro live_enabled 1 to #macro live_enabled 0 ( in obj_gmlive Create event) but it didn't help. It also doesn't make a difference if I have gmlive-server.exe launched or not.

At first, I thought that maybe it is not GmLive fault, but GMS2. I deleted GMLive extension from the project and obj_gmlive, and suddenly compiling time is around 5-7 seconds.

I remember that Gmlive didn't make such a difference in compiling time in gms1.4 . Maybe it compiled a slightly longer but the difference was like 10-20% - I didn't even notice.

What bothers me is that it is almost empty project and making a game build is so slow, even with #macro live_enabled 0 and  gmlive-server.exe closed. Do you experience anything similar? Does GmLive just work this way in GMS2 or maybe there is some solution for this? I hope I can do something to fix it and start enjoying GmLive again. 

Kind regards,

Dave

Developer

You would want to report that to YYG — GMLive now has less code than it did for GMS ≤ 2.2.5/1.x versions.