- Home /
Mobile Background Design
I'm trying to make a mobile football game which has a football field as the background. The player will run to the end of the field to score a Touchdown, but the length of the field will change as the user progresses through levels.
I'm working with a program called Qubicle to create my assets for the field and players. My question is would I need to create the entire field or just create segments and add them as the player runs across the screen?
I guess what I'm trying to understand is how to get the background to spawn as the camera moves, but then end at the endzone of the field. I know how to do it for an "endless" running so it keeps spawning new field objects as the camera moves, but this never ends. I need mine to end.
Here's a pic of an example of the field I'm trying to recreate. Any help would be much appreciated. Finding tutorials or information on this stuff is super difficult to find.
Answer by phil_me_up · Mar 02, 2016 at 11:53 PM
I actually made the game you've linked to, so I know exactly what you're trying to achieve, but for the same reason I can't really give you a whole lot of help (contract, IP and NDA's etc).
You are however on the right lines but exactly how you achieve it is up to you. You could make a series of fields of different lengths and just load in the right one. You can create the whole field at the start which is pieced together as segments or you could create a little bit of the field as you are running along by just adding new sections as you progress. In any case, you should know how long you want to make the field, keep track of it and then you'll know where to put the end point / stop the camera etc.
Basically my advice is for starters, just do whatever you think makes sense! Get it working and then look at refinements.
I will of course say don't just copy our game :-)
Hi there,
Thanks for the information! I'm working on something totally different from your game and copying it was not my intention at all.
The reason why I thought piecing the fields together was not done in your game was because your bleachers/fans seemed like all one piece and you even have a concession character walking around.
That was where my confusion really hit. So I'm assu$$anonymous$$g you created fields in different lengths and loaded the prefabs accordingly. :)
With that said, two more questions...
Any tips on how I could easily animate a football object being kicked and caught by a player?
Are you available for contract work outside of this game?
Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220612070131im_/https://answers.unity.com/themes/thub/images/avi.jpg)