hi everyone. Say I have my project directorys set up like so:
/glider
/libs
classes.py
/graphics
/rooms
room images go here
I'm trying to access a image from graphics/rooms, but from classes.py. I'm using pygame, and I know to go back a folder in a dir; you use:
# go back a folder and load an image
pygame.image.load( '..\image.bmp' )
but how would I go from classes.py to graphics/rooms/room.bmp? I thought of using:
pygame.image.load( '..\graphics/rooms/room.bmp' )
you think you could use that, but it doesn't work... anyone know what could be the problem? any comments or help would be great. Thanks!