Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
19
Reaction score
7
First Language
russian
Primarily Uses
RMMZ
There is a "credits" button on the title page. What to write in the plugin so that when clicked, a map with scrolling text appears. For example, on the "exit" button, it is written "SceneManager.exit();"
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,769
Reaction score
9,305
First Language
English
Primarily Uses
RMMV
@Spbker Are you looking for help writing a plugin or are you looking for a plugin that adds a Credits scene to the menu?
 

fizzly

Veteran
Veteran
Joined
Mar 23, 2012
Messages
1,608
Reaction score
1,207
First Language
Polish
Primarily Uses
RMMZ
You mean is there a scene with credits? No, there isn't such a thing. Default credits just scrolls on the map, use "Show scrolling text" from event command menu.
 

Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
19
Reaction score
7
First Language
russian
Primarily Uses
RMMZ
I apologize for my English. I meant something else. There is a plugin "cgmz_titlecommandwindow" that opens additional commands in the title menu. There is a "credits" command. I do not know what to write in the plugin so that when you click the "credits" button, it throws to a certain scene in the game.
Menu.png
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
8,718
Reaction score
6,537
First Language
English
Primarily Uses
RMMV
The only thing that plugin does is add more commands to the title menu - it does not provide you any way to display a credits screen.

You would have to write the code for a credits scene yourself (or download another plugin for it...which would already give the option to add it to the title menu).
 

Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
19
Reaction score
7
First Language
russian
Primarily Uses
RMMZ
Thanks for explaining. I'm not good at java. please tell me what to write in the script so that when you click on the button, it transfers to a specific map (scene).
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,502
Reaction score
3,013
First Language
Dutch
Primarily Uses
RMMV
I use a function in my TF that does that, but plain simple.

at 2nd, it's not JAVA but JAVASCRIPT (JS) those are 2 complete different
languages.

most credits plugin uses a title scene command, but if you want to transfer
it to a map, you need this inside the common:
JavaScript:
    $gamePlayer._opacity = 0;
    $gamePlayer.reserveTransfer(map ID, x, y, direction, fade);
    SceneManager.goto(Scene_Map);

change MapID to the ID of the map,
x for the x position of player, (use -999 for off map)
y for the y position of player, (use -999 for off map)
Dir can be 0 and fade can be any, 0 = black fade, 1 = white, 2 is none I believe.
 

Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
19
Reaction score
7
First Language
russian
Primarily Uses
RMMZ
Writes
"Failed to load
data/Map 12345.json", a map called 12345.
I wrote this,
"$"$game Player._opacity = 0;
$ $gamePlayer.reserve Transfer(12345, 0, 0, 0, 0);
SceneManager.goto(Scene_Map);"
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,502
Reaction score
3,013
First Language
Dutch
Primarily Uses
RMMV
mapID 12345 dont exist (up to 999 I believe), and never use $$,
just exactly I used above.
 

Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
19
Reaction score
7
First Language
russian
Primarily Uses
RMMZ
maybe I didn't understand where to get the map ID from?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,502
Reaction score
3,013
First Language
Dutch
Primarily Uses
RMMV
the mapID can be found on the map on the bottom.
you would see 003, 34, 10 (this is MapID 3, X position 34 and Y position 10.

mapID, x, y is different for everyone depening on the map they use it for.
the same way, you make map transfers, you can select it by event commands
or by scriptcall, depending what you feel most comfortable with.

for example, you use mapID 5, and you dont want it visible, you use:
JavaScript:
    $gamePlayer._opacity = 0;
    $gamePlayer.reserveTransfer(5, -999, -999, direction, fade);
    SceneManager.goto(Scene_Map);

this load mapID 5, x and y position on -999, even if it can move, it takes,
999 tiles, if that spot is blocked or around it, it can never reach it, even
if you use -1 or -5.

if you want it on the map rather than the top corner or 0,0 use the coordinates
that fits, next to the mapID on your map you want to go too.
 

Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
19
Reaction score
7
First Language
russian
Primarily Uses
RMMZ
  • Thank you, everything worked out. I hope I didn't cause a lot of trouble)))
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,502
Reaction score
3,013
First Language
Dutch
Primarily Uses
RMMV
not at all, make sure $gamePlayer._opacity = 255 if you want it visible.
otherwise 0, null or false for invisible, but good luck on your project further.
 

Latest Threads

Latest Profile Posts

I've been working furiously on a small demo slice. But with King Slime so busy assets have been slow to form. No matter! I've got the demo for rpgmaker MZ and I'm using the 20 days to make a short and sweet demo game of fighting alongside your rival/boyfriend hehe Kind of like a mini challenge to myself
Yes my images are back ^^, hopefully they won't disappear again.:kaoangry:
It's Sunday. Stop working and take a break. Relax a little.
Ooops ended up trying out making my own A2 tile page instead of testing doors everywhere. Went well so far I think.
I guess I'm done making a blue squirrel's life difficult for posting new threads on different forums.
That's just for today so don't get used to this, squirrel-ish friend! :p

Forum statistics

Threads
131,487
Messages
1,220,217
Members
173,225
Latest member
ZecaVn
Top