Good day, Im trying to make an endless level generator for my shooting platform game and I just dont know how can I do it, or how to do it corectly without thousands useless lines of code.
The idea is, that I want the player to start the game and as the camera will keep going left, the player will have to move left and then there will be generating complex obstacles with enemies, jumping stuff etc, but gosh I dont know how.
My first thought was that I create each obstacle seperately in another room and then I could copy that part of room to the room with player, but that would require some command like room_copy_part or something like that.
I mean, theres always an option to do something like instance_create(blahblah..) thousand times and sooner or later ill have the obstacle I want, but that would take years to make every obstacle to generate in code and even with tiles (thats the second part of problem).
Any ideas?
(sorry for my stupid english)
The idea is, that I want the player to start the game and as the camera will keep going left, the player will have to move left and then there will be generating complex obstacles with enemies, jumping stuff etc, but gosh I dont know how.
My first thought was that I create each obstacle seperately in another room and then I could copy that part of room to the room with player, but that would require some command like room_copy_part or something like that.
I mean, theres always an option to do something like instance_create(blahblah..) thousand times and sooner or later ill have the obstacle I want, but that would take years to make every obstacle to generate in code and even with tiles (thats the second part of problem).
Any ideas?
(sorry for my stupid english)