completely disabled led handler, also the name input box keeps being at the wrong place :x
This commit is contained in:
		@@ -342,7 +342,7 @@ def enter_name():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                textbox_surface = pygame_font_2.render(str(name), True, pygame_font_main_color)
 | 
					                textbox_surface = pygame_font_2.render(str(name), True, pygame_font_main_color)
 | 
				
			||||||
                textbox_rectangle = textbox_surface.get_rect()
 | 
					                textbox_rectangle = textbox_surface.get_rect()
 | 
				
			||||||
                textbox_rectangle.topleft = (930, 400)
 | 
					                textbox_rectangle.topleft = (800, 480)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                screen.blit(textbox_text_surface, textbox_text_rectangle)
 | 
					                screen.blit(textbox_text_surface, textbox_text_rectangle)
 | 
				
			||||||
                screen.blit(textbox_surface, textbox_rectangle)
 | 
					                screen.blit(textbox_surface, textbox_rectangle)
 | 
				
			||||||
@@ -496,7 +496,7 @@ while True:
 | 
				
			|||||||
        clear_screen()
 | 
					        clear_screen()
 | 
				
			||||||
        handle_events()
 | 
					        handle_events()
 | 
				
			||||||
        show_debug()
 | 
					        show_debug()
 | 
				
			||||||
        led_handler()
 | 
					        #led_handler()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        print(int((pygame.time.get_ticks()/1000))%2)
 | 
					        print(int((pygame.time.get_ticks()/1000))%2)
 | 
				
			||||||
        if game_running == False and game_ending == False: 
 | 
					        if game_running == False and game_ending == False: 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user