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,360
Reaction score
9,060
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,110
Reaction score
724
First Language
Polish
Primarily Uses
RMMV
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
3,214
Reaction score
1,904
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
4,908
Reaction score
1,884
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
4,908
Reaction score
1,884
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
4,908
Reaction score
1,884
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
4,908
Reaction score
1,884
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 Posts

Latest Profile Posts

Well turns out I'm not going to the fair... COVID cases way too high in my state. Instead I'll just go to Chuck E Cheese's and transfer all my tickets from Orlando to my normal PlayPass wristband.
NV4LMYs.gif

New UIs

The Sinners who Never Sinned thread has been approved by the moderators! Thank you so much!
:ewat:

index.php
I oughta set up my itch.io, but I'm like, uugghhh I DON'T WANNA. :kaocry: Why does errything feel like such a chore right now? I don't wanna just complain tho, so y'all got any hot tips for how to make a really pretty, sexy, sweaty, flowery itch.io page? BEST TIP WINS. :kaoluv:

Also here's a beautiful nymph to liven up the day for y'all! (No it's not me.)

alice_nymph(old).png
Hello again, guys! Today, I come to you with not one, not two, but THREE new emotion busts for Ramona!
RAng2FPS.gifRAng5FPS.gif
Anger

RWin2FPS.gifRWin5FPS.gif
Wink

RCry2FPS.gifRCry5FPS.gif
Crying

Forum statistics

Threads
118,757
Messages
1,118,472
Members
155,907
Latest member
valdemar
Top