Pretty sick game can’t wait till my arduboy comes so I can play it
Okay crosses fingers
If you would like to run multiple versions of the IDE, it is also possible.
I have a few IDE versions installed, just download the standalone versions, and then set the location of each
libraries folder for each IDE (done in the IDE’s settings menu) to something unique. Then install the Arduboy Library in each, through the manager of each client if possible. I have all of my library folders in my
/home/<user>/Documents/ folder like this,
/home/ekem/Documents/ ├── Arduino/ │ └── libraries/ │ └── Arduboy/ │ └── Arduino105/ └── libraries/ └── Arduboy/
Well I don’t know where I went wrong with the Guide but it works now! and I will totally do that as well!
I can’t figure out which game is my favorite yet!!
Sorry for the multiple posts.
So I got it loaded and it boots w/o a problem.
However after pressing play, I can’t get past the second screen…no matter how many times I press B or any other buttons…
Any luck? I haven’t tried loading the game yet myself.
It is still stuck on the “press B to start” page
Sounds like the save game function is failing, I’ll look into a way to notify the user when saving has failed and a way to disable save game functionality,
The only way i know for the save game to fail is no memory available. My code looks for space available in eeprom and then saves and loads from that location.
That is strange, I have the consumer version if that makes any difference
For now, the most painless solution (maybe not for you, but for others) is probably to include copies of the Arduboy 1.2 library files and current Arduboy Playtune library files within the sketch itself.
After copying in all the necessary files, rename them to avoid possible conflicts.
E.g. Arduboy.h to ArduboyRtR.h, etc.
Make the necessary adjustments to #include statments.
#include <Arduboy.h> to
Once the newer compatible Arduboy and Playtune libraries are officially released, you can switch your sketch back to using them, to automatically get any improvements or fixes that are made.
Hi, total Ardun00b here, just got my KS version yesterday and this immediately caught my attention.
I installed the 1.2 lib but it still sticks on “Press B To Start”.
I have tried out many games so far so is there some “saves” that these games have made, taking up space? I can’t find a way to free up memory on the Arduboy.
Thanks! Game looks great, can’t wait to try it
Sorry for the multiple posts but I got it to work on my KS Arduboy. Michael was right, it was the eeprom. I held down A as I turned on the machine, the screen looked like static for a second, then the game began and worked through the menus to the game proper.
Hope this helps someone. I don’t know if my Arduboy’s eeprom was full or what but there you are.
Thank you kind madam or sir!
The EEPROM storage system used with this game isn’t very Arduboy friendly (although, admittedly, there currently isn’t a standard for EEPROM use).
It assumes that EEPROM is cleared to 0 but an erased area in EEPROM will be set to 0xFF. It also assumes that all games will use the same system as this one, so it can have problems if a previously loaded game used a different system.
I’ve tried to change the EEPROM system to use 0xFF as the value for an erased EEPROM byte, as well as other changes to make it more suited for the Arduboy, but pressing the B key does nothing when prompted with “PRESS B TO START”.
I don’t want to spend any more time on it, but if anyone is interested, my fork with the changes can be found here.
So there’s no way around the “press b” issue?
I’m sure there is. I personally don’t have the time or inclination to look into it any further.
I have updated Rayne the Rogue and re-released it here
Game is available in both arduboy format and source.
I found a bug. After 100 lvl the game is REALLY slow. But i can’t figure out why Arduboy have problems with framerates above 226. This is your code:
//set frame rate uint8_t tcave = (cave>100) ? 100 : cave; arduboy.setFrameRate(28+tcave*2);
The Arduboy2 library has 2 ways of setting the frame rate:
void setFrameRate(uint8_t rate); // rate in frames per second void setFrameDuration(uint8_t duration); // frame duration in milliseconds
Using setFrameRate() the maximum rate allowed would be 255 frames per second. (The maximum value that can be stored in a
Using setFrameDuration() the fastest rate would be setting a duration of 1ms, which would be 1000 fps. However, the display() function takes something over 1.2ms to update the display, so you would have to set the frame duration to 2 and get 500 fps.
It looks like the above code would limit the frame rate to 228 maximum, which would be within the maximum 255 allowed by setFrameRate().
Note that the due to order of operations, the frame rate math will be evaluated as
28 + (tcave * 2)
tcave limited to maximum 100, this gives the maximum of 228.
It’s possible the author didn’t take precedence into account and expected
(28 + tcave) * 2
tcave at maximum 100 this would give 256, which would have been a problem.
Edit: From the following post by @PineappleComputer, I realised that this game uses the original Arduboy library, not Arduboy2. Without examining the Arduboy library’s nextFrame() code, it’s possible that there could be problems with high frame rates in this code.
Maybe it was a problem with hex file. I downloaded latest version from Github. After i changed reference from Arduboy.h to Arduboy2.h and recompiled the code the problem has gone.