nuds7 / FragileTruck---pyglet

FragileTruck version rewritten in pyglet.
0 stars 0 forks source link

Batch and lag issue. #1

Open nuds7 opened 11 years ago

nuds7 commented 11 years ago

Problem began to occur once I started drawing transparent polygon primitives with my bridge code. I think I know of a way to fix it. Add the primitives to the batch in the init, then update the primitives like so: if batch[primitive]: batch[primitive].vertices = [newvertlist]