Hi, me again ,
I’m trying to create a function that will change the panda window to fullscreen based on the width and height values I put
Here is the code:
from pandac.PandaModules import *
def MakeFullscreen(width, height):
loadPrcFileData('','win-size '+str(width)+' '+str(height))
loadPrcFileData('','fullscreen 1')
When I run my game using this function it just pulls up the default sized window, no python exceptions or anything.
I’m confused