Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Dent 279fd9d0f4 Fix typos in a few places
Pedantic tweaks:

- Fix spellings in a few places.

- Update License copyright year.
2021-06-26 00:13:05 +01:00
Scott Allen 2491e639aa Fix a minor visual glitch in ArduBreakout
Submitted by @uXeBoy (Dan O'Shea).
The game screen was displayed very briefly after entering a high score,
before the title screen is displayed.
2020-07-25 18:38:05 -04:00
Scott Allen 32d23b7984 Refactor ArduBreakout sound and constants
- Use precomputed constant values directly usable by the Beep class
  for tone generation arguments.
  This reduces program size significantly.

- Use the constexpr specifier for all constants.
2020-07-25 18:38:05 -04:00
Scott Allen e0ade6ca99 Clean up ArduBreakout a bit
No actual code changes.

- Changed colors hardcoded as 0 and 1 to BLACK and WHITE.
- Added a comment describing EEPROM space used.
- Made placement of braces and else statements consistent.
- Added spaces between some function call arguments.
- Fixed some spelling mistakes in comments.
- Removed commented out diagnostic code.
- Updated "modifications" comment.
2020-07-25 18:38:05 -04:00
Scott Allen 53ea8188d5 Add Beep classes for playing simple tones
Also added a BeepDemo example sketch and modified the ArduBreakout
example sketch to use the BeepPin1 class instead of Arduino tone().
2018-03-11 05:40:44 -04:00
Scott Allen f9dc4cb0e5 Fixes and cleanups of ArduBreakout example sketch
- Changed banner name from ARAKNOID to BREAKOUT.
- Set frame rate appropriately for the corrected nextFrame() function.
- Removed dead and non-functioning code.
- Cleaned up save, load and display of high scores.
- Made pausing the game work.
- Display the achieved score on the "game over" screen.

Also: Minor refactor of function nextFrame()
2016-09-17 18:54:55 -04:00
Scott Allen 3b96b7ba24 Migrate example sketches
Renamed Tunes to PlayTune and enhanced it to better demonstrate the
ArduboyPlaytune library's capabilities.
2016-06-30 19:40:17 -04:00
Scott Allen ba367bc2c6 Remove duplicate Arduboy.h include 2016-05-26 18:30:27 -04:00
Josh Goebel 8eb4deed69 ardubreakout should use new separate print class 2016-05-26 17:19:18 -04:00
Josh Goebel 2223f5e835 ArduBreakout should use shared libraries for music 2016-05-26 17:19:18 -04:00
Scott Allen 5042811cec Remove logo and clean up ArduBreakout
Scroll down "Arduboy" logo was removed because the library now
provides a similar logo.

setup() and loop() moved to the beginning of the code.

Minor changes and cleanup.
2016-05-26 17:19:18 -04:00
Arduboy 982175ecac Squash commits up to Arduboy V1.1 release 2016-05-26 17:18:33 -04:00