is there any way of programing the background to generate automaticly?
This might help:
https://www.scirra.com/tutorials/360/ge ... m-tile-map
no i was asking for a continuos generating map like flapy birds jatpack joyride etc. but thanks
Develop games in your browser. Powerful, performant & highly capable.
Have you looked at the Flapping bird or Flying along templates?
no what im saying is there one way to programe the map such way it randomly generante as long you run it?
That's what shirokuma is trying to tell you there are tutorials which have that very feature in them so if you take a look at them you can see how they are done.
Are you looking for something like this? (I have a little error in there somewhere so the blocks don't seem to be lining up perfectly, but I don't want to spend anymore time on it in case it's not what you're looking for.)