TV Screen/CRT Monitor script/shader?

Celadon-G

Villager
Member
Joined
Jan 31, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Awesome, thanks. By "before Main" do you mean in Main before the existing scripts, or in a different script altogether?
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
The scripts are named in the script editor, they are called "script slots". At the bottom, there should be one named "Main".


A few slots above that there should be a slot named "Materials". 


You can put your custom scripts between these 2 slots.


Always enter new scripts into a new slot, unless it is noted in the script's instructions that you have to do otherwise.


That is to keep your scripts organized.
 

Celadon-G

Villager
Member
Joined
Jan 31, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
I did what you instructed and got this error:

Code:
Script 'test' line 4: NoMethodError occured.

undefined method 'pictures' for Cache:Module
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
That should be picture and not pictures.


So, change those lines to Cache.picture("image_name_goes_here").
 

Celadon-G

Villager
Member
Joined
Jan 31, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
It works! I cannot thank you both enough. But now I have another problem - I can't see what I'm doing. I tried messing with the settings labeled "opacity" and it only made it worse. (I know, I'm completely incompetent with these things. That's what this website is for, I guess.)


What happens is at 0 one of my pictures is completely opaque, and at 255 the other is completely opaque.
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top