![]() However as I am still quite new to both GML and the DnD system I am not yet aware of how to use GMS to the best of what I know it is capable of as yet. "Do not allow object a to spawn on top of object B or self" "if object A spawns on top of object B or self, delete newly created object" I know that the answer is along the lines of What I'm trying to figure out is how to make the blocks still spawn in with the specifications I've already given them, but not have them overlaying eachother.Īlso, I am working with obj_block1 and obj_block2 (2 objects made for my project) so if I could learn how to avoid both objects spawning on top of not only themselves but eachother that would be awesome as well. ![]() (or as random as "spawn between point A and point B" can be) ![]() What I'm doing is literally spawning in blocks for a player to destroy which are 32圆4 pixels in size and upon a block being destroyed a new one spawns in but the location of where it spawns within the room is "random". ![]() My issue I'm running into is that since I have no speed or movement of any kind on these objects, that they keep spawing on top of each other. Alright, so I figured out how to randomly spawn objects within basically a square area in which I want them to spawn, as well as how to trigger a spawn and control the rate at which they spawn at. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |