The famous Dino Game for Frame AR Glasses by Brilliant Labs
- src: contains the Lua source for the game that would be uploaded to Frame for running the game.
- utils: contains utility files for:
- Uploading the Lua source code to Frame (upload.py)
- Generating bitmap string needed for Frame to display bitmap images (bmp_gen.py)
-
The project requires:
numpyandpillowforbmp_gen.pyframeutilsandaioconsoleforupload.py
-
To install all dependencies, run the following in a conda or pyenv environment:
pip install -U numpy pillow frameutils aioconsoleTo play the game, it first needs to be uploaded to your Frame glasses.
- Clone this GitHub repository:
git clone https://github.com/AbeerVaishnav13/FrameDinoGame.git- Change your directory to
FrameDinoGamerepository. - Follow the setup instructions here to reset your Frame.
- Run the file
utils/upload.pyto upload all the files to your Frame glasses.
python ./utils/upload.py- A dialog box should open up asking to pair to your Frame glasses. Click Connect.
- Now you should see string
Uploading game...printed. It might take a minute or so to upload everything as it's a big project. - After the code is fully uploaded, you should see the Dino Game run on your Frame glasses!
- Chill, relax, and enjoy playing! :D
Please refer to the Example Usage at the end of utils/bmp_gen.py file.

