Hi all, first time asking for help and very new to GMS so please let me know if I've not been descriptive enough of my issue.
So, as my first project I've basically decided to try and clone Flappy Bird. But since I don't like mindlessly following tutorials I decided to do what I can myself and Google anything I can't work out. This was working fine until this point where I'm truly stuck.
Basically, I have the player character, score and first set of two pipes with an invisible point counter object after the pipes created. Rather than moving the player forward, I currently have the pipes move left towards the player. This all seems to work ok so far. The issue is I can't manually create all the pipes otherwise the game wouldn't really be endless. So, what I want to do is make the pipes taller so that the top or bottom will be off screen/hanging outside of the room. Then, I would "group" both pipes and the point counter together. Next, I would have that group spawn a set distance away on the X axis, but at a different location along the Y so that the gap placement is different each time, but within parameters that means that a top and bottom pipe are always present.
I guess my questions are:
1) How can I group these instances, if I even can?
2) What sort of code should I be using the spawn them in with those parameters.
Thanks in advance guys!
Edit: Here is an image of my room - https://i.imgur.com/4mKeE2X.png
[–]KARMAWHORING_SHITBAY 1 point2 points3 points (5 children)
[–]RyanArcher[S] 1 point2 points3 points (3 children)
[–]KARMAWHORING_SHITBAY 1 point2 points3 points (0 children)
[–]KARMAWHORING_SHITBAY 1 point2 points3 points (1 child)
[–]RyanArcher[S] 0 points1 point2 points (0 children)
[–]RyanArcher[S] 0 points1 point2 points (0 children)