Skip to content

AbeerVaishnav13/FrameDinoGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FrameDinoGame

The famous Dino Game for Frame AR Glasses by Brilliant Labs

Demo Video

YouTube YouTube

Project directories

  • 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)

Dependencies

  • The project requires:

    • numpy and pillow for bmp_gen.py
    • frameutils and aioconsole for upload.py
  • To install all dependencies, run the following in a conda or pyenv environment:

pip install -U numpy pillow frameutils aioconsole

Playing the game

To play the game, it first needs to be uploaded to your Frame glasses.

  1. Clone this GitHub repository:
git clone https://github.com/AbeerVaishnav13/FrameDinoGame.git
  1. Change your directory to FrameDinoGame repository.
  2. Follow the setup instructions here to reset your Frame.
  3. Run the file utils/upload.py to upload all the files to your Frame glasses.
python ./utils/upload.py
  1. A dialog box should open up asking to pair to your Frame glasses. Click Connect.
  2. Now you should see string Uploading game... printed. It might take a minute or so to upload everything as it's a big project.
  3. After the code is fully uploaded, you should see the Dino Game run on your Frame glasses!
  4. Chill, relax, and enjoy playing! :D

Usage of Bitmap generator Utility

Please refer to the Example Usage at the end of utils/bmp_gen.py file.

About

The famous Dino Game for Frame AR Glasses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •