Creating an "endless runner" that isnt random?
Posted: Sat Feb 18, 2017 2:28 am
I couldnt think of a short way to describe what i mean. Basically I'm making a game like an endless runner, except it isnt endless. I want to have levels that you can complete, but it still plays like an endless runner. What I'm trying to do is make each level have a planned x,y coor for each platform to spawn, but I dont know how i would go about this. I've thought about having a "level_1" function or class, with a table that lists each x and y coor, but I feel like this is wrong. I haven't tried it yet but that was my main way of thinking it would be done, but I feel like that either wouldnt work, or would just be really slow. So I'm wondering if there is a better solution?
I'm not looking for exact code, just the general principle of how it would work
(although i wouldnt say no to examples c;)
Thanks to anyone willing to help me![Very Happy :D](./images/smilies/ms-glad.png)
I'm not looking for exact code, just the general principle of how it would work
![Smile :)](./images/smilies/ms-smile.png)
Thanks to anyone willing to help me
![Very Happy :D](./images/smilies/ms-glad.png)