estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,407
Reaction score
654
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: 40
Last edited:

HalcyonDaze

Smoke and Mirrors
Veteran
Joined
Feb 6, 2013
Messages
370
Reaction score
241
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,407
Reaction score
654
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
3
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,407
Reaction score
654
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
215
Reaction score
72
First Language
Italian
Primarily Uses
RMMZ
@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,407
Reaction score
654
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
215
Reaction score
72
First Language
Italian
Primarily Uses
RMMZ
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
 

Latest Threads

Latest Posts

Latest Profile Posts

back in April of 2019, I watched my friend's art stream on twitch. that was when I got inspired to draw most of the assets for my game. it's been a LONG journey since, but totally worth it.
RPG MZ multiplayer in development
Square-Enix, why you didn't released the classic Dragon Quests on Steam yet? :kaocry:
This is by far my most favorite boss monster I've made, its name is Gosck
Froggo is back after a long break!

Forum statistics

Threads
109,139
Messages
1,042,479
Members
141,646
Latest member
Twigsmcsquids
Top