Crossover between Psych Engine and newer versions of FNF (also known as V-Slice)
Explore the Wiki »
·
Report Bug or Request Feature
·
Create Pull Request
P-Slice engine is a crossover between Psych engine and the newest Friday Night Funkin.
It's meant to bring new visuals and features from newer versions of FNF and make changes to the existing ones to make them feel closer to the ones in the V-Slice.
- V-Slice's freeplay menu (with support for freeplay colors)
- Results screen
- Character selector
- Pausable cutscenes
- Pico
Mods made for P-Slice can select which sticker pack and set to use on the next sticker transition.
setPropertyFromClass("substates.StickerSubState", "STICKER_SET", "sticker-set-1")
defines which sticker set to use (it's the name of one of the directories in images/transitionSwag/
)
setPropertyFromClass("substates.StickerSubState", "STICKER_PACK", "all")
defines a pack of stickers to use from the current set. If such pack doesn't exist all defined stickers in a ".json" file will be used.
Freeplay supports 3 types of icons:
- FNF pre 0.3 (using character's head icon)
- FNF 0.3+ (located in
images/freeplay/icons/{charId}pixel.png
) - FNF 0.5+ (sparrow sprite located in
images/freeplay/icons/{charId}pixel
with .PNG and .XML files)
{charId} is the name of the character icon.
Mods can contain a registry
folder containing entries for P-Slice's registry system (structure is the same as in V-Slice)
They're used to implement custom characters and custom Freeplay styles.
If your mod is either is global or loaded as the first mod, you can add additional commercials in videos/commercials
to be used an AttractState
Pre-built Engine can be download from Releases. Also, Nightly/Beta Build can be download from Github Actions. (You needs to make a Github account.)
Distributed under the Apache License 2.0. See Licence for more information.