I was playing around and ended up making a ball physics simulator! It currently applies gravity to objects and also reflects the balls off of surfaces. It works really smoothly, even with 100+ balls.
ok (thanks to PChicken) i got the background to move... but the sprite dosent stay in the middle, he still moves around, and goes faster than the BG screen, so he will go out of the screen, so just how would i make him stay in the middle of the screen?
also, how do you make it so when you touch a certain square (like the floor in the pic) that the sprite wont pass right through it?
Working on a 3D-ish engine. It's REALLY simple using SPOFS and SPSCALE. I made the back wall, but I have NO idea on how I could make the diagonal side walls. (What I mean is, if the sprite were to walk up to the wall, they stop moving. I know things like IF X<23 THEN X=23.) How do I make diagonal collision? Any ideas?