Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

[Fixed in 1.0.42+] Collision Event - with(other) doesn't run the code if live_call is enabled.

A topic by _MHG_ created Jan 29, 2021 Views: 235 Replies: 1
Viewing posts 1 to 2
(1 edit)

Hi,

In a collision event, if you use the following:

if (live_call()) return live_result;

with(other)

 {show_message("test")}

No message will appear. If you take out the live_call part, the message will appear. I think this might be a bug. I'm using the latest version of GMS 2.3 as well as the most recent version of GMLive.

Thanks.

Developer

Hello! I have fixed this for the upcoming release - it is because self/other are now structs, which I turned out to not handle quite right for with.

Doing with (other.id) instead is a workaround for now.