Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
ScreenVariables.js
MV ver. 1.04
MZ ver. 1.01
by Krimer

Introduction

Show multiple Texts in any place you want on your game map screen. Text are permanent for all maps unless you delete\hide or change it.
You can use text special characters to show values of your variables or show icons, change color, etc.

Script
MV Ver. - link
MZ Ver. - link

Screenshot
4c399f8d69b2d80801c8cd6f126f15d9.gif

Author's Notes

All usage instructions is in plugins help.
Feel free to use it as you wish in any kind of projects. Credits not necessary, but you can credit me if you want.
 
Last edited:

bazrat

Pixel Game Maker MV
Veteran
Joined
Oct 15, 2018
Messages
240
Reaction score
180
First Language
English
Primarily Uses
Other
Very cool, thanks for sharing
 

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
708
Reaction score
302
First Language
English
Primarily Uses
RMMZ
Sweet release.
 

kako05

Veteran
Veteran
Joined
Sep 11, 2017
Messages
190
Reaction score
28
First Language
Australian
Primarily Uses
RMMV
The plugin is named incorrectly. When you download it, it's screenvariables.js.js
But it's awesome. Hopefully, this won't have such performance problems as orangehud, since using ~30var sometimes it would drop performance by 2x randomly for no reason.
This plugin works with yanfly message core commands like \ow[], \fs[] changing text size or outline etc.
 
Last edited:

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
Hopefully, this won't have such performance problems as orangehud.
It won't as far as i know, even with auto-refresh option. This plugin was written to replace orange plugin in one game back in 2017 :) But if you want to be extra sure, just use manual refresh.
 

kako05

Veteran
Veteran
Joined
Sep 11, 2017
Messages
190
Reaction score
28
First Language
Australian
Primarily Uses
RMMV
It won't as far as i know, even with auto-refresh option. This plugin was written to replace orange plugin in one game back in 2017 :) But if you want to be extra sure, just use manual refresh.
Would you consider making an option to hide variables behind certain pic id? For example pic id 50 is UI, pic id 100 is a layer which hides variables (fog etc.)
The problem is most plugins like this are not compatible with fadeout effect. The result when loading a map and fadein effect is incomplete.

Screenshot-14.png


So I thought I could create a totally black pic id 100 and imitate fadeout command with "move picture (0/255)".
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
Would you consider making an option to hide variables behind certain pic id?
No, sorry. But if you want you can use those script calls for fade the whole screen:
Code:
SceneManager._scene.startFadeOut(x)
SceneManager._scene.startFadeIn(x)
x - duration.
 

kako05

Veteran
Veteran
Joined
Sep 11, 2017
Messages
190
Reaction score
28
First Language
Australian
Primarily Uses
RMMV
No, sorry. But if you want you can use those script calls for fade the whole screen:
Code:
SceneManager._scene.startFadeOut(x)
SceneManager._scene.startFadeIn(x)
x - duration.

Do you accept prepackaged kisses as a gift?
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
Do you accept prepackaged kisses as a gift?
Sure, why not :D
Make sure player can't open menu during fadeout when using this script call, because opening menu will clear fadeout effect.
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
Added MZ version if anyone interested :)
It's just compatibility upgrade there are no new features or functionality difference compared to MV version. So i decided to stay in one thread for both versions.
 

Artille

Veteran
Veteran
Joined
Jul 23, 2012
Messages
52
Reaction score
40
First Language
French
Primarily Uses
RMMZ
Added MZ version if anyone interested :)
It's just compatibility upgrade there are no new features or functionality difference compared to MV version. So i decided to stay in one thread for both versions.

I am and I want to say thank you very much!
Very neat little plugin but so powerfull!

:kaohi:

Did a test for a simple timer effect :
timer.png

Can't get any simpler than this. :D
 
Last edited:

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
412
Reaction score
69
First Language
Spanish
Primarily Uses
RMMV
Is it working?
I've tried testing your example but it would do nothing for me.

Then I turn OFF all of my pugins and got an error.

Any thoughts? This plugin is exactly what I was looking for ;(
1623921878382.png

1623921821648.png
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
Is it working?
Yes, it's working.
Which version do you use? Make sure you are using correct version. MV for MV, MZ for MZ. This error can occur if you are using wrong version or done something wrong on install process.
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
412
Reaction score
69
First Language
Spanish
Primarily Uses
RMMV
Using MV version for MV
Here's my console log: 1624001425954.png
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
159
Reaction score
123
First Language
Ukrainian
@KotoYama your plugin settings are wrong Auto-Refresh option in plugin need to be true or false not 'On'

I will edit description in plugin if current bring us to this problem :)
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
412
Reaction score
69
First Language
Spanish
Primarily Uses
RMMV
What a failure xD Thank you! It works! What a wonderful pugin!
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
412
Reaction score
69
First Language
Spanish
Primarily Uses
RMMV
Is it possible to display values of "custom" scripts?
this.addVarHudText('100', '${self(3)["y"]} test',148,self(3)["y"],true)

self(3)["X"] is a self variable. SRD Hud Maker recognizes these, but it has some other bugs that make it usable, so ScreenVariables is the best solution so far.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
1,844
Reaction score
964
First Language
English
Primarily Uses
RMMV
this.addVarHudText('100', '${self(3)["y"]} test',148,self(3)["y"],true)
'${self(3)["y"]} test' isn't correct syntax. If you're trying to use a template literal, that uses ticks, not apostrophes.
 

Latest Threads

Latest Posts

Latest Profile Posts

Lately I have been taking a break from game and resource making so I won't get burnt out. But I am also interested in the Game Jams this site periodically holds. It'd be great if I knew when the next one, if any, is planned.
elexy 1.2.pngSome bust art to be cropped and cleaned. May use in special decision moments. Depending on how it looks in game I may cut it.
Tiamat-86 wrote on ATT_Turan's profile.
apparently since its turning 15 years old this year the ps3 is considered "retro". now how old do you feel?
guess that means im an "antique" gamer since ill still play games as old as i am.
"you know your getting old when your childhood console changes ethnicity" lol it turned yellow
I'm making Toilet in Wonderland 2. and tell vinny about it lol

Forum statistics

Threads
115,341
Messages
1,089,156
Members
150,019
Latest member
RicardodaSilva
Top