Play games with watchX G-Pad accessory!

Hello!

We are happy to inform you that, we started shipping the watchX accessories! Some of our members have already received their units:) Question may arise, how to play games with watchX G-Pad accessory. Well, of course, you can create your own game using scratch blocks, as our long time member @francois did on this post First try with the watchX Pad

You can also develop your own game using Arduino. Thanks to Arduboy team and great member of Arduboy users, it’s possible to do that. In order to compile Arduboy games for watchX, you need below modified libraries.

You can skip compiling games or developing games and upload pre-compiled hex files with a hex uploader. You can download the precompiled hex files from the link below:

Once you download the hex files, you can use your choice of hex uploader or use below uploader to upload hex files.

Hex uploader download link: https://sourceforge.net/projects/arduinodev/files/ArduinoBuilder/

Install the downloaded hex loader. Once installed you will welcomed with a windows like the one below:

  • Connect the watchX to your computer and wait for left LED settles.
  • Select the Arduino Leonardo from the Target section of the hex uploader program.

  • Click load “Load Sketch / HEX”
  • Navigate to Game Hex files previously downloaded.
  • Select the correct com port right below the area you select the target device.
  • Once you click to the correct com pot, watchX’s left LED will flash and upload sequence will start.

Please post below if you encounter any problem and we will guide you through :slight_smile: :slight_smile:

2 Likes

Hello,

This Hex uploader generate : “ERROR - file not found”.

I’ve tryed last version (1.0.13) and 0.8.7 and tryed all the 5 games of the github.

Do I need to add the library if I try to upload directly the .hex you provide ?

Thank you for your help

François

I clic on Load Sketch, select and open a .hex :

Then I clic on COM10 and get this with no flashing led :

Ok, just had to reset while uploading,as on arduino…
It works well

I am glad that you solved it:)

I found a program called Arduboy Uploader that can easily upload your .hex files to watchX without having to select the port or board.

This is the download link : https://github.com/eried/ArduboyUploader/releases/

Install the “ArduboyUploader_setup.exe”

When you double click on the program, you will see a window like this


After choosing your .hex file from here, the program will automatically upload the file to your watchX.

uploading

Enjoy!

2 Likes

Hello again!

I’ll try to explain how to upload games to your watchX with Arduino IDE.

Step 1 : Download zip file:

https://github.com/mtulu-argeX/watchX_Arduboy

Step 2 : Extract the libraries

Step 3 : Select the files and click Copy

Step 4 : Right click on the Arduino IDE and open file location.

Step 5 : Go to the libraries folder.

Step 6 : Paste the files here.

Now you’re ready to use libraries on Arduino IDE.

Step 7 : Open Arduino IDE and follow File / Examples / Arduboy2 / ArduBreaokut steps.

You need to Arduboy board to play the games.

Step 8 : Go to the Preferences

Step 9 : Copy the URL :

https://arduboy.github.io/board-support/package_arduboy_index.json

Step 10 : Paste and press OK.

Step 11 : Go to the Boards Manager

Step 12 : Install the Arduboy package.

Now you can choose Arduboy board.

Final step is upload the code to your watchX.

Have a fun!

2 Likes

Great.

Many thanks for that.

I don’t have time right now but will definitely try your tutorial.

Also I wonder how to use Arduboy to program our own games. I don’t know the purpose of it and for example how to use special libraries or function from Arduboy

Hi @francois,

There is a great tutorial series present at the Arduboy forum. You can skip initial steps because ours described above. Then start by “loading an example” section.

Arduboy forum link: https://community.arduboy.com/t/make-your-own-arduboy-game-part-1-setting-up-your-computer/7924

1 Like

I edited the new version Arduboy2 5.3.0 library for watchX.

I was having a heating problem in the previous version of the library. I eliminated it.

You’ll see that all of the LEDs are used in this edit and you can also upload files such as “Beep Demo”, “RGBLed”, “SetSystemEEPROM” to your watchX.

You can download from this link