gmlscripts / scripts

GMLscripts.com scripts for GameMaker
Other
77 stars 14 forks source link

Obsolete function variable_global_exists #8

Closed RaniSputnik closed 2 years ago

RaniSputnik commented 8 years ago

This function is used in a few scripts. These are the current offenders;

Gameplay/Collisions/collision_triangle_init
Graphics/Drawing/draw_rectangle_dashed
Graphics/Drawing/draw_rectangle_dashed_color

These scripts should be modified to no longer store global data - if possible.

gmlscripts commented 8 years ago

Thanks. They'll still need globals but they will be changed to require explicit initialization.

xotmatrix commented 2 years ago

Hooray for static variables!