Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

[SOLVED]Box2d Physics related functions are broken when live coding

A topic by K.Blank created Mar 03, 2020 Views: 310 Replies: 2
Viewing posts 1 to 2
(1 edit)

physics_test_overlap() Doesn't work at all - it cannot detect collisions between two physical objects while live coding, thus will alwasy return false; and when i turn off the gmlive it can return true again. 

And physics particals doesn't spawn nor render via physics_partical_xxx functions.

Are there any solutions to this? thanks.

Developer

You would want to open GMLive_std.gml in a text/code editor, find the function call for what doesn't work inside a __lnc__f script, and add a return statement before (see this other topic). Based on your message, I would think physics_fixture_bind, physics_fixture_bind_ext, physics_test_overlap, physics_particle_count, physics_particle_group_end?

Let me know if there's anything else - I'll fix it for the next build.

Yes! after i added return statement for those functions you suggested, everything's now works like a charm.

Thank you for the quick reply and the huge help! 馃槃