MV SDJB_AnimatedIcons

PluginName: SDJB_AnimatedIcons
Author: ShadowDragon

Status:
statusMV.gif


Equipment: (notice 3 stars? id: = stars id, bgIcon is single id)!
equipMV.gif


Window Message:
MV message.gif


Spoiler: Window's Completed
Code:
Window_Base
    Window_Selectable
    Window_Help
    Window_Gold
    Window_SkillStatus  => complete
    Window_EquipStatus
    Window_ShopStatus
    Window_Message  => complete
    Window_ScrollText
    Window_MapName

Window_Selectable
    Window_Command
    Window_MenuStatus  => complete
        Window_MenuActor
    Window_ItemList  => complete
        Window_EquipItem
        Window_ShopSell
        Window_EventItem
        Window_BattleItem
    Window_SkillList  => complete
        Window_BattleSkill
    Window_EquipSlot  => complete
    Window_Status  => complete
    Window_SavefileList
    Window_ShopBuy  => complete
    Window_ShopNumber
    Window_BattleLog
    Window_BattleStatus  => complete
        Window_BattleActor
    Window_BattleEnemy

Window_Command
    Window_HorzCommand
        Window_ItemCategory
        Window_EquipCommand
        Window_ShopCommand
    Window_MenuCommand
    Window_SkillType
    Window_Options
    Window_ChoiceList
    Window_PartyCommand
    Window_ActorCommand
    Window_TitleCommand
    Window_GameEnd

(Window's with sub windows are mostly linked that works as well.
other windows has special treatment for offset)

JavaScript:
<animated icon>
 id: 12
 bgicon: 4
 rotation: left
 speed: 120
 hue: 60
 cycleSpeed: 45
 </animated icon>

id = the base icon
bgicon runs behind the base icon
rotation right or left
speed 1-n
hue color to use (ideal to make an color run behind it)
cycleSpeed set the array speed (able for id, bgIcon and hue array's


=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB


=== WARNING ===
YOU ARE NOT ALLOWED TO:
* MODIFY without permission
* EXTEND without permission
* TAKE CODE without permission
* CLAIM AS YOU MADE IT
* REDISTRIBUTE but link back to the forum or itch.io
* SELL this product as standalone.
* DO NOT REMOVE THE HEADER.


This plugin is in WIP

(file is below as it require my base plugin (SDJB_Base or SDJB_BaseMZ (minified version))

Download from itch.io
The following windows works for MV (currently item scene for MZ)
as it may be more as well, so once the following list works for MZ
as for MV at confirmed, it will be released but it get updated to work
in most windows as far I can handle them.
Code:
/*
Window_Selectable:
    Window_SkillList  => confirmed
    Window_BattleSkill => confirmed
    Window_MenuStatus  => works in MV
    Window_Status  => works in MV (probably MZ)
    Window_EquipSlot
    Window_SavefileList
    Window_BattleLog
    Window_BattleStatus
    Window_ShopBuy => confirmed
*---------------
Window_Base:
    Window_Gold
    Window_EquipStatus
    Window_ShopStatus
    Window_Message
    Window_ScrollText
    Window_MapName
*---------------
Window_Command:
    Window_ChoiceList
    Window_MenuCommand
    Window_SkillType
*---------------
Window_ItemList
    Window_ShopSell => confirmed
    Window_EquipItem => confirmed
    Window_EventItem => confirmed
    Window_BattleItem => confirmed
*/

So I target Window_Message Next so it can be a pain for that one, but who knows!
it's already a nice achievement that ItemList grab most of them out of the blue 😀
Window_EquipSlots and Window_Status are added and work in MV.
while MZ uses Window_StatusEquip, I hope it works there too.

once confirmed, I add some parameters for the offsets just in case,
and will be released, the rest of the windows get added overtime.

I try to make MZ to work by guessing work (based on rmmz_windows)
as I don't own it, as some are shared windows which is nice, but if not,
it has its own pool, so MZ gets a lot of guessing work. (sorry MZ users).
while Window_MenuStatus and Window_Status works too.
it takes lots of time to get it to work for windows, but I slowly
get a window per window to work (some are a real pain).

So I add a poll up.

Edit:
MZ will be separated from MV, so it take a little longer for MZ to get the icons
work correctly as well for the functions working different.
AnimatedIcons for MZ get its own thread later on once I got a stable
version for MV and see what I can do for MZ.

I can't merged them clean at this point, but both versions become available.

so I release both plugins at the same time with the same windows available.
and work on the ladder to make each one work.

so I hope you can wait for an alpha release 🙂
Working on Battle Status to cycle through icons visibility.
but after that, and other window's, the alpha version will be released.

want to help on the message window, let me know as this is the most
difficult one I don't get.
Before Xmas, most Data and Status Scene has animated icons,
it would be also possible to use arrays for "id, bgIcon, hue".

id: 4 (single icon)
id: 4, 5, 6, 7 => cycle: [4,5,6,7]
id: [4,5,6,7] => same as above

also, a new option added:

cycleSpeed which only count for id, bgIcon and hue.

while default cycleSpeed is 45, I may make an array for this default speed
to easily leave it out when using them, or set a custom speed to override
the default value.

the reason I add this in, is so you can use sparkles on icon, better than
single icon and single bgIcon, so you have more options for each icon.

but while other windows still require modification, I may obfuscate the plugin
and paid for open and more windows overtime. as this won't be an easy
approach.

stay tuned for the alpha release (hopefully this week).
Plugin is available for download, enjoy 🙂
leave feedback and or suggestions.
Great News to MV users (and MZ too) I got finally the MV version
to work for Window Message target (as there is a small crash) which
I commented out for the time being, but add it or by parameter to turn it ON
or OFF there in the way your event works.

explanation how to use them is a user friendly way with "\i[66]" as default
and for item, weapon, armor: "\i[item:15]" for the icon of item 15,
and "\i[item:15,true]" to include items 15 names (same for weapon, armor,
skill, states ^^

I clean up the code in both versions, add it to the helpfile for release.

this is also the FINAL for both versions to be free, all other windows that
are added over time become paid, so you have the majority for free!

it may be released tomorrow, else the day after. (gif later as preview added later too)
but see MZ version for a preview.
MV Preview for animated icons
MV message.gif


Helpfile is adjusted on how to use them for all types ^^
the best thing, I can still maintain both version equally as there are slight changes
only between the 2 version, as I had to make some trades so I took the best way
I could.

I hope you like progress ^^
I just tried this out (MV version, using your "smaller" version of SDJB_Base since I don't want most of that), and it has a rather odd issue where it seems to force extra spacing around the icon, so that it's kind of knocked out of the skills select box:
1772492905974.png

Whereas a skill without using it, as you can see, fits neatly in the select box.
1772492973775.png

This is the case in battle screen as well.

I'd purely be using it for the overlay for rank icons on skills rather than the spinning stuff, which brings me to another thing; if the latter is resolved could there be compatibility for SomeFire's Skill Tree system at all as well?
I just tried this out (MV version, using your "smaller" version of SDJB_Base since I don't want most of that), and it has a rather odd issue where it seems to force extra spacing around the icon, so that it's kind of knocked out of the skills select box:
the bigger base has some fixes in it for MV only, include scene update, jitter fix,
and some other, 2 functions that is required for my camera control plugin.

the spacing is added for the spinning part, otherwise it will overlap the text.
but I coulld make a parameter out of it from 1 of the following:
- by boolean (true/false) for extra space
- if rotation is used, add extra space
- define your own spacing (but this can overlap text if spacing is 0.

so, I need a good way before I can add this one to see which one give
the most profit to developers.

I'd purely be using it for the overlay for rank icons on skills rather than the spinning stuff, which brings me to another thing; if the latter is resolved could there be compatibility for SomeFire's Skill Tree system at all as well?
I can give one without spacing if you omit rotation entirely.
for compatibility is possible, as this is mostly adding the window where it is used.

I wanted to make a parameter out of this, or a struct, but this require knowledge
on how too do it.

I need some time to study the plugin how it works, or have mini demo set up so
I can test it right away to see if it works (so DM with a mini demo, and setup).

I can see what I can do to add the animated icons for the skill tree.
I have more time later this week to see what I can do.
Yep, I'd appreciate a "Lite" version that's just allows you to overlay two icons, really. I've not seen this function elsewhere, and considering I have hundreds of skills with 5 levels, it's basically just a nice visual tell for the player, by adding in rank borders i.e.
1772612938439.png

++
1772613166157.png


Even better if I forgo the base~ its not that I don't like the features, but I have lots of cores that already do overlapping functions (i.e. QPlus, Yanfly Core, Eli_Book, Gimmer_Core, WAY_Core) and lots of the stuff you provide is already part of my plugins , and it's probably only this and maybe SwitchGroups I'd be using from yourself.

There is already a comprehensive demo for the Skill Tree on the thread I linked that shows all the features of that plugin and how it works. The only changes made for my game are visual:
1772613530666.png

Honestly, I'd mainly want the Description_Window to be covered, but the Skills_Window would be fine too I suppose.
Honestly, I'd mainly want the Description_Window to be covered, but the Skills_Window would be fine too I suppose.
from the first glance I saw is the skill window and description window the only 2
that has "drawIcon" amd the other 2 windows doesn't, so I can target those 2 without issue.

I mess around next week when I got more time to see what I can do for you and how to
make the 2 windows active by the 2 plugins. and notify you once done.
Update rpg MV with a parameter for smooth sprite.
this is more for scaling purpose or if you use SomeFire
SkillTreesSystem which there is a mod (paid).

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_animatedicons.181110/