Skip to content

v0.8.0

Choose a tag to compare

@SylviBlossom SylviBlossom released this 10 Apr 00:16

A months-overdue release of changes, additions, and fixes to Kristal.

Breaking changes

  • fadeTo and fadeOutAndRemove now take 'time' arguments instead of 'speed'
  • Added fadeToSpeed and fadeOutSpeedAndRemove
  • Removed getSpeed, added getSpeedDir and getSpeedXY
  • Removed setRelativePos bc honestly who was using that
  • Map load now happens after Mod:load
  • Timer:everyInstant() now calls its function exactly 'count' number of times, instead of one extra time
  • Change arguments for SpeechBubble from text, x, y, speaker, right, style to text, x, y, options, speaker
  • Change arguments for Battler:spawnSpeechBubble() from text, right, style to text, options
  • Renamed dialogue text line_advance_callback to line_callback, made it get called on first line, and made it receive the line index
  • Renamed resetGraphicsTransform to resetGraphics
  • Made Cutscene:fadeOut/fadeIn not automatically wait
  • Renamed Utils.padSpacing to Utils.padString
  • Reaction data tables are now formatted like {text, x, y, face, actor} (changed from the previous arrangement of {actor, face, x, y, text})
    • Textbox:addReaction(id, text, x, y, face, actor) and SmallFaceText(text, x, y, face, actor) have been similarly changed
  • Removed shake_x and shake_y variables from Objects
  • Added Object:shake(x, y, friction, delay) and Object:stopShake()

There are many additions and changes that are hard to list here in a release!
Check the commits for a full changelog: v0.7.1...v0.8.0

Instructions

Windows: Download and extract the .zip, and run kristal.exe to play
Others: Download and install Love2D, and run the .love with Love2D to play

Check out the documentation for how to use this engine, and download example-mod.zip for mod structure, as well as overworld and battle examples.