Quiest
I like turtles!
The following is the code I use for the scrolling af my new test level.
	
	
	
		
* and ** should make the foreground scroll in the same way as the background.
But it doesn`t scroll, it just stay in the middle of the screen...
What is wrong? The 1 should mean scroll# 1 (as the other one is #0) and the 2 is the second graph in the fpg...
				
			
		Code:
	
	Process levelcam(x); //levelcam, so you can only scroll to the right
 Begin
   ctype=c_scroll;
   Loop     
     if(level1a=true)
       cam_x=x;
       if(key(_right) and x<412 and player_x>159 and not key(_left))keepposition=1;x+=playerspeed;end;
       if(player_x<160 or x>411)keepposition=0;end;
      end;
     Frame;
    End;
  End;
Process level1a(z); //process for the background
 Begin
   level1aforeground(1);
   parachute(10,-50,2);
   
   level1a=true;
   file=level1afpg;
   
   start_scroll(0,0,1,0,0,0);
   scroll.camera=idcam;
  End;
Process level1aforeground(z); //process for the foreground
 Begin
   file=level1afpg;
   
   start_scroll(1,0,2,0,0,0); //*
   scroll.camera=idcam; //**
  End;* and ** should make the foreground scroll in the same way as the background.
But it doesn`t scroll, it just stay in the middle of the screen...
What is wrong? The 1 should mean scroll# 1 (as the other one is #0) and the 2 is the second graph in the fpg...
 
	
 
 
		 
 
		 
 
		 
 
		