This is the method i am using right now to scroll the background:
controls:
if rightkey()=1
for sp=1 to 50
if sprite exist(sp)=1
if sprite image(sp)<>4
OFFSET SPRITE sp, sprite offset x(sp)+10, 0
endif
endif
next x
endif
if leftkey()=1
for sp=1 to 50
if sprite exist(sp)=1
if sprite image(sp)<>4
OFFSET SPRITE sp, sprite offset x(sp)-10, 0
endif
endif
next x
endif
return
but it is extremely choppy on my slow comp. So I was thinking doing the textured plain method...but then how could i do collision between objects if the sprites are not seperated?
Can someone please help me? I dont ususally do 2D games.
Thanks,