You can also modify the sprites to create your own game themes. You can therefore replace the music with your own favorite easily, or add to the list! There are also many libraries of MML scores available, so you can use them (or use them for inspiration as a starting point before adding your own touch!). The music is specified in MML notation as strings that can either be PROGMEM or SRAM (regular memory). Interestingly though, the use-case that spurred me to create the ProtoStax_MmlMusicPlayer library in the first place was this game - I needed an easy way to be able to play full score music and sound effects for the game, simultaneously and in the background, allowing the main loop to deal with game progress. This project is a followup to the " Multi-Track Music Player " project that debuted the ProtoStax_MmlMusicPlayer library. The ProtoStax_MmlMusicPlayer extends the MmlMusic library to use Arduino Uno's timers to play an entire musical score in the background (not just individual notes). The music playing happens in the background using the ProtoStax_MmlMusicPlayer Arduino library, allowing you to do other tasks like handling button presses, advancing the game, etc, in the main loop. ![]() Additionally, everything is in a portable enclosure so you can indulge in some easy game play any time you like, while being able to program and experiment to your heart's content! By making your prototype more robust and "product-like", it makes it more useful and usable! ![]() It also updates the sprites to make the theme more forest-y with trees, and a boy with a wand as the runner (my amateur attempt at creating Harry Potter with a 5x8 character! □). ![]() This game builds on Joshua Brooks' Endless Runner code (see attribution below for link to original code) - it adds background music, sound effects, tracking high scores and being able to toggle between different background music. This portable Arduino-based Game Boy lets you play an Endless Runner game –like popular mobile games such as Temple Run, Jetpack Joyride or Canabalt, or other infinite platform games like Flappy Bird – with Background Music & Sound Effects ! Choose from Harry Potter, Game of Thrones or Legend of Zelda themes, or program in your own!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |