Sound not playing at specified date

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Sound not playing at specified date

#1

Post by Lobby »

You might do something called debugging. It means trying out where the issue might be. In this case, you have two critical things: A date condition and a sound that should be played. So you may test them separately, e.g. playing the sound in a on click fun action. Sound in Android is meant for "short" pieces, so it's possible that you music file is rejected for that reason.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Sound not playing at specified date

#2

Post by CommanderABab »

If you want it to burn itself, you might simply be able to use the first line, but for sure the second line of this code:

Code: Select all

"actions":[{"type":"burn"}],
"actions":[{"type":"burn","x":0,"y":0}],

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Sound not playing at specified date

#3

Post by CommanderABab »

Then use random fun and check if building is town hall. If it is then burn.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Sound not playing at specified date

#4

Post by CommanderABab »

I don't know.
No.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”