I am following a tutorial for collision and in it they use the code place_meeting then the object that is the wall for the object, however I want to add more objects that the player will collide with other then just one, is there any way to replace the singular object with a check to see if an object has a variable to do the collision script?
I am looking from this tutorial https://www.youtube.com/watch?v=KnfQo32ME5g, and the code is
{
xspd = 0
}
if place_meeting( x, y + yspd, sprTileTest)
{
yspd = 0
}
and I want to replace sprTileTest with a variable check so I can add the collision script to more objects easily
Support me and these videos on Patreon! https://www.patreon.com/peytonburnham
This is a 6 part series showing you how to make an RPG, good luck! There are TWO VERSIONS of this "Part 1!" This version takes it a bit slower and is aimed at people who've pretty much never used GameMaker, or aren't very confident in navigating it. If you've looked a...