estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
■ Information ╒══════════════════════════╛
EST - PHONE MENU MZ
Version: 1.1
By Estriole
File name: .js

■ Introduction ╒══════════════════════════╛
This plugin is Menu Engine Plugin. Which mean we
can set our own Menu Command... what happen when
we click on those Command... this Menu Engine also
build with Phone as it's template... but this Menu
Engine could also work using other form of Menu.

■ Features ╒══════════════════════════╛
- fully customizeable Menu Engine
- Customizeable Graphic Menu
- Simulate Phone as Menu (if using existing template)
- Customize what you want when clicking the command
- Custom include / enable command
- rescue image when image missing (or when you have not made it yet)
- ability to swap command image to selected version when hovered.
- MOSTLY WORKING common event execute inside the scene

■ Changelog ╒══════════════════════════╛
Code:
   v1.1 2020.11.22           > Minor RegEx Fix to recognize more than one space in
                             filename when rescuing images.
                             > failsafe when user save the plugin as different name
   v1.0 2020.10.22           > Finish the plugins
■ Plugin Download ╒══════════════════════════╛
https://www.dropbox.com/s/4gv3tq6fxusgf4k/EST_PHONE_MENU_MZ.js?dl=0

addon:
EST_PHONE_ADDON_BASICMENU.js
add basic menu scene that FITS on the phone

■ Screenshots ╒══════════════════════════╛
Phone Menu
1603632965060.png

Using Other Image beside Phone
phonemenu dev03.jpg
■ Demo ╒══════════════════════════╛
https://www.dropbox.com/sh/vhf1jhpydfr3vne/AACXtmj85frlI81AAmAcK50Ha?dl=0
click download to download the entire folder.

later i might upload another demo when not using Phone Image.

■ How to use ╒══════════════════════════╛
1> install the plugin
2> set the plugin parameters (see ■ Parameter below for more info)
also setup your menu command there.
a> first set the folder path where you will put the images
b> set the phone image, phoneBG image, and rescueBG image
c> add the menu command (with all the condition and script when chosen)

[optional] only if you're using your own image...
d> set PhoneXpos, PhoneYpos, phoneBGXoffset, phoneBGYoffset value
e> set your phoneBGWidth and PhoneBGHeight
this is required because image loaded asynchronously.
f> set your command image pixel size
this is required because image loaded asynchronously.

3> place the all the phone image in the folder you specify at Plugin parameter
make sure to at least place the phoneIMG image, rescueBG image, rescueCommand image
the rest of the image you can add gradually when you working on your project.
4> your phone menu engine is now working.
5> you can also set the Scene_Phone to replace Scene_Menu in plugin parameter
6> you can also set the Scene_PhoneAddonLoad to replace Scene_Load in plugin parameter

still confused? check the demo instead.

you can also use plugin commands to modify few things... check the plugin command
section for more info.

■ Dependencies ╒══════════════════════════╛
none

■ Compatibility ╒══════════════════════════╛
MZ is new engine... so i cannot say for sure.
but it should be compatible with most things.

■ Parameters ╒══════════════════════════╛
!Main Settings
>> folderPath
~ folder inside img/ where you place the phone files

>> phoneIMG
~ Image name of the Phone base

>> phoneBG
~ Image name of the Phone background

>> rescueBG
~ Image name for rescuing when BG not exist

>> Rescue Alert Method
When rescuing the image... how you want to be warned...
@option console.log() -> write on console
@option alert() -> throw alert

>> Phone as SceneMenu.
~ If set to true... this will open Scene_Phone instead of Scene_Menu
when opening menu from map / event.

!Phone Position Settings
>> phoneXpos
~ Position X of the phone

>> phoneYpos
~ Position Y of the phone

>> phoneBGXoffset
~ offset x coordinate of the Phone Background

>> phoneBGYoffset
~ offset y coordinate of the Phone Background

>> phoneBGWidth
~ Width of the Phone Background (in pixel)

>> phoneBGHeight
~ Height of the Phone Background (in pixel)

!Phone Content
>> Phone Command Settings
~ Set your menu title, condition to be included, condition to be enabled,
and what script execute when chosen.
it's a list of struck that you can add easily.
+ Command Title -> The name of the command. the image will also use this name.
+ Script -> Script that executed when choosing that command.
+ Include Condition -> Condition so this command included. left it blank if
you want it always include
+ Enable Condition -> Condition so this command enabled. left it blank if you
want it always enabled

>> rescueCommand
~ Rescue Command Image when icon command didn't have image
(ex: still in Development)

>> Menu Max Cols
~ How many column your command menu

>> Menu Max Rows
~ How many rows your icon command

>> Menu Command Height
~ Height of your icon command (can be the same with your image size or add
some space for title below it)

>> Center Icon Command
~ true => command icon image centered. requires to fill the command size parameter below.

>> Command Image Width
~ your icon image Width in pixel. will be calculated for centering the icon

>> Phone Draw Titles
~ true => draw command title, false => if your image already clear what the command do

>> Phone Dynamic Icon
~ true => when highlight command. will change to "_select" version of it.

>> Phone Hide Cursor
~ true => the cursor highlight will not shown... (combine with Dynamic Icon)

!advancedSettings
>> Custom Function
~ Custom function you can define to included inside the Phone Scene.
can be called with this.yourFunction() later.

■ Plugin Commands ╒══════════════════════════╛
>> Call Scene_Phone
~ calling Scene_Phone.

>> Change Phone Image
~ Changing the phone image
+ ImageName: Name of your Image files (without .png)

>> Change Phone Background Image
~ Changing the phone background image
+ ImageName: Name of your Image files (without .png)

>> Phone Replace Menu
~ Scene_Phone replace Scene_Menu or not?.
+ Phone as SceneMenu: If set to true... this will open Scene_Phone instead of Scene_Menu

>> Add Phone Command
~ adding new phone command.
+ Command Title: The name of the command. the image will also use this as filename.
+ Script: Script that executed when choosing that command.
+ Include Condition: Condition so this command included. left it blank if you want it always include
+ Enable Condition: Condition so this command enabled. left it blank if you want it always enabled

>> Modify Phone Command
~ Modify existing phone command.
+ Command Title: The name of the command. the image will also use this as filename.
+ Script: Script that executed when choosing that command.
+ Include Condition: Condition so this command included. left it blank if you want it always include
+ Enable Condition: Condition so this command enabled. left it blank if you want it always enabled
■ License ╒══════════════════════════╛
Free to use in all project (except the one containing pornography)
as long as i credited (ESTRIOLE).

■ Extra Credit ╒══════════════════════════╛
None

■ Support ╒══════════════════════════╛
While I'm flattered and I'm glad that people have been sharing and
asking support for scripts in other RPG Maker communities, I would
like to ask that you please avoid posting my scripts outside of where
I frequent because it would make finding support and fixing bugs
difficult for both of you and me.

If you're ever looking for support, I can be reached at the following:
[ http://forums.rpgmakerweb.com/ ]
pm me : estriole

also support to compatibility with VisuStella is not possible.
because their code is obfuscated thus cannot be read by human.
if there's incompatibility... please ask VisuStella Team.

■ Donate ╒══════════════════════════╛
If you want to support my work you can donate here
https://www.makerdevs.com/profile/estriole

■ Author's Notes ╒══════════════════════════╛
None
 

Attachments

  • 1603632942923.png
    1603632942923.png
    607.4 KB · Views: 98
Last edited:

Halcy0n

Smoke and Mirrors
Veteran
Joined
Feb 6, 2013
Messages
376
Reaction score
246
First Language
English
Primarily Uses
RMMZ
Ha! This is absolutely perfect for one of my current projects. Fits like round peg in a round hole. Thank you for this!
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
updated plugin to v1.1
Code:
   v1.1 2020.11.22           > Minor RegEx Fix to recognize more than one space in 
                             filename when rescuing images.
                             > failsafe when user save the plugin as different name
 

Ender570

Villager
Member
Joined
Jan 24, 2021
Messages
16
Reaction score
4
First Language
English
Primarily Uses
RMMZ
Hello! This is amazing! Thank you so much for this!

I have a problem that I'm hoping you could help me with, though. I was having an issue with the actor select and the status menu

I changed all of my terms because my game doesn't implement a battle system (it's about collecting clues and solving mysteries), but some of them are still showing up as the original term

In the Actor select screen, it still shows their level as "Lv 1" even though I changed the term for Level and Level (abbr.) to Age (I would rather it didn't show anything here at all, actually. I'm using "level" as an easy way to show a character's age in their bio)

It also shows "LV" on the Status screen. Another problem on the status screen is the EXP bar. I changed EXP and EXP (abbr.) to "Cases Solved", but it is still showing up as EXP.

I can't seem to find where you have these listed in the code at all!
Thank you!
:]
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
ah sorry i forgot to change the lv and exp to use the term instead of hardcoded text...
i use hardcoded so i can create the plugin faster then i planned to replace it later with terms... but apparently i forgot :D...

updated the EST_PHONE_ADDON_BASICMENU.js
plugin to v1.2
changelog:
EST_PHONE_ADDON_BASICMENU.js
v1.2 2021.01.30 remove the hardcoded lv and exp text... now use database term
add plugin parameter Max Level Text... so user can change it.

grab the addon plugin to update your project...
EST_PHONE_ADDON_BASICMENU.js
link in opening post above
(the main plugin does not need to be updated)

then you can change the term to what you want...
btw change the
Level (abbr.)
and
EXP (abbr.)
term instead of the longer version of it...

tell me if there's bugs because of this changes...
hope this help...
 

Makeratore

Veteran
Veteran
Joined
Feb 9, 2014
Messages
237
Reaction score
87
First Language
Italian
Primarily Uses
RMMV
@estriole I love your plugins! I was wondering if you could port your Build And Decor Series plugins from MV to MZ. :kaojoy:
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
@estriole I love your plugins! I was wondering if you could port your Build And Decor Series plugins from MV to MZ. :kaojoy:
thank you :D... for build and decor series... build and decor series MV version have lots of 'flawed' design... so instead of porting it... i have plan to remade the plugin in MZ later... but i haven't got time because of work IRL...

i also still halting my game project waiting for moghunter Star Engine (>.<) to be released... before resuming my game project and become more active in making plugin again...
 

Makeratore

Veteran
Veteran
Joined
Feb 9, 2014
Messages
237
Reaction score
87
First Language
Italian
Primarily Uses
RMMV
thank you :D... for build and decor series... build and decor series MV version have lots of 'flawed' design... so instead of porting it... i have plan to remade the plugin in MZ later...

Oh, wow! That's great! I can't wait for the new Build And Decor Series! :D
 

cabanas_ds

Veteran
Veteran
Joined
Aug 13, 2020
Messages
100
Reaction score
26
First Language
english
Primarily Uses
RMMV
absolutely awesome!

any way to run a common event when you click on an icon?

edit: ok sorry I got it!

$gameTemp.reserveCommonEvent(n);
 
Last edited:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
absolutely awesome!

any way to run a common event when you click on an icon?
yes you can... if you see in the demo i set browser icon to execute common event 1.
and map icon to execute common event 2.

you can open the demo and see this steps...
url image hosting

basically call common event using this code as the "command" script:
Code:
$gameTemp.reserveCommonEvent(2);
this._phoneCommand.activate();
change 2 to your common event id...

also this plugin also allow you to execute most of the common event directly from the phone scene instead of going to map scene like how the default menu work...

hope this help.
 

cabanas_ds

Veteran
Veteran
Joined
Aug 13, 2020
Messages
100
Reaction score
26
First Language
english
Primarily Uses
RMMV
yep, got that working great.

now just wondering with the call function.. can you have that set to not just actors that are currently in your party?

so you can call party members & maybe have them spawn near you, then join your party.

is this possible?

so far I'm loving the phone, since playing the new South Park game having a mobile phone as your main menu seems legit.

edit: I've also noticed that Galv's Message Styles msg box disappears when the menu is open.
edit 2: turns out it's all the msg windows disappear, you only get the pure text, no window.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
yep, got that working great.

now just wondering with the call function.. can you have that set to not just actors that are currently in your party?

so you can call party members & maybe have them spawn near you, then join your party.

is this possible?

so far I'm loving the phone, since playing the new South Park game having a mobile phone as your main menu seems legit.

edit: I've also noticed that Galv's Message Styles msg box disappears when the menu is open.
edit 2: turns out it's all the msg windows disappear, you only get the pure text, no window.
for call function... it's not possible at the moment... since the talk function is written to talk to your current party member... maybe later when i have time i might add feature to specify the actor that inside the 'phone' call list...

for msg box window disappear... it might be incompatibility with other plugin... since with default MZ it's not happening (you can see in demo it works fine)...


since you said it might be Galv's Message Styles... i will try to grab that plugin and try to do some compatibility patch later... but... currently busy till about May 15th... so i don't know when i have time to work on that... sorry it it will take a little bit more time...


edit: i do some quick try installing Galv Message Style... i place it below my plugin... and it work's fine.... can you try maybe your other plugin causing the incompatibility (removing message windows)... try disabling your plugin one by one till you found the conflicting plugin with my plugin...

if it's indeed galv message style... can you list step by step on how to replicate the incompatibility...
and if possible please provide a small demo with conflicting plugin that replicate that issues...
 
Last edited:

supadett

Warper
Member
Joined
Apr 26, 2021
Messages
1
Reaction score
0
First Language
Thai
Primarily Uses
RMMZ
Can I split phone menu from menu to other UI like when I want to see Phone i can press some key on keyboard and i can press escape to see my orginal menu
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
Can I split phone menu from menu to other UI like when I want to see Phone i can press some key on keyboard and i can press escape to see my orginal menu
yes you can in theory... there's plugin parameter that make the phone menu replace menu OR NOT...
so you can basically have default menu and phone menu in separate...

but... to make it 'press some key on keyboard'... you might need another plugin for that... i think there's a lot of keyboard/button common event plugin out there... maybe something like this.

then just create common event that binded with that button to call phone menu... you can do that by calling the plugin command Call_Scene_Phone...

hope this help...
 

Redu

Villager
Member
Joined
May 30, 2021
Messages
5
Reaction score
1
First Language
Polish
Primarily Uses
RMMZ
Hello, is there any way to add a script showing the current state of the currency you have?
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
do you mean showing the current state of the currency you have in phone menu?
 

Redu

Villager
Member
Joined
May 30, 2021
Messages
5
Reaction score
1
First Language
Polish
Primarily Uses
RMMZ
do you mean showing the current state of the currency you have in phone menu?
Yes ^^ im begginer in creating anything in rpg maker also in java script
 

Tianura

Villager
Member
Joined
Apr 30, 2014
Messages
11
Reaction score
2
First Language
English
Primarily Uses
Hi, I'm using your plugin and absolutely love it. I wanted to ask if I could make an SMS system here? Where the player can be a part of chats with in-game characters and reply with options.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,503
Reaction score
729
First Language
indonesian
Hi, I'm using your plugin and absolutely love it. I wanted to ask if I could make an SMS system here? Where the player can be a part of chats with in-game characters and reply with options.
this plugin is a menu engine... so basically you can link anything to it... you might want to code your own scene to SMS system though then link it to menu engine... OR you could also utilize common event since this menu engine can call common event...
 

dandi_04

Warper
Member
Joined
Mar 8, 2021
Messages
1
Reaction score
0
First Language
Spanish/English
Primarily Uses
RMMZ
Hello :LZSjoy:

I'm a bit new to rpg maker plugins and I've seen this one, which I thought was amazing and I think it could help me a lot, but I wanted to ask if you wouldn't have a demo using another image instead of the phone, I read that maybe you would upload one and I don't know if it's somewhere else or if you didn't upload it.

I hope you can help me.
 

Latest Threads

Latest Profile Posts

Don't you just hate it when you get a high level armor only for it to look like a metal plated bikini on your female character?? Seriously. How can that protect you??? Enemies can hit the squishy parts! :kaosigh:
Bathrooms are not designed for the middle of the night.
so... I decided since a park was an area in my game... here's an enemy that's slide with a hand behind it. cause why not.

Forum statistics

Threads
115,277
Messages
1,088,560
Members
149,890
Latest member
mekiboss
Top