Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

[Solved] Feature Request: Support for new GM:S2 functions

A topic by cidwel created Aug 24, 2018 Views: 817 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hi!

Now that we have new cool functions for collisions (pe: collision_rectangle_list) could be cool if we can get support to them. 

Could you give support to these new functions? 

Many thanks!

Developer(+1)

There's this issue with GMLive.gml where if I'm to add new functions to it's script wrappers, it will no longer work with any preceding GM runtime (throwing an error about missing functions on compile).

A workaround for now is to make a script that calls the function in question,

/// @desc scr_collision_rectangle_list(x1,y1,x2,y2, obj, prec, notme, list, ordered)
return collision_rectangle_list(argument0, argument1, argument2, argument3, argument4, argument5, argument6, argument7, argument8);

and link it up at the end of obj_gmlive's Create event like so:

gml_func_add("collision_rectangle_list(x1,y1,x2,y2, obj, prec, notme, list, ordered)", scr_collision_rectangle_list);

omg! many thanks! At least for the workaround 

Wow, you're fast