Platformer Levels
Posted: Tue Feb 07, 2012 8:28 am
Hey. So i decided to try to make a platformer, and after thinking about it for a while i realized that i'll run into a few problems while making this..Here's the first one: Levels.
The problem is, I have no idea how to go about making the levels. I mean i have some ideas, but none of them are good. I did have one idea which i think could work, But i'm not sure how to execute it. I'd need some way of saving/loading tables to/from files.
I included what i have so far below , But there's basically nothing there yet..just a function that adds a platform at a random position (just a test)
EDIT: I came up with a way to do this that works pretty well. But i'm still open to suggestions..there could be a better way than mine. haha.
The problem is, I have no idea how to go about making the levels. I mean i have some ideas, but none of them are good. I did have one idea which i think could work, But i'm not sure how to execute it. I'd need some way of saving/loading tables to/from files.
I included what i have so far below , But there's basically nothing there yet..just a function that adds a platform at a random position (just a test)
EDIT: I came up with a way to do this that works pretty well. But i'm still open to suggestions..there could be a better way than mine. haha.