Try another word wrap script, maybe the others won't have that square symbol.
KilloZapit's Word Wrapper script is one of the best one for sure.
But if you won't plan on releasing your script for others, you are better off with hard-coding the texts and their positions instead of using a word wrap script.
Even if you plan to release your script, you can do it without relying on a word wrap script for sure.
I use KilloZapit's Word Wrapper, but even his script wont wrap the texts... and I plan to release the script here as soom as this problem is solved! ^^
but really no clue why the hell it is not wrapped or it prints the square, this really bugs me off!
Okay, I got a question now too. 😀
What's up with Window_HorzCommand?
Every time it's contents get wider than around the current Graphics.width*125%, it just stops scrolling with the cursor when the cursor reaches the X position of the mentioned limit.
The items are there, the cursor moves, but the drawn contents in the window will stay where they are until I enter within the limit again. This means the cursor will get off the screen after the limit.
Is there any way to prevent this? Or a workaround? Something? >.>
Too simple to be true, yet it is! 😀
Thanks a lot!
Uhm... I am curious... I want to change the opacity of all menu windows to a lower value.
Is there a way to do this at one place or must I adjust this in every window class?
class Window_Base alias aliased_init initialize def initialize(*args) aliased_init(*args) self.opacity = 100 # or it could be back_opacity endendUse inheritance
oh, sure!! this was too easy, omg ^^"
thanks!
While we are at windows and their opacity topic, I noticed something when I designed my menu engine...
If all windows on the scene are completely transparent, the FPS will get a whooping 100% boost.
I got from 30 FPS to a stable 55-60 FPS on a resolution of 800x608.
So, if it is possible, I suggest everyone to make their scenes with 0 opacity for all their windows (opacity, not contents.opacity, obviously), and instead use an image file to make the backgrounds/visuals for the windows in the form of a sprite created in the scene itself. Not only will it give countless new and unique ways for making the visuals of the scene, but will greatly increase performance.
Just wanted to share this info, in case someone will find it useful.
Interesting... So, your suggesting it uses less processing power to blt a semi transparent image than it would with the same image but non transparent.
Think I'll benchmark that to be sure...
Edit:
Perhaps the window class checks if opacity is 0 before blting, which would explain faster processing...
My thoughts exactly, and it would make sense after all.
The only thing I did was to set all of my windows' opacity to 0, and my FPS doubled instantly.
Regardless of how many windows I used on the scene or how big they were, my FPS was on a stable 55-60.
I can barely reach that FPS on the default game resolution, and now I could reach it on much higher resolutions. *-*
Does it enhance map performance? Cause I have employed a huge array of techniques to try help map performance, so that would be a helpful if it does ~ I dont use default windows on the map anyway (rarely) 😀
Using that method, you only need to adjust the background picture, not the texts etc since you don't really edit the contents of the window in any way...
Where the names of variables and switches are saved? I want to know because when I am working with a team, they usually uses variables and switches (eventing, scripting, mapping). So, if I know where they are, I can update my side from the team project and never get messed with double usage of variables or switches.
P.S.: I mean, in which .rvdata2 file?
I think that's internal... The game's scripts after all uses the array directly ($game_variables and $game_switches) instead of using names...