Solarus Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
Solarus Forum
»
Solarus
»
Development
»
Disable sound when several enemies died (in the same time)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Disable sound when several enemies died (in the same time) (Read 823 times)
SyF
Newbie
Posts: 18
Disable sound when several enemies died (in the same time)
«
on:
April 03, 2020, 02:10:05 pm »
Hello guys,
I want to know if is it possible to disable the dying sound when an enemy is killed ?
Because, when I kick the boss, I "remove_life" the enemies around in the same time. And in this way, the sound is played for each in the same time (and it is horrible for my ears
).
Do you have any idea ?
Logged
Max
Sr. Member
Posts: 260
Re: Disable sound when several enemies died (in the same time)
«
Reply #1 on:
April 06, 2020, 05:56:05 am »
Instead of "enemy:remove_life()" on the minions, you could do "enemy:remove()", which just takes them off the map, instead of damaging them. If you still want the dying animation you could manually create that.
Logged
Print
Pages: [
1
]
« previous
next »
Solarus Forum
»
Solarus
»
Development
»
Disable sound when several enemies died (in the same time)