Do you
- Make separate geds/dat files?
- Use a map editor?
- Keep Everything packed in 1 file?
How do you save / load the game?

Functions Made by Users:
- Code: Select all
//SuperSonic
void viewfollow(int sensitivity)
{
view.x += (x - (view.x + view.width/2 ))/sensitivity;
view.y += (y - (view.y + view.height/2))/sensitivity;
}
void ParallaxScroll(float intensity)
{
x += (2 * (-intensity + .5)) * (view.x - view.xprevious);
y += (2 * (-intensity + .5)) * (view.y - view.yprevious);
}
///End of super sonic's codes