Windows_Changer Ver. 0.7

Windows_Changer Ver. 0.7
by Mike​
Intro
 
Basically you get to change any window.
Though we're on Ver. 0.5 right now, which means it's limited to sprite background with no animation.
My apology for the half-done work, but I'm planning to keep working on this until I got super busy with college and intern.

Features so far...
 
- Add 1 layer sprite background for any window (more layers will be available in the future)
- Play around with the sprite background (zoom, opacity, depth (z), color (yes, you can color it) and move)
- Compatibility is pretty high. Let me know if it's incompatible with any other script.

Ver.0.7 -Window is up to customization. demo is updated. Check how window can be customized.

Ver. 0.6  - Cursor is up to customization. Demo is updated. Check to see how cursor_rect can be customized.

Ver. 0.5  - What the intro has...

Screenshots
 
Basically what came with the demo...

Spoiler
lcPotGr.jpg
Spoiler
cOxSwvW.jpg
 how cursor could be changed...

Spoiler
Pr3TTDN.jpg
How window can be adjusted and how the sprite will follow the adjustment.

Spoiler
9KIpBHw.png
Spoiler
msos4GM.png
How to Use
 
put the script on the lowest of material so that you could customize custom window from other script(s).
more description inside the script.
 
Just use the auto, I don't recommending doing the manual if you don't know scripting. It will be a lot of studying. If you don't know what auto and what manual, there's an instruction inside the script.
 
Demo

https://www.dropbox.com/sh/iz4eep4plc49r03/1szhhy332L

Script
 

I got this message when trying to display the script here

"CONTENT_TOO_LONG"

So here you go, a link to the script. Enjoy

http://pastebin.com/LyKGi9R8

FAQ
 
Q: How to use it?
A: There's guideline inside the script.
    Though to make a quick step-to-step
    1. install the script
    2. run the project -> the script will create the folders for the sprite folders unless you decided to put everything in 1 folder / you have a special folder for special windows.
    3.  read the guideline in the script.
    4. if still confused, then let me know here, maybe there's a bug or something. 
 
Q: How does this script would benefit my project in any way?
A: This script is an eye-candy. .-.
 
Q: Who should i credit?
A: I don't need any credit, this is just a hobby of mine. If you would like to credit, then make your game more awesome. : D

Credit and Thanks
 
Big thanks to Mithran for his in-detail error analysis. You rock. : D
Other folks joining the discussion.

Author's Notes
 

Sorry for the weird template, I just copy paste from the guideline and type.
Please report any bug. I'll be expecting them. : D
seems nice... not really a fan of those naming, but I guess that makes it so less likely to collide with others... XD...
seems nice... not really a fan of those naming, but I guess that makes it so less likely to collide with others... XD...
lol

Which ones? the interpreters? My vocab is pretty weak, so I'm open for any suggestion since this is the first time I have to deal with users typing for input, usually I just make them click button instead of typing. ^^
I mean the accessors/variables/aliases... that's a nice naming scheme to avoid collisions though... 🙂
Oh, it was much powerful before Mithram told me that naming convention shouldn't take a whole line if I want to factor in readability. xD

My favorite accessor would be the Window's 'oh_I_got_changed' accessor. xD

I'm working on the cursor right now, trying to figure out how to extract the logic from this library into my script since I need to know where the 'cursor_rect' is called at.

https://github.com/asher-/sender

Next update should be in 2 days at most.

: D
I actually lol'd at that accessor... I'm imagining what if the system actually says that... XD
Haha, I can only pull it once though, the script would be a joke if I keep adding them, and I don't want that to happen. : D

And for others that are waiting for the development...

As I said, the next update would be by tomorrow. I'm working on the cursor_rect, and it's been fun.

screenshot

Spoiler
gqk35w4.jpg


As you can see the cursor is colored red at armor (it's red and below the window (z is adjustable))
I'm patching it up so that user could customize it just like the window background (set opacity, color, position, etc). Should be quick, but I'll upload the script tomorrow as scheduled. : D
this is turning out to be like mine... XD...
Oh, no, I'm not gonna work with the content of the window. : )

There are plenty of those scripts and they are using different switches and naming convention. I ain't touching them. : D

This is only changing the appearance (position, shape, color, and animation). Even the cursor won't work with customized windows that substitute the default cursor (cursor_rect).

This is for users that want to alter the appearance of the windows to their ideas, whether they are customized or not.
That's what mine does too, just graphical changes... and oh well, yeah I allow to modify some info but not to the extent of scripts like Yanfly's... it's about 90% graphical changes only too... XD...


plus some of those scripts overwrite default methods too... it's hard to catch which uses which
Well, that's why you would like to make sure that the value of the said variable / method to have the desired value. What I usually do is to use alias and put my script on the lowest of material and overload all operators that might alter my desired value, and do my stuffs post aliased method, and create new variables (some scripters prefer new subclasses instead). It's pretty secure usually when you overload the operators. : D
Version is updated.

Cursor is up.

Save game compatible.

#==============================================================================# Self-To-Do-List#==============================================================================# Just take this as upcoming features## - Do the sprite cursor feature# - Do the window movement# - Do the window resize# - Do the animation attachmentNext is window movement, eh? .-.

Well this could work. I'll just need to do hash-ception. Might as well do window resize along the way. : x

Edit:

I'm taking a short break from coding atm. I just downloaded a mod for warband. : D

So next update would be up in 3-4 days. xD
moving windows... cool...


PS: which mod? oh w8, I never played mods of warband... XD...
lol, during my trial-error. I accidentally made the sprite background to be displayed at x position, then move from x position to the window's position 1 pixel at a time instead of displayed at the window's position from the beginning. : D

I've saved that broken ver. I just need to analyze what makes the sprites to move from a to b, then the moving animation can be done and improved, but the next update is about placement and resize. Sorry if I had given a false hope. I'll do animation last since that would be the best part. Save the best for last.~

It's funny how accidents could lead to nice discoveries.

PS: It's an old one (couldn't believe I miss it), a clash of kings. I'm a small fan of game of throne. : D
Ver.0.7 -Window is up to customization. demo is updated. Check how window can be customized.

I changed the self-to-do-list due to busy schedule

#==============================================================================# Self-To-Do-List#==============================================================================# Just take this as upcoming features## - Add more sprite layers (both cursor and window)# - Do the animation attachment##==============================================================================Next update is adding more sprite layers, which isn't hard at all coding wise, but my busy schedule won't let me have enough time to finish it quickly. Next update will be up in 1-2 weeks. If I got lucky, it might be up by the end of weekend (5 days from now) or earlier.

Original thread: https://forums.rpgmakerweb.com/threads/windows_changer-ver-0-7.22418/