jackquake
Member
So, I'm writing a game and have been making good use of Parent Objects, especially in collision detection. So far, so good. I have a parent for gravity based objects and a parent for shooting objects. All is fine as they are exclusive from one another. However, now, there are a few gravity based objects that I'd now like to shoot (but not all of them), so I've carved out the subset of those objects, assigned them to a new parent to be able to do both, shoot them and make them susceptible to gravity.
As I was thinking through this, it would be nice to have the ability to assign objects to groups, then perform collision detection on that particular group of objects. It would be possible to assign the same object to multiple groups unlike the parent concept where you get only one.
In other words, you could assign your objects to groups and perform specific actions on those groups, just as you do objects today, except do it to the group (like we do with a parent object today), only the object could belong to multiple object groups. Make sense?
Perhaps programmatically there is a much better way to do this, as I'm fairly new to GameMaker in general.
Otherwise, maybe this would make a good feature for GM2? Thoughts?
As I was thinking through this, it would be nice to have the ability to assign objects to groups, then perform collision detection on that particular group of objects. It would be possible to assign the same object to multiple groups unlike the parent concept where you get only one.
In other words, you could assign your objects to groups and perform specific actions on those groups, just as you do objects today, except do it to the group (like we do with a parent object today), only the object could belong to multiple object groups. Make sense?
Perhaps programmatically there is a much better way to do this, as I'm fairly new to GameMaker in general.
Otherwise, maybe this would make a good feature for GM2? Thoughts?