supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Worldmaps: support switching music without scripts

Open maxteufel opened this issue 9 years ago • 5 comments

Add a way to switch music in worldmaps without using scripts. This will be necessary for the "merged" Icy Island and Forest Island worldmap in a later release.

maxteufel avatar Jul 29 '16 18:07 maxteufel

@maxteufel What's wrong with scripting?

Karkus476 avatar Aug 06 '16 17:08 Karkus476

@Karkus476 Scripting requires additional work to track state during restarts. Also without proper implementation it might result in issues similar to the sprite change one.

maxteufel avatar Aug 06 '16 17:08 maxteufel

@maxteufel Fair enough, but we do need to get to the point where everything is scriptable, so that level designers have complete control over the level. A secure way to preserve data through restart might be worth creating?

Karkus476 avatar Aug 06 '16 17:08 Karkus476

@Karkus476 I believe that is a different issue (open a new one, I guess?) and will require careful planning and discussion.

maxteufel avatar Aug 06 '16 17:08 maxteufel

An idea could be using an object similar to the special tile where you can select a new music that plays once players touch this object on a worldmap. The already existing special tile could be used for that as well, I think.

Rusty-Box avatar Dec 21 '18 15:12 Rusty-Box