Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

[Fixed] Collision event code don't update?

A topic by _MHG_ created Apr 11, 2019 Views: 921 Replies: 7
Viewing posts 1 to 6
(1 edit)

Hello again,

I'm not sure whats going on here, but I'd like to clarify if we are allowed to update code in a collision event. The output window of GMS says that the code in a collision  event has updated, but the changes do not take effect. The server is running and I can continue to make changes in Step/ End step events etc. Restarting the game just in case (to refresh object variables if needed) also doesn't update the code.

Could you clarify whether or not the code inside collision events work or not? I didn't see anything in limitations about this (hope my limited knowledge didn't cause me to overlook).

Thanks!

 

Developer

Hm, that is possible - collision events are a bit of an outlier in the way they work.

A workaround would be to temporarily put the event's content into a script, but I'll take a look.

Hi!

I bumped into the same problem. Also using the workaround.

Did you have chance to fix this?

Thx!

Developer

I've not released an update yet but hoping to address this in the upcoming build - basically collision events use IDs instead of object names, which breaks with the current detection scheme.

Thank you for looking into the issue and providing a workaround. 

I'm just posting to subscribe to this post.

Developer

This is fixed in 1.0.22

Thanks :D