Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Oh wow, that was interesting. How did you make that, that the blocks respond to the sounds? Was that a straight through animation or was there an algorithm behind, which played the sounds on collision with the purple line? Really enjoyed to watch this and think about how it was done. Nice job.

(+1)

Thanks a lot! Glad you liked it. 

Yes there’s some code in the main update loop that checks collision with the purple line and then plays a note. The pitch depends on the block’s y value and the tone depends on the type of block.

(+1)

Uhhhh thank you for sharing this with me. This is a smart solution, I have to try this out by myself :D