Open echoless3484 opened 1 year ago
try:
pip uninstall PyGLM glm
and then pip install PyGLM
try:
pip uninstall PyGLM glm
and thenpip install PyGLM
that work for fixing the settings now im getting
Traceback (most recent call last):
File "c:\Users\a\Desktop\Voxel Engine\main.py", line 48, in
Quiiick tippp: Google stuff :p
but you most likely forgot to call pygame.init()
somewhere
(sorry a bit late)
@Wojtek9388 You need to initialize your Pygame instance before integrating with OpenGL graphics. This tutorial imports pygame as pg
, so do this in your main.py
file:
...
import pygame as pg
...
class VoxelEngine:
def __init__(self):
pg.init()
...
Error
settings.py:
main.py: