Skip to content

Releases: ShadowMario/FNF-PsychEngine

0.7.3

15 Jan 05:39
Compare
Choose a tag to compare
  • Split vocals option (Voices-Player.ogg and Voices-Opponent.ogg)
  • Aseprite .JSON character/sprite support
  • Minor bug fixes
  • Reverted goodNoteHit and opponentNoteHit lua/hscript code to pre-0.7.2

I fucked up, shouldn't have swapped out the order of goodNoteHit/opponentNoteHit, this caused a bunch of mods to misbehave on note hits in the latest update.

0.7.2h

25 Dec 16:33
Compare
Choose a tag to compare
  • Added removeHScript and instanceArg to Lua
  • Fixed some crashes and minor bugfixes

0.7.2

22 Dec 17:10
Compare
Choose a tag to compare

Merry Christmas!

  • Replaced Smokey's Animate Atlas system with FlxAnimate
  • Achievements Menu Reworked
  • Mods Menu Reworked
  • Character Editor revamp
  • Softcoded Achievements
  • Mod Settings
  • Week 7 memory usage has been drastically reduced
  • Characters can now load Animate 2020+ Atlas files and will use much less memory
  • Achievements.hx is much easier usable now
  • Input System V3 (ft. CrowPlexus and Tahir)
  • Reworked Freeplay Menu Music Player (ft. Tahir Karabekiroglu)
  • Added Guitar Hero-styled Sustains Option (Sustains as One Note setting)
  • Merged Preload folder with Shared for easier understanding
  • Updated SScript to 7.7.0
  • Added CrowPlexus, Tahir and CheemsAndFriends to the credits
  • Accepted a couple of Pull Requests
  • Minor bug fixes

New Lua callbacks: goodNoteHitPost, opponentNoteHitPost
New Lua functions:

// Mod Achievements
isAchievementUnlocked(name:String)
unlockAchievement(name:String)
addAchievementScore(name:String, ?value:Dynamic = 1, ?saveIfNotUnlocked:Bool = true) //Turn saveIfNotUnlocked off if you constantly change the score
setAchievementScore(name:String, ?value = 1, ?saveIfNotUnlocked = true) //Turn saveIfNotUnlocked off if you constantly change the score
getAchievementScore(name:String)

achievementExists(name:String)
// Mod Settings
getModSetting(name:String, ?modFolder:String = null) //If your setting is a keybind, if you return a table with "gamepad" and "keyboard" values

// FlxAnimate sprites
makeFlxAnimateSprite(tag:String, ?x:Float = 0, ?y:Float = 0, ?loadFolder:String = null)
loadAnimateAtlas(tag:String, folderOrImg:String, ?spriteJson:String = null, ?animationJson:String = null)
addAnimationBySymbol(tag:String, name:String, symbol:String, ?framerate:Float = 24, ?loop:Bool = false, ?matX:Float = 0, ?matY:Float = 0)
addAnimationBySymbolIndices(tag:String, name:String, symbol:String, ?indices:Any = null, ?framerate:Float = 24, ?loop:Bool = false, ?matX:Float = 0, ?matY:Float = 0)

// Text
setTextHeight(tag:String, height:Int)
setTextAutoSize(tag:String, value:Bool)

New HScript functions: All Keyboard/Gamepad functions from Lua have been added to HScript aswell for conveniency, getModSetting has been added aswell and it works exactly like in Lua

Click here to see how to create Mod Settings and Achievements for your Lua Mod.

0.7.1h

31 Jul 03:13
a49994a
Compare
Choose a tag to compare
  • Added add, insert, remove, addBehindGF, addBehindDad, addBehindBF functions to HScript
  • Fixed runHaxeCode/runHaxeFunction having issues
  • Fixed sustains scale when you change playbackRate midsong through Lua/Haxe
  • Fixed HScript not showing errors properly
  • debugPrint can now be colored on Lua
  • debugPrint now automatically break lines
  • Updated SScript to 4.0.1 (Custom classes still don't work though!)
  • BPM can now be tweened through Lua/Haxe

0.7.1 - HScript Beta

27 Jul 18:03
953b1f2
Compare
Choose a tag to compare
  • Added HScript/.hx file support (Beta, susceptible to changes)
  • Added "Data" tab to Chart Editor
  • Added Game Over variables to Data tab of Chart Editor
  • Added "Disable Note RGB" option to Data tab of Chart Editor
  • Moved Chart's Note and Splash skins to Data tab of Chart Editor
  • Added Pause Menu chart checker
  • Implemented proper characterList.txt and stageList.txt support for mods
  • Fixed a crash related to No Miss achievements on custom weeks
  • Fixed Health bar colors not being able to be picked with GPU caching turned on

0.7 - Source Code Overhaul Update

23 Jul 21:01
Compare
Choose a tag to compare

Source code improvements

  • Nearly full overhaul on how the Source code works and how it was organized
  • Stages have been moved outside of PlayState (They can still be coded inside it the same way as before though)

New Options

  • New Experimental Option: GPU Caching (originally by Raltyro)
  • Options shortcut on Pause Menu
  • Controls Menu rework
  • Note Colors Menu rework

Controller Improvements

  • Automatized Controller Mode
  • All Menus (Not editors) are now interactable through a Controller

Notes additions

  • Added Note Skins and mod support to them
  • Simple note types can be made with a TXT file changing its properties instead of a (more laggy and complex) lua script

Note Splashes additions

  • Added Note Splash Skins and mod support to them
  • Updated Psych Note Splash graphics
  • Week 6 pixelizes Note Splashes automatically (ft. Gazozoz)

Events

  • Added Set Property and Play Sound events
  • Added onEventPushed callback to Lua
  • Fixed eventEarlyTrigger not working

Lua Mods stuff

  • Lua Mods can now change Discord RPC Application temporarily
  • Health bars can now support antialiasing and PNG files (using healthBar.leftBar.loadGraphic and healthBar.rightBar.loadGraphic)
  • Replaced Note Hue Shifting with Note RGB, allowing you to customize it much more properly, modders can disable hue shifting with "note.rgbShader.enabled = false"
  • Lua's HScript Interp can now run two or more scripts
  • Added onSpawnNote callback

Others

  • Freeplay/Chart Editor error warnings on failing to load a song
  • Latin Characters support (by Keoiki)
  • Updated HxCodec to 3.0
  • Chart Editor ESC/Playtesting loads almost instantly

Fixes

  • Fixed "Change Character" not precaching characters properly
  • Fixed Menus sometimes being stuck at an extremely slow framerate at higher framerate caps
  • Countless minor bugfixes
  • Multiple optimizations

0.6.3

18 Oct 04:05
eb0ade3
Compare
Choose a tag to compare
  • Runtime Shaders (by EliteMasterEric, ft. UncertainProd)
  • More customizability on Alphabet.hx and Auto-alignment code
  • Playback Rate/Sound Pitch as a Gameplay Modifier/Chart Editor setting (ft. BeastlyGhost & Yoshubs)
  • HScript to LUA communication through setVar/getVar
  • Bunch of lua fixes (ft. raltyro)
  • Optimized PNGs (ft. ACrazyTown)
  • Support to Custom Substates through Lua's HScript
  • Minor bug fixes

0.6.2

01 Jul 05:16
Compare
Choose a tag to compare
  • You can now use the mouse wheel to scroll through Freeplay/Story Mode
  • Fixed memory leaks that caused major lag spikes on the game (ft. BeastlyGhost)

Shoutouts to BombasticTom for testing on a PC worse than mine
If you're on the 0.6.1 Release build, it won't warn you about the update because i compiled with the wrong .bat file, oopsie.

0.6.1

28 Jun 03:20
Compare
Choose a tag to compare
  • Added HScript code lines interpreter to Lua
  • Added missing credits
  • Reduced Philly Glow intensity when Flashing Lights are turned off
  • Properly(?) synced Week 7 cutscenes
  • Fixed Quants on Chart Editor (thanke Kade)
  • Fixed Lua Memory leak
  • Fixed Return values on Lua
  • Minor bug fixes

Note: HScript shares a single interpreter (I'll be trying to fix this later), two scripts using the same variables might cause issues.

0.6 - Week 7 Update

25 Jun 22:20
Compare
Choose a tag to compare
  • Week 7
  • New option added: Opponent Strums
  • Ratings data can be changed through Lua
  • animOffset for Lua Sprites
  • Lua's setProperty can now change Arrays/Maps
  • Replaced Blammed Lights with Philly Glow and purposely hardcoded to Week 3
  • Added "Dadbattle Spotlight"
  • Updated FlxVideo library to HxCodec
  • Hurt notes now have Low Priority hitboxes
  • Time Signatures
  • New credits icons
  • Added Controller/Keyboard input methods for Lua
  • Major Lua reworks (by nebula zorua)
  • Crash Handler (by sqirra-rng)
  • Minor bug fixes