How do you handle large levels?

Hey everybody!

I am working on a sidescroller game. Now my question is, how do you handle all those physical obstacles? Do you load them all in the beginning or do you load elements on the fly? I know there is something called “sleeping” physical objects but I don’t know if that is the right approach.

I would love to hear your approaches and maybe even see some code snippets! :slight_smile:

Thanks for reading

kristian [import]uid: 113596 topic_id: 33619 reply_id: 333619[/import]

No ideas? [import]uid: 113596 topic_id: 33619 reply_id: 133711[/import]

http://learningcorona.com has a tutorial for something like this I believe.

(And please don’t bump within a couple hours of making the thread, it can make the forum a little messy.)

Peach :slight_smile: [import]uid: 52491 topic_id: 33619 reply_id: 133726[/import]

No ideas? [import]uid: 113596 topic_id: 33619 reply_id: 133711[/import]

http://learningcorona.com has a tutorial for something like this I believe.

(And please don’t bump within a couple hours of making the thread, it can make the forum a little messy.)

Peach :slight_smile: [import]uid: 52491 topic_id: 33619 reply_id: 133726[/import]