Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help with Gui movement?

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

✓ Accepted answer

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.

2 comments

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!

0

No problem.

This discussion is preserved as it was. New answers, comments, and votes are closed.