I created a executable file for my game but the textures aren’t loading it’s just white.
Works okay normally but not in the executable file.
setup.py:
from setuptools import setup
setup(
name='Chess',
options={
'build_apps': {
'gui_apps': {
'Chess': 'Lv4.py',
},
# Set up output logging, important for GUI apps!
'log_filename': '$USER_APPDATA/Chess/output.log',
'log_append': False,
# Specify which files are included with the distribution
'include_patterns': [
'**/*.png',
'**/*.jpg',
'**/*.egg',
],
# Include the OpenGL renderer and OpenAL audio plug-in
'plugins': [
'pandagl',
'p3openal_audio',
'p3assimp',
],
'platforms': ['win_amd64']
}
}
)