Devlog #1 - Squirrel Adventure Process


The first week I usually just use it for brainstorming ideas. At first I thought it would be really cool to make a rhythm game (I still think it’d be cool to make one day), but I had a specific vision I had in mind and thought that it would be too ambitious. So I had to keep brainstorming. I met up with my family for Thanksgiving and my cousin’s girlfriend wanted to know about what I had been doing in school and I mentioned the Sound Driven game. I don’t know how we got to Flappy Bird but speak into the mic to make it move, but we did, and I’m so grateful for having people around me I can brainstorm with. 

I then started researching documentation about Godot and how Godot accesses people’s mics. I found this video: https://youtu.be/gS3IuLqmgx4?si=6Ox6eZlU9yCaHxtS. It was really useful, it’s how I was able to enable the mic and use it in my game. I also watched this video: https://youtu.be/9f9t9eiCDAA?si=xTkyJnB9xQDwi9yl–I used it to make the prototype of my game. In the video’s code for making the bird move, it uses a mouse event, and if it’s the left button mouse click, it moves. In my case, I had to figure out how to make it move if players spoke into the mic. I wanted to use the logic, if it was above a certain volume, the bird would move, and so I did that. It was definitely lots of searching forums but in the end, I found this reddit post: https://www.reddit.com/r/godot/comments/8skrws/converting_linear_volume_00_to_10_into_decibels/ , which helped me to turn the volume into a simple value (decibels), and then I also turned it into a variable. So to make it move, I put something like (sorry I currently don’t have my code on hand as I write this devlog)

if volume > 0.1:

flap bird()

Or something like that. 

The prototype process was actually pretty smooth and didn’t need too much troubleshooting since I was watching a tutorial for the main mechanics of the game, and I found a lot of documentation and forums about the audio and microphone input before even starting the game. After having the prototype I just needed to replace everything with my own assets and include the UI.

Files

index.audio.position.worklet.zip Play in browser
9 days ago

Leave a comment

Log in with itch.io to leave a comment.