Pls can you teach me how do you just programmed to the objects appear when you move the window? (in java or, more likely, in processing java)
I'm a bit confused by your question so let me know if I answered to it, but the entire level and all objects always exist. Moving the window just changes your viewport/camera on the level. If I wanted, I guess I can deactivate objects that are a couple pixels out of camera view but I didn't really feel like there was any major performance issue where that was a necessary measure.
Actually, I used a proprietary language from GameMaker. Sorry I'm still not understanding your question though. Every object in a level exists and are never deactivated or anything like that. The window just acts as a camera/viewport of the level with a physics object attached. It's similar to a sidescrolling action game.
Ok, I understand. The problem is that you used gamemaker while I use java! Anyway, thanks for the atention!
Also sub to my Channel!
https://youtube.com/channel/UCii3YKt-WH7IhRN9v3ZP15g
Edit: Yes i'm Brazilian