Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

bitsy

a little engine for little games, worlds, and stories 路 By adam le doux

Pokemon Ant-War Game

A topic by YahliOnline created 97 days ago Views: 190 Replies: 7
Viewing posts 1 to 3

Hi everyone! This is my first "complete" bitsy game! Thank you to everyone that helped with tweaking things, especially helping me figure out how to make it so that the background music doesn't pause when dialogue starts. 

Let me know what you think!

Fear of the Froglion


Hey, I've given your game a go and I really enjoyed it! 

Very curious to know what kind of dark magic you used to make music not stop while in dialog! As I understand, there were some sort of hackery involved?

Thanks for playing! 

The music pausing was elusive to find but it's actually pretty easy! I need to give credit to someone on here named "earthan"

Ctrl F the html file for "pauseTune" You're looking for this piece of code: 

if (soundPlayer) {

    soundPlayer.pauseTune();

and just comment it out by adding two forward slashes before the "pauseTune" part, like so:

if (soundPlayer) {

    //soundPlayer.pauseTune();

But be aware: every time you save your game from the Bitsy maker it will restore this piece of code. So you'll have to comment out the "pauseTune" code in the html file after editing your game in Bitsy, but before your game is played.

Oh cool, thank you for this easy hack! I'll try using it in one of my next games

Send it to me when you're done!

Awesome hack! Thank you :)

No prob! Send me what you end up using it in

This is the game:

https://nieblagames.itch.io/wildfire-chile

I just added the music again thanks to your hack 馃