- Home /
Background not Crushed
How do I make the background as in Darkorbit? Effect of distance? This is the game(Darkorbit): http://browser-game.it/wp-content/uploads/2012/06/gameplay-dark-orbit.jpg
In short, there is not a background crushed. It seems to be right there. By chance, are the transparency of the background image?
Of course I'm talking about 2D.
Thanks in advance. Excuse me, if I misspelled something.
Answer by iwaldrop · Mar 25, 2013 at 10:52 PM
There are a couple ways you can go about it in a 2d game.
The easiest way is to just create a material with the texture that you want to display and assign it to a plane that is larger than your camera frustum. But, of course, this won't work in a 3d game.
The preferred method would probably be to use a Skybox. You can import the Skyboxes package to play with some to see if this is the route you want to take. Otherwise, again, in a 2d game, you can just move the background plane with the camera as long as it is totally fixed and in orthographic mode or doesn't pan too far.
First of all, thanks for the reply! Can I use Unity 3D for a game like this, in 2d? You would be able to make me a base for this game?
Only the part about the background, the graphic in short.
Your answer
Follow this Question
Related Questions
How do I get my tiles to overlap my Background sprite? 2D 1 Answer
so I'm trying to make a 2D platform but the first animation i make is the only one that registers 0 Answers
2D Animation does not start 1 Answer
Best way for a objects interaction system? 1 Answer
Stretching Background sprite 4 Answers