Rednax-Code / pygame_ui

Pygame UI is a package for building user interfaces for pygame in a JSON Format.
MIT License
1 stars 0 forks source link

Interface.py not found #6

Closed Rednax-Code closed 1 year ago

Rednax-Code commented 1 year ago

Describe the bug Interface.py exists in the same folder as the main python file, but is not found by pygame_ui.

To Reproduce Steps to reproduce the behavior:

  1. Launch the main python file from a different directory.

Expected behavior The programs should be able launch normally.

Desktop (please complete the following information):

Rednax-Code commented 1 year ago

Will add an optional argument to pygame_ui.init() so that you can manually choose a .json file to load. Should be fixed in version =>0.0.0.3