MV/MZ SDJB_htmlPrizeWheel

PluginName: SDJB_ htmlPrizeWheel
Author: ShadowDragon

prizeWheel.png


An Very unique PrizeWheel that rotate in the Y axis in depth.
Unlike my htmlGallery plugin, this was complicated to make it work, for the index
to gain the right index.

Not only that, htmlBase gets it upgrade, to make things far easier to control their actions!
other html plugins get updated soon to use those functionallities as well.

While the base is working, it gets its finishing touches and polishing for you to use.
not to mention, style it how you want it to be 🙂 (has a hardcoded base image if used (green pointers)).

an gif is to big to show it in action.

Spoiler: How it works
Code:
How it works
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 htmlPrizeWheel.open([
     { text: "itemPrize1", action:`JS Code`},
     { text: "itemPrize2", action:`JS Code`},
     { text: "itemPrize3", action:`JS Code`},
     { text: "itemPrize4", action:`JS Code`}
 ]);
 htmlPrizeWheel.prepareSpin()

 The code above fill the wheel up to 30 items in total if its
 lower than 30 to create the wheel, it duplicates the list till
 30 is reach.

 You may however have more than 30 items to increase the item wheel.

 The action to give the player items, weapon, armor is simplified
 using the following code:

 rpg.giveItem(id, amount)
 rpg.giveWeapon(id, amount)
 rpg.giveArmor(id, amount)

 The amount of the items, weapon or armor is option as default is 1.

 The following send out a gameMessage of your choice.
 rpg.msg("you message here")

 Styling the wheel is through CSS entirely.


Download from itch.io (once ready, require my SDJB_htmlBase!)

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

Version + UPDATE'S
00-00-2025 Version 0.1.0 first release

=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.
SDJB_htmlPrizeWheel is available for download.
Style yours now in the way you see fit 🙂

any feedback, suggestion, let me know.

the images arent sync yet and probably hard to do.
so you can adjust speed or let it static by removing the
animation on them.

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_htmlprizewheel.177591/