As you know, there's the possibility that add-ons can use their own resources. However, it has also bad consequences, as the in-game editor is coming. The custom resources bleed into the default ones, so there's actually no way how to recognize the default Super Tux resources with the custom resources. That way, a contributor might use a resource that belongs to an add-on without knowing that.
Maybe it would be possible to tweak the editor so that it won't display any add-on stuff, but this wouldn't be good as well. We should still keep the possibility of having add-ons those contain only resources (like sprites, music …) those can be used in other add-ons. Therefore the editor should still display them, but the contributors should be able to distinguish them.
I think, we should also get rid of possible collisions, when one file is defined twice or more times in various add-ons. And also the add-ons shouldn't collide with the default Super Tux resources. It's true that the contributors can know what resources Super Tux already has, but what if we wanted to make a new file that is named the same?
We have still all add-ons in our control, so I'd suggest:
- Put images those are closely-related to a single add-on:
levels/<addon>/images/
- Put images those are meant to be used by other level sets as well:
images/custom/<addon>/
And analogically with other types of resources.
What do you think?`
As you know, there's the possibility that add-ons can use their own resources. However, it has also bad consequences, as the in-game editor is coming. The custom resources bleed into the default ones, so there's actually no way how to recognize the default Super Tux resources with the custom resources. That way, a contributor might use a resource that belongs to an add-on without knowing that.
Maybe it would be possible to tweak the editor so that it won't display any add-on stuff, but this wouldn't be good as well. We should still keep the possibility of having add-ons those contain only resources (like sprites, music …) those can be used in other add-ons. Therefore the editor should still display them, but the contributors should be able to distinguish them.
I think, we should also get rid of possible collisions, when one file is defined twice or more times in various add-ons. And also the add-ons shouldn't collide with the default Super Tux resources. It's true that the contributors can know what resources Super Tux already has, but what if we wanted to make a new file that is named the same?
We have still all add-ons in our control, so I'd suggest:
levels/<addon>/images/images/custom/<addon>/And analogically with other types of resources.
What do you think?`