# Song Gallery

**URL:** https://forum.makecode.com/t/song-gallery/5471
**Category:** Arcade
**Tags:** music
**Created:** [January 10, 2021, 10:53pm UTC](https://forum.makecode.com/t/song-gallery/5471 "2021-01-10T22:53:03Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [January 25, 2021, 5:25pm UTC](https://forum.makecode.com/t/song-gallery/5471/13 "2021-01-25T17:25:07Z")

</div>

Beware, this is a big song! There are over _15 thousand_ lines!!!

Do not forget to define `stop_music` globally. (Ewww…global variables) Set `stop_music` to `true` and the current song will halt. (Probably need to wait a couple hundred milliseconds) Before the song starts `stop_music` will automatically be set to `false` so no need to worry about resetting it. This code will play the main theme twice and then play the end if you wanted it. Or you could just put `play_main()` in a `forever` block and forget about it.

> **[Analysis - Polygon Shooter by Alda Games](https://arcade.makecode.com/93445-54648-26097-92730)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

_[View the full topic](https://forum.makecode.com/t/song-gallery/5471)._
