Re: Issue with pygame

2019-08-15 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: Issue with pygame Pygame works much, much better with event-based input, rather than polling. If you really want to use polling, you'd be better off keeping your own list of pressed/released keys and updating them every frame.A single list could handle that, if you use ints

Issue with pygame

2019-08-15 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Issue with pygame I'm trying to create a rapper for pygame's keyboard to make life easier when I do key logic. Here's my code:import pygame, pygame.locals as pl pygame.init() pygame.display.set_mode((600, 600)) pygame.display.set_caption("Testing stuff.") x = 0 y