Skip to content
This repository was archived by the owner on Mar 3, 2024. It is now read-only.
This repository was archived by the owner on Mar 3, 2024. It is now read-only.

This needs to work on the Raspberry Pi #4

Description

@ericoporto

Opening this issue since I have a Pi-Top CEED to test, which uses Raspberry Pi 3 and as is, it's a little hard.

Right now you have to install dependencies manually and then use pip3 install --no-dependencies fgmk.

I am hitting two problems:

  • PyQt5 is available through Raspbian, but not through pip3.
    • My solution to this is to create a debian that depends on python3-pyqt5, python3-pil, python3-pil.imagetk and python3-numpy.
    • Need to check if all these packages are available
    • Need to learn how to create deb packages, I am thinking on using stdeb and start from there - I have some work on this here.
    • The only way I know of doing this is building in the Raspberry Pi itself, don't know if there is another, smarter way.
  • Javascript is slow on Pi / I am a bad javascript coder
    • My temporally solution to this is modifying the game_server.py so that, whenever a file is loaded, if the file has a valid gamefolder (the project directory contains a descriptors folder with an init.json file), it will serve the current project directory, and when saving, it will kill and refresh the server.
    • Pressing f5 would only load the browser in this manner.
    • And the solution would be using something else to load the game, like a phone or a tablet, and use the Raspberry Pi just as a development environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions