Rain and a screen tint over North Haven. What This Module Does
Three script-driven screen features, all kept in $gameScreen so they save:
Classes & Namespaces
Game_Screen
54 functions →
Sprite_RRText
4 functions →
Game_Picture
4 functions →
Sprite_Picture
4 functions →
Spriteset_Map
6 functions →
Spriteset_Battle
1 function →
Spriteset_Base
5 functions →
Game_Interpreter
4 functions →
Scene_Map
9 functions →
Game_Map
2 functions →
Game_Player
1 function →
Design Notes from the Source Code
Three script-driven screen features, all kept in $gameScreen so they save:
$gameScreen.rrWriteText(id, x, y, text, fixed, color, pictureId) and the rrAppendLine / rrAppendText / rrChangeText / rrMoveText / rrRemoveText / rrRemoveAllTexts family draw text at a screen position (or, fixed, a map position) in the window font, in a text colour of the window skin, with \V[n], \N[n], \P[n], \G and \C[n] codes. A text belongs to a picture: it shows while that picture does, just above it and at its opacity.
$gameScreen.rrSpriteAdd(name, image, blend, layer, x, y, scale, angle, z) and the rrSprite* family are pictures addressed by name instead of number, on one of 2003 1.12's map layers as pictures are (1 over the parallax, 2-6 among the tiles and characters, 7-8 with the pictures, 9 over the windows, 10 over those, none over all) with a z order within it (lower in front), a map binding that scrolls with the map, eased moves, scales, opacity, rotation and colour fades.
$gameScreen.rrPfxCreate(name, "burst" | "stream") and the rrPfx* family define particle effects (texture, amount, velocity, angle, colours, growth, timeout, gravity, layer) and burst or stream them at a point. Live particles are not saved; the definitions are.
The RPG Maker 2000/2003 importer targets these for the DynRPG text, sprite and particle-effect plugins, but they are ordinary engine features.
View reactor_screen_fx.js on GitHub · Hide internal (_) functions