x


2D car track method

Hi,

I've recently decided to start putting together a 2D racing game (similar to the ones that you climb the hills in) for iPhone. I'm however really new to working with 2d in unity but I've been using Unity for a long time.

I'm finding it very difficult to find a good way of actually making the track. I have thought of several ways including:

-making a 3d model consisting of about 9 or 10 squares/planes next to each other horizontally and applying a texture on each.

alt text

-After, I could make a 3d surface of the hills that the car will physically ride on. But I'm not sure whether this would be a good way of making this game as I'm planning to have many levels and 9-10 textures per each seems a lot.

Could you please help me or suggest another way of accomplishing this concept. Any help is greatly appreciated so thanks in advance.

more ▼

asked Feb 24 '11 at 10:00 AM

Lukas77i gravatar image

Lukas77i
5 5 5 10

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Why not for each level make one single mesh? Then you can apply one texture to the entire mesh, or different textures to the faces depending on the look you want.

You then have your car with wheel colliders which acts like a real car frozen on the Z axis and you put your camera to the side, that tracks your cars position.

That is how I would do it.

Good luck :-)

more ▼

answered Feb 24 '11 at 10:59 AM

Meltdown gravatar image

Meltdown
5.6k 18 25 49

Thanks for a quick reply Meltdown but as you said one texture, how would that be possible? I mean quality-wise.

I use 3ds max to make the mesh so would it maybe be possible to make one mesh but apply a separate material to each of the faces, together creating a multimaterial?

Feb 24 '11 at 11:35 AM Lukas77i
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2191
x1999
x1033
x491
x416

asked: Feb 24 '11 at 10:00 AM

Seen: 1704 times

Last Updated: Feb 24 '11 at 10:00 AM