- Home /
Cycled map (world)
Hello everybody. Imagine plane matrix of dots/points. The only difference between my marix and regular matrix is that my one is cycled. So if you go always right, you'll appear left. I've made path-finding so you just click on a point and it build the shortest way from your position to this point, using this "cycling". So now I have to make points relocating with camera mevement to visualize the cycling. Idea is to create "buffer zone", where copies of cycled-close sectors are located - "fantoms", so player moves to "fantoms" on view, but logicaly he moves to destination sector. The buffer zone is not visible until you scroll camera to the borders and actually see this zone. When buffer zone is seen, original sectors are switched with fantoms or destroyed, if past-original-fantoms are out of buffer-zone. Things look far complicated, maybe there is an easier way of implementing this. Just need some ideas before my brain totally burned down.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Simple jump code 2D - c# 1 Answer
Architecture of "doodle jump" type gameplay 1 Answer
How to start animation with different cycle offsets (2d)? 0 Answers