Skip to content

Psychotic Octopus

Compare
Choose a tag to compare
@bjornbytes bjornbytes released this 05 Apr 04:05

Add:

  • Add a no game screen.
  • Add an error screen.
  • Add lovr.controllerpressed and lovr.controllerreleased callbacks.
  • Add lovr.focus callback.
  • Add support for creating skyboxes from a single equirectangular image.
  • Add lovr --version command line flag.
  • Add lovr.getOS.
  • Add Source:getFalloff and Source:setFalloff.
  • Add Source:getVolumeLimits and Source:setVolumeLimits.
  • Add Source:getCone and Source:setCone.
  • Add Source:isRelative and Source:setRelative.
  • Add Source:getVelocity and Source:setVelocity.
  • Add lovr.audio.getVelocity and lovr.audio.setVelocity (called automatically in lovr.run).
  • Add lovr.audio.getDopplerEffect and lovr.audio.setDopplerEffect.
  • Add lovr.audio.isSpatialized.
  • Add lovr.filesystem.load.
  • Add lovr.filesystem.createDirectory.
  • Add lovr.filesystem.getAppdataDirectory.
  • Add lovr.filesystem.getDirectoryItems.
  • Add lovr.filesystem.getLastModified.
  • Add lovr.filesystem.getSaveDirectory.
  • Add lovr.filesystem.getSize.
  • Add lovr.filesystem.isFused.
  • Add lovr.filesystem.newBlob.
  • Add lovr.filesystem.remove.
  • Add lovr.filesystem.mount and lovr.filesystem.unmount.
  • Add Mesh:isAttributeEnabled and Mesh:setAttributeEnabled.
  • Add lovr.headset.isMirrored and lovr.headset.setMirrored. The initial value can be set in conf.lua (t.headset.mirrored).
  • Add parameters to lovr.graphics.print for aligning text horizontally and vertically.
  • Add Font:getPixelDensity and Font:setPixelDensity for controlling scales of fonts independent of units.
  • Add Font:getWidth, Font:getHeight, Font:getAscent, Font:getDescent, and Font:getBaseline.
  • Add lovr.graphics.getBlendMode and lovr.graphics.setBlendMode.
  • Add lovr.graphics.getSystemLimits for returning the maximum point size, the maximum texture size, and the maximum supported msaa level for render textures.

Change:

  • Rename Buffer to Mesh.
  • lovr.graphics.scale accepts a single argument that will scale all 3 axes.
  • lovr.graphics.rotate defaults to rotating around the y axis.
  • Allow sending Transforms to mat4 uniforms in shaders.
  • Framebuffers now clear their depth buffer when created.
  • Rename Source:getOrientation and Source:setOrientation to Source:getDirection and Source:setDirection.
  • Allow lovr.headset.getEyePosition to accept nil as a parameter.
  • Change the signature of lovr.graphics.print.
  • Change functions that created resources from files to accept Blobs.

Fix:

  • Fix coordinate system not resetting when calling lovr.graphics.reset.
  • Explicitly error when attempting to position a stereo Source.
  • Fix a few edge cases in reference counting that resulted in crashes.
  • Fix a crash if the error handler caused an error.

Remove:

  • Remove Source:getOrientation and Source:setOrientation (renamed to getDirection and setDirection).
  • Remove support for several 3D model file formats to reduce executable size. The supported formats are now OBJ, FBX, and COLLADA.
  • Remove support for several physfs archive formats to reduce executable size. The only supported format is now ZIP files.
  • Remove lovr.graphics.setProjection.