Glove - A lighter, softer, cozier gauntlet!


#21

Hey everyone, sorry for the delay! Feel free to modify the code to make it compatible and post it. I’ve been working on some fun stuff and I want to update all my projects, including Glove, after I get my device this summer. In the meantime, I’m fine with you posting a modified version. Just be sure to let me change the link and everything once I release Glove+ officially! (Glove+ is going to be the first version I properly licence, most likely MIT) But yeah, I’d love for somebody to update it!


#22

Hey everyone, I wrote a quick patch to make the old Glove to work with Arduboy 1.0. Download it now! (23.3 KB)

I’m actively developing the + feature of Glove+. Glove+ will replace Glove once I finish it. Also, Glove+ will be MIT licence, so anyone can modify it for any reason! Also, it will be available on GitHub, instead of a zip file, so contributions can be made and other neat stuff!

Also, for those using the devkit version of Glove, I updated the level editor to work with the new version of the Love framework. Download it here! (37 KB)


Problem Compiling most games
(Alberto) #23

Amazing game. Congratulations!


#24

##Update news!

  • The latest version of the game is now available on Github! (MIT License, woo!)

  • GloveEdit has been updated to work with LÖVE 0.10.1. Download now! (.zip, 33.7 KB)

  • The “+” feature is going to take a bit longer. I’m going to write it in elm language, but I have to learn it first!

Thanks for playing, everybody!


(Sean ) #25

hi for some reason this code will not verify on my arduino sorfware (version 1.6.8). I am selecting the arduino genuino/micro (and all other boards tbh), but it won’t work. do you know what I should do?


(Sean ) #26

I am trying to download it onto a pro micro, can this be done? or can you only use arduboy?


(Scott) #27

@SeanO, Glove compiles, uploads and plays fine with my Arduino/Genuino Micro based system, choosing Arduino/Genuino Micro as the board type. What version of the Arduboy library are you using? What errors do you get?

It’s also compiles fine when I choose SparkFun Pro Micro as the board type.


(Sean ) #28

Yeah I think it should be fine. I was using a friend’s computer and that’s what wasn’t working. the older version compiles fine on my laptop. But I have a question, do you need to install a driver for the pro micro? It seems to work on my laptop but not on others


(Scott) #29

I’m not sure what you mean by a driver. If you want to add the definitions so that you can select SparkFun Pro Micro as a board type, you can use the instructions here.


(Sean ) #30

It’s all good! I have it working now! Thanks for all the help you’ve given me!


(Rory Holliday) #31

How do I get this working on my production Arduboy?
here’s the errors I get.

Arduino: 1.6.9 (Windows 10), Board: "Arduino Leonardo"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\rholliday\Documents\Arduino\Sketchbook\libraries" -fqbn=arduino:avr:leonardo -vid-pid=0X2341_0X8036 -ide-version=10609 -build-path "C:\Users\RHOLLI~1\AppData\Local\Temp\build9f3be1c6f55f3f7105b7e002aff3c277.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\rholliday\Documents\Arduino\Sketchbook\glove\glove.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\rholliday\Documents\Arduino\Sketchbook\libraries" -fqbn=arduino:avr:leonardo -vid-pid=0X2341_0X8036 -ide-version=10609 -build-path "C:\Users\RHOLLI~1\AppData\Local\Temp\build9f3be1c6f55f3f7105b7e002aff3c277.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\rholliday\Documents\Arduino\Sketchbook\glove\glove.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "C:\Users\RHOLLI~1\AppData\Local\Temp\build9f3be1c6f55f3f7105b7e002aff3c277.tmp\sketch\glove.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "C:\Users\RHOLLI~1\AppData\Local\Temp\build9f3be1c6f55f3f7105b7e002aff3c277.tmp\sketch\glove.ino.cpp" -o "C:\Users\RHOLLI~1\AppData\Local\Temp\build9f3be1c6f55f3f7105b7e002aff3c277.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\rholliday\Documents\Arduino\Sketchbook\glove\glove.ino:1:0:

C:\Users\RHOLLI~1\AppData\Local\Temp\build9f3be1c6f55f3f7105b7e002aff3c277.tmp\sketch\globals.h:4:21: fatal error: Arduboy.h: No such file or directory

 #include "Arduboy.h"

                     ^

compilation terminated.

exit status 1
Error compiling for board Arduino Leonardo.

Can someone please post install instructions?


(Scott) #32

Did you install the Arduboy library, as instructed in Step 2 of the Quick Start Guide?


(Rory Holliday) #33

Yeah,
I did the exact way the guide said…
Hmm.
I’ll uninstall reinstall and try again.


#34

Thanks for trying out Glove! The error looks like a library installation problem. Have you gotten it to work?


(Brent Schultz) #35

Can’t get the game to load

Arduino: 1.6.9 (Windows 10), Board: “Arduino/Genuino Uno”

In file included from C:\Users\Brent\Documents\glove\glove.ino:1:0:

sketch\globals.h:4:21: fatal error: Arduboy.h: No such file or directory

#include “Arduboy.h”

                 ^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


(Ross) #36

Make sure you target is the Leonardo and that you have installed the Arduboy Library, per the Arduboy Quick Start Guide. Sounds like you are almost there :slight_smile:


(Scott) #37

It looks like you’ve loaded the file into the IDE using Open or just double clicked on the file after extracting the archive. You shouldn’t do this. You should install the game into your Sketchbook. Use the Adding programs (sketches) to the Arduino IDE guide to do this.

Or Arduboy if you installed Arduboy and DevKit board support as per the second part of Step 2 in the Quick Start Guide.


(Albert) #38

does anyone know how to remove the sound ? thx


#39

##Update News!

  • Added new options menu!

  • Added the ability to sound on and off. This setting uses the reserved EEPROM_AUDIO_ON_OFF bit as defined in Arduboy.h. Any other games that read this bit to determine whether to play sound will be affected by this setting.

  • Added an easy way to delete the save file.

Check the commits on Github for more detailed information.


#40

##Update News!

  • Added a little treat for those who 100% clear Glove!

If you’ve full cleared Glove already, just load up the game to check it out!