Open Moanhh opened 11 months ago
i have error in this line, please help me pg.display.set_caption(f'{self.clock.get_fps() :.1f}') ^ SyntaxError: invalid syntax
Did you import the pygame library as pg?
import pygame as pg
i have error in this line, please help me pg.display.set_caption(f'{self.clock.get_fps() :.1f}') ^ SyntaxError: invalid syntax