Skip to content

Renamed project to KeepCoding

Pre-release
Pre-release
Compare
Choose a tag to compare
@Emik03 Emik03 released this 15 Apr 07:44
· 992 commits to main since this release
  • Added an error log if your library is out of date, only from the editor.
  • Added explicit casting from DynamicAudio to AudioSource.
  • Added explicit operators from ModuleContainer to either KMBombModule or KMNeedyModule.
  • Added implicit operators from KMBombModule and KMNeedyModule to ModuleContainer.
  • Added KMAudioRef extension methods to stop an array of sounds.
  • Added LoadVideoClips() in PathManager
  • Added loop argument to PlaySound().
  • Added more null checks and detailed exceptions, check the XML documentation for more details.
  • Added Mutate<TInput, TOutput>(), which can mutate any single item to anything else.
  • Added new Sound class, which encapsulates a sound (in-game or custom) and can attach it to a KMAudioRef.
  • Added NullCheck<T>, a fast way of evaluating and throwing a NullReference- or NullIteratorException if something's an error.
  • Added Sounds property in ModuleScript which encapsulates every sound played from PlaySound().
  • Added Values dictionary in ModInfo which retrieves all values in the form of a dictionary.
  • Changed ModInfo's properties to hide the setter.
  • Changed PlaySound() to return Sound arrays.
  • Changed private constants from PathManager to public.
  • Renamed library and namespace from KeepCodingAndNobodyExplodes to KeepCoding.