Skip to content

Releases: lovebrew/lovepotion

LÖVE Potion 2.3.2

01 Mar 18:14
Compare
Choose a tag to compare

This is a minor release for LÖVE Potion 2.3.x. This addresses the following:

Additions

General

  • lua-https (LÖVE 12.0 feature, use at your own risk since it is unreleased)

Fixes

Nintendo 3DS

  • Reloading textures would not be released properly, causing its old memory to be unfreed.
  • Getting a really long error backtrace would crash the system. It has been mitigated.

Misc.

General system stability improvements to enhance the user's experience.


Shout-Outs

  • @devkitPro for their awesome toolchains and helpful experience

Patreon Patrons

  • supergrom

Update 2022-05-03

  • Fixed an issue with the Switch version not exiting properly/crashing due to threads

LÖVE Potion 2.3.1

01 Feb 19:31
Compare
Choose a tag to compare

This is a minor release for LÖVE Potion 2.3.x. This addresses the following:

General

  • Fixed a potential issue where providing bad data to love.graphics.newImage would crash the console.
    • This now produces the proper error as would be expected on normal LÖVE.
  • Updated the JPGHandler class to use <jpeglib.h> instead of <jpegturbo.h>.
    • This does not affect any JPG loading.
  • Versioning number updates are more reliable to be done from the Makefile.
    • Not entirely important for end-users, but is noteworthy.

Shout-Outs

  • @devkitPro for their awesome toolchains and helpful experience
  • @piepie62 for help with the Version class system insights

Patreon Patrons

  • supergrom

LÖVE Potion 2.3.0

07 Jan 19:40
Compare
Choose a tag to compare

This release brings in some new goodies and fixes.

Additions

General

  • Added the love.image module
  • Added Data as a supported item for FileData construction
  • Added ByteData:clone()

Nintendo Switch

  • Support for the following compressed texture formats:
    • *.dds
    • *.astc
    • *.pkm

Fixes

Nintendo Switch

  • Fixed rounded rectangles with more than half width points

Other

  • Body:getLocalPoints() already exists as of 2.1.0

Misc.

General system stability improvements to enhance the user's experience.

Shout-Outs

  • @devkitPro for their awesome toolchains and helpful experience
  • @mtheall for helping debug the image module on Nintendo 3DS
  • @piepie62 & DeltaV for misc. debugging of ImageData on 3DS

Patreon Patrons

  • supergrom

LÖVE Potion 2.2.0

24 Dec 21:14
Compare
Choose a tag to compare

Additions

General

  • Audio playback for global play, pause, and stop
  • Table and variadic versions of play, pause and stop functions
  • love.graphics.(get/set)BlendMode
  • love.graphics.(get/set)ColorMask
  • love.graphics.isActive
  • love.graphics.isCreated
  • love.graphics.getCanvas
  • love.math.noise
  • Networked debugger, simpler than using gdb on Nintendo 3DS!

Bugfixes

General

  • Fixed an issue where audio volume was not applied correctly
  • Various issues with love.window.showMessagebox
    • Thank you @htv04 for finding these
  • Fixtures not working properly with Fixture:getShape()

Nintendo Switch

  • Fixed an issue with audio not always playing correctly
  • Fixed an issue where Gamepad objects were not detecting the triggers as held down

Nintendo 3DS

  • Fixed audio being shaky/pitched at times
    • This may be from a prior release, but figured it should be mentioned
  • Canvases not clearing on first construction

Removals

Nintendo 3DS

  • Removed love.graphics.setBlendFactor
    • Colors can be multiplied as expected now with love.graphics.setColor, as of the newest citro2d version, using a special tinting mode
    • Big thanks to @fincs!

Misc.

  • General system stability improvements to enhance the user's experience.

Shout-Outs

  • @piepie62 - Help with the audio fixes for global play/stop/etc; general code help
  • @fincs - Awesome and amazing work on citro2d
  • @htv04 - Finding the issues with love.window.showMessageBox
  • hatoving - Finding out that I didn't implement love.graphics.getCanvas which fixes the STI library
  • @ajusa for their contributions towards the lovebrew tool
  • @devkitPro for their awesome toolchains and helpful experience
  • @mtheall - Helping me with code that I can't figure out, especially with networking stuff for nestlink
  • @WinterMute - for the original idea of a TCP network debugger tool

Patreon Patrons

  • supergrom

LÖVE Potion 2.1.2

25 Jun 20:16
Compare
Choose a tag to compare

Bugfixes

3DS

  • Potential issue with love.touchmoved corrected

Switch

  • Fixed delay with getting Gamepad axis data from a Gamepad object

LÖVE Potion 2.1.1

23 Jun 01:37
Compare
Choose a tag to compare

Bugfixes

General

  • Fixed inputs being dropped on multiple button presses

Additions

Switch

  • Enabled multi-controller support

Other

  • General system stability improvements to enhance the user's experience.
  • Several issues were fixed, and usability and stability were improved.

LÖVE Potion 2.1.0

17 Jun 00:02
Compare
Choose a tag to compare

Bugfixes

General

  • Fixed "fused" games causing errors
    • Fused games are now just the typical *.love file appended to the *.3dsx or *.nro binary
    • The best way to use custom metadata is via LÖVEBrew
  • Fixed Canvas objects not working as they should
  • Updates to Gamepad handling, improving responsiveness

3DS

  • Fixed several graphics primitives from being rendered properly
    • This along with graphical transformations
  • Fixed joystick:isGamepadDown to fire repeatedly, rather than only once
  • Fixed/mitigated a buffer overflow error with requiring files that don't exist

Switch

  • Fixed lined graphics primitives from rendering improperly
  • Fixed an annoying texture bug when creating a texture/font outside of love.load
    • Teextures/fonts would appear broken

Modifications

3DS

  • Renamed love.graphics.getStereoscopicDepth to love.graphics.get3DDepth
  • love.graphics.getScreens will return the 3D-enabled or disabled screen names
    • Enabled: "left", "right", "bottom"
    • Disabled: "top", "bottom"

Additions

General

  • Added love.system.getFriendCode()
  • Added constants love._potion_version_(major, minor, revision)
  • Added love.isVersionCompatible
    • Unlike LÖVE, this is purely for LÖVE Potion versions, see below
  • Added configuration value, config.potion_version for love.isVersionCompatible
  • Added the love.physics module
  • Added the following Font methods:
    • Font:getWrap
      • Only works on Switch
    • Font:setLineHeight
      • Only works (visually) on Switch
    • Font:getAscent
    • Font:getBaseline
    • Font:getDescent
    • Font:getDPIScale
    • Font:getFilter
    • Font:getKerning
      • 3DS has no kerning, always returns 0
    • Font:getLineHeight
    • Font:hasGlyphs
    • Font:setFallbacks
      • Only works on Switch
    • Font:setFilter

3DS

  • Added love.graphics.set3D(enable) to enable/disable 3D depth rendering
  • Added love.graphics.get3D() to return whether or not 3D depth is enabled
  • Added the love.font module

Switch

  • LÖVE Potion will now ask for a user account on startup under certain conditions.
    • This is so the system module can get the username and friend code
    • Single-user systems can disable player selection in System Settings, functionality should still work as expected.

EDIT 2021-06-17

  • A fix was deployed for 3DS involving lined mode primitives.

EDIT 2021-06-17 2

  • Fixed an issue with Gamepads not calling their callbacks for multiple button presses

LÖVE Potion 2.0.0

16 Jan 17:27
Compare
Choose a tag to compare

This is the official and stable release for LÖVE Potion, version 2.0.0.
You can find the supported API specifics on the Wiki

There's a lot packed into this release, as it's taken a good number of months to rewrite and add things.
You can find everything changed, added, or removed documented on the corresponding Wiki page

Please note the known issues at the bottom. I will be looking into those and hopefully get them resolved in a timely manner.
If there's any issues that come up while developing your game, please report them to this GitHub repository!

Huge Thanks

  • @piepie62 - testing, debugging with me
  • @mtheall - additional testing and debugging (and putting up with me)
  • @fincs - dealing with me and my stupidity and for creating deko3d
  • @devkitPro - for their amazing tools and work
  • all of the users of LÖVE Potion--my primary source of motivation for this project :D

Löve Potion 2.0.0 Release Candidate 1

03 Oct 19:54
Compare
Choose a tag to compare

This is the first Release Candidate for Löve Potion, version 2.0.0.
You may find the latest changes in the gist listing.

New:

  • Long-awaited Canvas objects!
  • Fixed love.graphics.printf to actually do left, center, and right alignments. justify works on 3DS, but Switch does not yet.

Update 2020-12-12 @ 23:30

  • An issue was resolved with 3DS streaming sources not playing correctly and locking up the console

NOTE:
love.graphics.rotate does not work properly(?), but is being addressed in the mat4 branch for sure. Release Candidate 2 will include these changes and more.

Löve Potion 2.0.0 Pre-Release 4

01 Aug 18:10
Compare
Choose a tag to compare

This is the third Pre-Release for Löve Potion, version 2.0.0.
You may find the latest changes in the gist listing.

Reminder that Pre-Release stuff is likely to have bugs, so please report them ASAP if you find something.
NOTICE: This is the last Pre-Release before Release Candidate.

New:

  • love.thread API
    • Thread
    • Channel
  • love.data API
    • Data
    • ByteData
    • DataView
    • CompressedData
  • love.sound API
    • Decoder
    • SoundData
  • Lua 5.3 string compatibility
  • Updated to Lua 5.1.5

Removals:

  • Lua 5.2/5.3 compatibility files
    • Conflicted with 5.3 string compatibility
    • Everything is fine, don't worry

Fixes:

  • 3DS: Compiled with libctru 2.0.0
    • Fixed ROMFS file stat
  • Switch: Compiled with libnx 3.3.0
    • Fixed ROMFS file stat

For further details on what's implemented and planned, please view the Project Tab

Shadow Update: 2020-08-14 @ 19:18

  • Fixed love.gamepadaxis not working properly
    • Long overdue bug not caught until recently
  • Threadable on Switch is now properly preemptive
  • Changed the Audio module pool to use a Threadable class