Hi folks,
My game uses a number of plugins and events to swap the player sprite sheet, whether it is for playing an animation, displaying diagonal movement sprites via plugin, or showing idle/running animations via plugin.
Something I would like to do is to add other character sprite options (gender options) to my game. The issue I have is that my game already has a ton of animations which would need new conditions and alternative sprite sheets set, and many features which are tied to the actor ID directly (so just adding a new actor for the other gender so that the plugins get a different sprite sheet for diagonals/idle/running wont work).
So my question is...
Is it theoretically possible for a plugin to be made which would "swap" the name of one sprite sheet to another?
So if I have a sprite sheet named "Main_Char1" which all my plugins/movement routes reference, I could change another sprite sheet named "Main_Char2" to now be treated as "Main_Char1", effectively causing everything to now reference the new sprite sheet.
In short, I want to potentially commission a plugin which would "swap" all my existing sprite sheets to another sheet, changing how everything I have already set up would display, but am not sure if it even possible.
I am open to any alternative suggestions to implement the same sort of functionality as well.
Thanks!
My game uses a number of plugins and events to swap the player sprite sheet, whether it is for playing an animation, displaying diagonal movement sprites via plugin, or showing idle/running animations via plugin.
Something I would like to do is to add other character sprite options (gender options) to my game. The issue I have is that my game already has a ton of animations which would need new conditions and alternative sprite sheets set, and many features which are tied to the actor ID directly (so just adding a new actor for the other gender so that the plugins get a different sprite sheet for diagonals/idle/running wont work).
So my question is...
Is it theoretically possible for a plugin to be made which would "swap" the name of one sprite sheet to another?
So if I have a sprite sheet named "Main_Char1" which all my plugins/movement routes reference, I could change another sprite sheet named "Main_Char2" to now be treated as "Main_Char1", effectively causing everything to now reference the new sprite sheet.
In short, I want to potentially commission a plugin which would "swap" all my existing sprite sheets to another sheet, changing how everything I have already set up would display, but am not sure if it even possible.
I am open to any alternative suggestions to implement the same sort of functionality as well.
Thanks!