Arduboy Game Jam 4: Complete!

I’m looking to make an app for the Arduboy Game Jam. I have some ideas but I’m new to programming. I followed the tutorials and still don’t know where to start.

1 Like

Start simple, sometimes simple is best. And worst case you could still win by try to make the worst entry :wink:

2 Likes

If you aren’t afraid to share your idea, start a new thread with the concept and someone (inc me) will assist to get you going!

2 Likes

Feel free to ask for help and/or advice.
The more detail you give the better the help you receive will be.

I got some time to work on an idea today: a sprite editor that runs on the Arduboy and uses the serial interface to save and load designs. This way you can preview the sprites on the actual screen.
The first thing I did was make a variable width font (6 high by 1 to 5 wide) and used it to mock up an interface. The font uses 4*64 = 256 bytes which seem reasonable (no lowercase).

1 Like

Loving the ideas in here! Keep up the good work! Tell your friends!

How about one of those ticker-counter things that they use at events to count how many people are coming in, you could make a digital version of that. :smiley:

This sounds cool in itself. I have made a couple of fonts 3x5, 3x6 and 4x6 but they all were fixed width fonts. Is your character width encoded in the font data? If so, how have you done that??

I’m thinking of making a metronome, like for practicing a musical instrument. I’d borrow some code from a sample I found on Arduino’s site though, no need to reinvent the whole wheel.

1 Like

That’s a really good idea!

Talking about music, is the piezo on the arduboy output only, or can you read from it?
It would be quite cool to make an app that reads the vibrations from a guitar and converts them to midi notes that are streamed through an USB MIDI device…
Or even create a rocksmith that runs on arduboy where it reads a song from EEPROM, shows the notes on screen, reads from the piezo and scores your precision. Although that could be considered a game, hence not fitting this game jam :stuck_out_tongue:

If you can actually do this Id give you the prize right away ! :wink:

It’s output only. You could set either pin as a digital input but I doubt the piezo would generate enough voltage to properly detect a digital high or low transition.

Had one of the pins been on an analogue capable input, you would have at least been able to use it as a “knock” detector (but unfortunately, neither pin is).

https://www.arduino.cc/en/tutorial/knock

1 Like

Too bad… I was already taking a look at ArduinoFHT to check if it could run on Arduboy :slight_smile:

A visual speak n spell using ArdVoice
“B” “A” “L” “L” “You spelled BALL” “Correct”

3 Likes

I haven’t written anything in c++ in months lol. Tough one

I think you can get a very faint reading if you tap on the back with reading the piezo over ADC. Not sure, someone test. I thought this was already tested to work?

Its a flashlight?

1 Like

I finally found some hours to start the ArduBrain project for this Jam that will collect some mini tests/games to train and test the user’s progress.
I came out with a simple C++ interface that tests should inherit from and implemented the simplest Reflex test.
If anyone wants to contribute implementing one of the minigames specified in initial List, send me a github pull request or a text patch and I’ll gladly add it to the project :slight_smile:

Virual functions and dynamic memory allocation? Goodbye progmem. :P

But on a more serious note: you’re mixing new and free - do not do that. That’s bad.

Edit:
If the intent was to avoid calling the destructor for fear of memory usage,
you didn’t give Test a virtual destructor, so only Test's destructor will be called,
and Test's destructor is trivial (because it’s implictly defaulted and empty),
so any call to it will be optimised away.


Also technically the comment “tell the arduboy to swap buffers” is incorrect.
The Arduboy only has one buffer and you need at least two buffers to be able to ‘swap’ them.

Like I said, you can’t read the piezo speaker with the ADC. Neither of the pins the speaker is connected to are ADC capable.