Spbker

Villager
Member
Joined
Sep 11, 2021
Messages
16
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,245
Reaction score
9,013
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,056
Reaction score
686
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
16
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
2,780
Reaction score
1,629
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
16
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,685
Reaction score
1,799
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
16
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,685
Reaction score
1,799
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
16
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,685
Reaction score
1,799
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
16
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,685
Reaction score
1,799
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

We must press on. For all those we couldn't save. For all those we might yet save.
FirestormNeos wrote on DarkPlasmaBall's profile.
asking this here instead of the thread in question to avoid derailing it, but I'm curious; is there a particular reason you'd include a "Terms of Use" for an RPG Maker game? Like, are there multiplayer features for the game you're working on?
The holidays are upon us! Everyone search for safety from the grocery store music!
I don't understand people sometime. Walking to work today came across someone walking the opposite way in a nice suit, I politely move to the side into the shrubbery so he doesn't have to get his suit dirty and say "good morning" as he passes me, he turns around glaring daggers and asks "why are you talking to me?" like he's bloody offended by me wishing him a good morning or something. Just, why?
I dreamed about watching Gackt concert live.
He was riding some kind of crescent moon boat.
But his appearance resembled Andhika Kangen Band (Indonesian singer),
and the first song he sang was L'arc en Ciel's Hitomi no Jyuunin.
Weird, but still beautiful though. :D

Forum statistics

Threads
117,136
Messages
1,104,883
Members
153,200
Latest member
OpalWysty
Top