fillRect that fill the whole window?

ravenhood

Veteran
Veteran
Joined
Feb 26, 2020
Messages
58
Reaction score
26
First Language
Chinese
Primarily Uses
RMMV
Hi, i want to ask that since fillRect method only fill the content area of a window but not the whole window.
Is there a way to fill the whole window instead?
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,211
Reaction score
1,187
First Language
Spanish
Primarily Uses
RMVXA
not without writing a new window, essentially.
because the *window* object consists of background, border, and contents.
and contents always render within the boundaries of borders.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,789
First Language
English
Maybe you can just make the window background transparent and then increase the size of the contents bitmap.

Or just make your own rectangle sprite and ignore the contents
 

ravenhood

Veteran
Veteran
Joined
Feb 26, 2020
Messages
58
Reaction score
26
First Language
Chinese
Primarily Uses
RMMV
Thanks guys, those are nice suggestions :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I started really going in on my project April of last year... I'm just now making starting the actual game... making assets (and not even all of them), whoooo... TIME SINK.


Imagine being a pleb and using --------------------.js :LZSwink:
Ami
--- Survival For RPGist Part 2 ---

Survivalist: Now,I going to Test you: Fishing with Spear
M.Spear Knight: Leave it to me.
(M.Spear Knight Spearing the Fish with His Battle Spear)
M.Spear Knight: How it is?
Survivalist: I know you did it,but...Is that the Spear for Battle,not for Fishing?
M.Spear Knight: But,is that same?
Survivalist: (Sigh)...Whatever

Forum statistics

Threads
102,943
Messages
996,171
Members
134,408
Latest member
SosukeTheBro
Top