Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

Help with Gui movement?

Asked by 6 years ago

I'm working on a 2d game, not a remake of flappy bird, but one thing in flappy bird. Is what i need help on.

(Here is the game: http://www.roblox.com/Flappy-Bird-place?id=22643989)

How would i make something keep appearing, as the tubes do in that game. As to where it moves to the left, and makes it seem like the whole game is moving.

If you understood how i just weirdly explained that, please help!

1 answer

Log in to vote
0
Answered by 6 years ago

Well, basically you need to use a for loop to create pipes in many different locations, you increase the X increment each time, you could also use the modulus operator to vary the sizes. You put all the pipes in the same frame as the background frame. After you've set that up, you must use the for loop to distinctly move the both frames to the left.

0
Thanks! I'm not making pipes, so i won't be needing to randomly change sizes. Just the movement of a background, or foreground Gui, to make it seem as if moving, thanks! Cataclyzmic 95 — 6y
0
No problem. RaverKiller 668 — 6y
Ad

Answer this question