Creating Fire Soundtracks (Cosplore Pt:23)
Tags: go, learning, gamedev
Published: 2024-02-27 05:20:08

## Intro
This is a series following [Cosplore3D](https://github.com/Chig-Beef/Cosplore3D), a raycaster game to learn 3D graphics. This project is part of 12 Months 12 Projects, a challenge I set myself.
In this post we're going to make all the music for the game.

## Ankaran
So I decided to leave Ankaran how it is, even though the music is terrible, I think it'll just be funny.
I don't think I have the link for the original Ankaran (thank goodness), so you'll only be able to listen to it on the file.

## The Cosplorer
Now this one was an accident, BeepBox starts you off with a bunch of random instruments, and one of them just happened to have the perfect mood.
It can be found [here](https://www.beepbox.co/#9n31sbk2l00e0at2ma7g0fj07r1i0o432T7v1u71f50p61770q72d42g3q0F21a90k762d06HT-SRJJJJIAAAAAh0IaE1c11T3v1uf4f0q0x10p61d08S09ajurqOiO99000E1b7T1v1uc3f10v3q011d23A1F0B2Q0950Pc454E26327aT4v1uf0f0q011z6666ji8k8k3jSBKSJJAArriiiiii07JCABrzrrrrrrr00YrkqHrsrrrrjr005zrAqzrjzrrqr1jRjrqGGrrzsrsA099ijrABJJJIAzrrtirqrqjqixzsrAjrqjiqaqqysttAJqjikikrizrHtBJJAzArzrIsRCITKSS099ijrAJS____Qg99habbCAYrDzh00E0b000h4ic0000h4g0h8Q00004M8y95000000014ic0000p22oFEZ4CVLBd7Zh0klQgt5jNWfw4CzMkSn-CLMkTjUddvWA96hOgkTE_2CWv4ljFWGqfx0M5A1rjlnpr8Ritcy5dQ_GgFH-B4zhn0lgv55T1l5543hhhIi4zvAyCzek7B-xhjhipt1BQ6nEkkkkkkkkk77w).

## Enikoko
Enikoko's theme is actually a modified version of one of my old project. I play guitar, and I made this acoustic riff and decided to translate it into BeepBox but with distortion, and that was the result. I made it longer, added another section, and put it into the game.
Soundtrack [here](https://www.beepbox.co/#9n52sbk2l00e0wt38a7g0wj07r2i0o42432T7v2u71f50p61770q72d42g3q0F21a90k762d06HT-SRJJJJIAAAAAh0IaE1c11T7v2u71f50p61770q72d42g3q0F21a90k762d06HT-SRJJJJIAAAAAh0IaE1c11T7v1u70f40p61770q72f5q0E21990l65d06HT-SRJJJJIAAAAAh0IaE1c11T1v0u83f0q8z10q5231d03AbF6B2Q0572P9995E2b273T5v1u53f0qwx10h511d03H_RIBJAAAzrrrqhh0E1b4T4v1uf0f0q011z6666ji8k8k3jSBKSJJAArriiiiii07JCABrzrrrrrrr00YrkqHrsrrrrjr005zrAqzrjzrrqr1jRjrqGGrrzsrsA099ijrABJJJIAzrrtirqrqjqixzsrAjrqjiqaqqysttAJqjikikrizrHtBJJAzArzrIsRCITKSS099ijrAJS____Qg99habbCAYrDzh00E0T4v1uf0f0q011z6666ji8k8k3jSBKSJJAArriiiiii07JCABrzrrrrrrr00YrkqHrsrrrrjr005zrAqzrjzrrqr1jRjrqGGrrzsrsA099ijrABJJJIAzrrtirqrqjqixzsrAjrqjiqaqqysttAJqjikikrizrHtBJJAzArzrIsRCITKSS099ijrAJS____Qg99habbCAYrDzh00E0b8h4h4h4h4h4h4h4h4h4h4h004h4h4h4h4h4h4h4h4h4g0000004zg0018Q000id000000000000000004zg0000000000h4h4h4h4h4h4h4h400h4i8ycPcP4jcP8y8PcP8h004h4h4h4h4h4h4h4h4h00p2a_IQvT2eCie4K04JRCO_epE_tJSXGXr6nHROUgo5kR_xdnMCfNdfPASFE-IGGBc_mjljjl0SmQRmTM45n1gkzj0kRmq_OBcSxi09vpFvqFbV4cLAwO-XXtr6vDPP_o1gmqfyh7j97kH0amWPpvLpKSXrRtJzbRWVvbGHdvI5apwxV0oLJQLAO2nMh0nOh0nT_rHSfhg70pzXDbGXGKHOFOWGMkTjY4R-30lO5jbRV19E_IGIHaHaOGOF2GK1JGKwrjbWupwPnZiPhYOhQOhFEZm3Bp2gAkR-Bxypvo5Cn0D8GHHGGGGGGwV2BcvBBAz0TOddQzjrMDX8NCjwgIw8nSqnOvi-23bV8cLL-Tr_aqfnnLrz_4l21Cv1nJC1BXnZc71jc7wjIp-vffEy1wnjhWhCzOxjaMDjOIJbaMBjOISIH2iIG8qaGpYxi4zlllllkPq_kWB9kQFX-aIR_6GRH4Ih0OXVgAE6GGFf7MbP0kSLYjnYOdc58j1wR5K8lpsLMaiOWGMkQpMYXIQp54Qp6j97jehAOhQPApcAtcV6j97F0p3Cz92gjapgPhB-CzdUHtUSzyYUzysPzaebTzuaTudEXoOW3bEcKwOZ0zE8W2ewzEEEEj6hhhhhhhhhhhgbd6s08Wp8WpjhApcV1vAPApcV6j97FAhQOhQOhQOptcCnj97bWpcKCjbFAzO2f9Az0).

## Schmeltool
This was another case of the right instruments at the right time. Sometimes I write terrible songs, and sometimes I get something that's decent enough to work, and this was decent enough to work.
Soundtrack [here](https://www.beepbox.co/#9n31sbk4l00e0vt3ea7g0vj07r1i0o432T0v1u14f10r7q801d19w5h2E0T1v1u83f0q8z10q5231d03AbF6B2Q0572P9995E2b273T0v1ue2f0q8y10m723d08w5h3E1b8T4v1uf0f0q011z6666ji8k8k3jSBKSJJAArriiiiii07JCABrzrrrrrrr00YrkqHrsrrrrjr005zrAqzrjzrrqr1jRjrqGGrrzsrsA099ijrABJJJIAzrrtirqrqjqixzsrAjrqjiqaqqysttAJqjikikrizrHtBJJAzArzrIsRCITKSS099ijrAJS____Qg99habbCAYrDzh00E0b4h4h4i8hcx40cx4h8x4O4g00000000018Qk00000hg00014icN534h534h8P4Ach4z94g5l4pkhllkh4lkhBcMp248FE_B5Rd4bjh1QQlkQgRKjkkQQlkQlkQgtd5tuZh4Jd4hQQh1jh3QQgA02ubLvnUUfZLrF-c3UCzQqmqfgNd7EpqCpBVATJvyHsOGWJxHGSep23628C3SmjL6pCLXoTdvTDOZdvQhO9794tN7OD0i_dEEyeyywkTE_OCWvx1s1o44YLjhDkq1VvjpEO97AuhhE6ngpt1BQ6nOa4ughVcAughVcAughVcAughTd6jdAQp3d6jehJlmhIPArllArcV6Rlp6Peg0).

## Songs Ain't Looping
A bug I started noticing was that the songs wouldn't loop once they had finished, which meant that the player was kind of left in silence. Turns out, I was doing an unnecessary nil check when the channel was meant to be nil... yeah, I don't get audio much but it works now so I'm happy.

## In Future
I think Cosplorer has a goofy soundtrack along with Ankaran, so I would love to change both of those, but not right now, maybe if I go back into this project at some point.

## Next
Next is going to be the last actual feature of this project, which is kind of sad, and that is a second weapon. I think this is the perfect way to finish this project off. Maybe we could add an overpowered rocket launcher? Or maybe a gun that hits multiple targets, no idea, but we need to make switching between weapons work, and ultimately make it a playable experience.

One last thing, I'm going to be making an actual game, called [CompNerdSim](https://chigbeef.itch.io/compnerdsim). Now that's cool and all, but I would love any input you might have to add for this game, any features you would like to see. I'm planning this project to be longer term than Cosplore3D, so I can get it all nicely done, but if you want this game to be playable, maybe suggest some features.