DerVVulfman
Sponsor
Just prior to the recent HACK, someone requested information on how to disable the windowskin from stretching across the bitmap. It was an option in the earlier RM2K and 2K3 systems that allowed the designer to either stretch the skin or TILE the skin.
SephirothSpawn answered this request by merely pointing out that all he had to do was go into Window_Base's initialize def, and adding: self.stretch = false[/FONT] to the bottom of the def.
Works fine... if you only want it to TILE the skin and not to STRETCH it. But here's my quandry.
I want it to be optional.
I tried using code to turn the stretch feature on and off. I can turn the system from a 'stretched' skin into a 'tiled' skin system... but I cannot reverse the system without it freezing instead.
I've tried variants on the same theme, too. But they all have the same effect. If I try turning it off... it just freezes.
Any clues?
SephirothSpawn answered this request by merely pointing out that all he had to do was go into Window_Base's initialize def, and adding: self.stretch = false[/FONT] to the bottom of the def.
Works fine... if you only want it to TILE the skin and not to STRETCH it. But here's my quandry.
I want it to be optional.
I tried using code to turn the stretch feature on and off. I can turn the system from a 'stretched' skin into a 'tiled' skin system... but I cannot reverse the system without it freezing instead.
Code:
[COLOR=Blue]self[/COLOR].z = [COLOR=Red]100[/COLOR]
[COLOR=Green]# My Edit[/COLOR]
[COLOR=Blue] if [/COLOR]$window_tile
[COLOR=Blue]self[/COLOR].stretch [COLOR=Blue]= false[/COLOR]
else
[COLOR=Blue]self[/COLOR].stretch [COLOR=Blue]= true[/COLOR]
[COLOR=Blue]end
end[/COLOR]
Any clues?