Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

d000hg

continuous levels

This topic is 5956 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I mean like a 3d level but when you get to the edge it repeats so you can''t fall off! How do you implement this please?

Share this post


Link to post
Share on other sites
Advertisement
Please be more specific.

Do you want to know how to render it, or how to do physics with it? I assume you mean physics, as you talk about falling off.

You''ll need to describe how you''re storing the level structure.

One quick and ugly way to do it is copy a thin section of map edge from one each side onto the other, so you actually have 2 copies of each edge. All your physics and clipping will work fine. All you have to do is check whether the player is outside the bounds of the level at any time, and if so, add or subtract the width of the level so that the player is back inside the level.

Share this post


Link to post
Share on other sites
i think he means in an RPG, like how they give the effect of the world repeating. In my old rpg, i did it with a cheap portal effect and a teleport

Share this post


Link to post
Share on other sites
Yeah basically - I''m making a racing type game, probably on a freely roaming type map. But it seems a bit crap on that type of gameif you have an edge or corner to hit. I wnat to be able to drive forever and never get to the end of the level.

Share this post


Link to post
Share on other sites
Well, if you want to do that.. and you don''t care what kind of map you make you could have a program that will generate the next map on the fly, give it some kind of rules, so you can have roads, added to the landscape, etc, and that should work.

-=[ rajesh singh
sh0ck design ]=-

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!