How to make game like Line
HI, I want to make a game like Line, I have figured out how to make rest of game but I don't know how to make line like in this game?
I make it by using trail renderer but trail renderer only works with moving object, But my object will be static along x-axis and only moving along y-axis
[https://www.youtube.com/watch?v=7wCXPCWLCv4][2] [2]: https://www.youtube.com/watch?v=7wCXPCWLCv4
Answer by kristof1104 · Jun 05, 2016 at 07:52 PM
You can make the dot move through the level and use a trail renderer, the Camera's x-position needs to be kept relative to the x-position of the ball.
This way the ball is actually moving through the level and creating a trail while the camera keeps relative to the ball(allowing the illusion of the ball staying in the same X position on screen.)
Your answer
Follow this Question
Related Questions
How to make a trail like in tron game. 0 Answers
Creating mesh behind player where it goes ( trail renderer) 0 Answers
2D Orthographic Cameras and Line/Trail Renderers Not Working (with detailed example) 1 Answer
y line render getting norrow at the end 1 Answer
Can't get a smooth following line 1 Answer