Bit of a rant, but I'd be interested if anyone else agrees with me on this.
I'm nearly done with my game, and I'm currently going over all of the graphics. Say for example I have a button sprite that's 200x200. I then scale it down to 100x100 in the level editor.
I then add in a line of code to say if the cursor is over the sprite, increase its scale to 1.1. Now, to me, this would suggest it would increase the size to 110x110, but instead, it ignores the current size, and increases it to its original sprite size + 10%, so I end up with a sprite that's 100x100 when standard, but suddenly 220x220 pixels when the cursor is over.
To sort this out, I decide that I'm happy with the size 100x100, and change the size of the actual sprite to 100x100. I go back to the editor, and find that my object has noted that I just halved the size, and so it does the same, now measuring 50x50.
Having to go through my levels and fix this is really frustrating. I'll know in the future how to avoid this (by having an object dump layout) but I can't see how this is useful as a design choice.
I think the scale function should work on the size of the current object, not the sprite size. In its current state, this makes the scale function useless for me if I intend on working with slightly larger sprites.
Grr link