Something really funny is going on... 
	 
	
		| Author | 
		Message | 
	 
		 
		kaida
 
 
 
    
		 | 
		
		
			
				  Posted: Sun Jan 16, 2005 9:04 pm    Post subject: Something really funny is going on...  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				Okay, here's what's going on: my program is like a shooting game, where you kinda poke at balls with a 'shooter', which is in fact just a line. Basically, there are supposed to be red balls and blue balls; I haven't done the blue balls yet, but the red balls are there; if you hit a red ball, then you die. The game has 5 levels; so far, I only have level 1, so if I get level 1 working, then all the other levels will work too. So the thing is, once you hit a red ball, it opens a window saying "Game Over" and it's  SUPPOSED to go back to a screen with a button saying "level 1", but it doesn't seem to work. It displays a WidgetModule thingy that says something about the colour exceeding 256, yet I have done no such freaking thing. Okay, it's probably really confuzzling but I hope someone can shine a little light on it. ^^;
 
 
If you look at the code, then maybe you'll see the problem. Try losing. ^^
		
	
  
          
							 
	
	
		
	 
	
		|  Description: | 
		
			
			
				| The program with the problem... | 
			 
			 
		 | 
		  Download | 
	 
	
		|  Filename: | 
		 prototype1[1].t | 
	 
	
		|  Filesize: | 
		 7.38 KB | 
	 
	
		|  Downloaded: | 
		 186 Time(s) | 
	 
	 
	 
		
 | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	 
	 
		  | 
	 
				 
		Neo
 
  
 
    
		 | 
		
		
			
				  Posted: Sun Jan 16, 2005 9:29 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				Your poblem is line 259
 
	  | code: | 	 		  
 
GUI.SetColor (level1btn, 60)
 
  | 	  
 
Comment it out and it should work. I don't know why though because I know nothing about turings GUI. Perhaps turing cant tolerate too much florescent colours.    
		
 | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		kaida
 
 
 
    
		 | 
		
		
			
				  Posted: Mon Jan 17, 2005 5:58 pm    Post subject: Something else doesn't works  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				Thanks Neo, it worked...however, once it did work, the level 1 button didn't work. I was wondering why it didn't go back to the game, so I pressed a random key...and then the game started all over again, in the same screen, and you can actually erase the button and the title and everything. Which I don't fully understand. Look at the file and you'll know. I would SO SO SO SO appreciate it if anyone can try fixing it. I have a feeling it has to do with the loop, but I'm not sure how to manipulate the loop. Please help!!!!  
		
	
  
          
							 
	
	
		
	 
	
		|  Description: | 
		
			
			
				| This is the program which has the problem; I suspect the loop, but I don't know how to treat it | 
			 
			 
		 | 
		  Download | 
	 
	
		|  Filename: | 
		 prototype1[1][1].t | 
	 
	
		|  Filesize: | 
		 7.4 KB | 
	 
	
		|  Downloaded: | 
		 150 Time(s) | 
	 
	 
	 
		
 | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		 | 
	 
 
	
	
	 
	
	 |