GameMaker Studio 2
Icon

Extended Collision Functions

FrostyCat

You must be logged in to obtain assets

Contact Publisher | Support

Description

Overview

This GameMaker Studio 2.x extension adds extended versions of built-in collision functions that allow checking multiple unrelated objects/instances and filtering by custom scripts.

Documentation

See the Wiki section on the official GitHub repository.

Examples

Checking multiple unrelated object types:

if (place_meeting_ext(x, y+1, [objGround, objTurtle])) {
    grounded = true;
}

Using a script to include only instances matching certain criteria:

///@func isEnemy(inst, me)
return argument[0].team != argument[1].team;

====

if (place_meeting_ext(x, y, objUnit, isEnemy)) {
    instance_destroy();
}

Extended Collision Functions is 100% open source!

Bug reports and contributions welcome on the official GitHub repository.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 1.0.1. Published April 21, 2020

Initial release.

Contains extended versions of: - The Big 4 Functions: instance_place(), instance_position(), place_meeting(), position_meeting() - All collision_*() functions - All collision_*_list() functions - instance_place_list() and instance_position_list()

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top