Chanks with collisions system.
-Generate chanks -Display only visible chanks -Collision sistem by point
Main structure in object: obj_chanks mouse_left - add white chank mouse_right - add black chank mouse_middle - add red chank (you may create any types chanks)
functions: chank_draw - draw visible chank with childrens chank_collision - return smaller chank with type collision in position (if -1 - return any chank in position) chank_change - change type chank in position chank_find - return smaller chank in position chank_add - generate childrens chank in position chank_remove - remove childrens, if they is similar chank_destroy - destroy all structure of chank with his childrens
Now, have some bugs with camera. Soon- i fix it! Soon: new collision system, save-load system, optimisation, for GMS1 version
End User Licence Agreement (EULA).