Shape Click Music!


Links:

Bosca Cecoil Download Link: http://www.boscaceoil.net/downloads/boscaceoil_win_v2.zip

Pygame: https://www.pygame.org/news

Hello Everyone, today i decided to get motivated to work on shape click again! and to start off with, we need music. how we gonna do that? Bosca Cecoil again to save the day!

With Bosca Cecoil i made a nice drippy beat for the game, here is a screenshot of the work in progress:


Now that we have it, we need to configure it with pygame's pygame mixer, we used this to replace playsound since playsound made it continuously crash.


All we really do is add these lines of code:

clickSound = mixer.Sound('pickupCoin.wav')

clickSound.play()

Now As This Is The Sound Effect, I Can't Really Use This Exact Same Function Due To The Fact It Won't Loop, And It Has The PickupCoin Sound Effect. So We Need To Change It.

The Only Thing We Need To Really Add Is In The Brackets, We Add A -1 To Loop It, Thanks YouTube Tutor- my brain to remember that.


now the code is this: 


If You Actually Read This Devlog, Thanks

More Updates And A Video Will Be On The Way!

-FraserGameDev

Files

ShapeClick 1.1 2.6 MB
Jan 28, 2022

Get Shape Click

Leave a comment

Log in with itch.io to leave a comment.