continuous levels
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?
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.
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.
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
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.
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 ]=-
-=[ rajesh singh
sh0ck design ]=-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement