Leave a Reply

6 Comments on "Flappy Bird Style – Scrolling Repeating Background UI [7/10] Live 2016/12/19"

Notify of
avatar

Karolis Sereika
Guest
Karolis Sereika
2 months 25 days ago

More simple would be void RepositionBackground() { transform.position = new Vector2(groundHorizontalLength, transform.position.y); }

Hex Crown
Guest
Hex Crown
3 months 26 days ago

Seems like it would be a lot easier / more efficient to just scroll the background using a shader and updating position offset on the texture rather than moving 2 physical objects? Or do are sprites not loaded as mirrored textures?

Fatin Khawarizmi
Guest
Fatin Khawarizmi
3 months 13 days ago

I think, shader is good for space games stuff 😉

Mingfei
Guest
Mingfei
3 months 30 days ago

could we change a little bit? private void RepositionBackground() { //Vector2 groundOffset = new Vector2 (groundHorizontalLength * 2f, 0); //transform.position = (Vector2)transform.position + groundOffset; transform.position = new Vector2 (groundHorizontalLength, (float)-2.5); }

Mingfei
Guest
Mingfei
3 months 30 days ago

maybe, this way has few calculations.

Dommel
Guest
Dommel
4 months 6 days ago

Please click on the link and sign up : eepurl.com/ct-Tz9

wpDiscuz