Skip to content

Releases: lovebrew/lovepotion

Löve Potion 2.0.0 Pre-Release 3

28 May 16:04
Compare
Choose a tag to compare
Pre-release

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.

Note:

  • physfs has been added as a dependency thanks to a port for both consoles. As a result, the save directory has moved to ./save/{identity} (as it is relative to the executable's directory).
    • This also allows the mounting of zip files, just like LÖVE and many other filesystem functions!

Shadow Update 2020-05-29 @ 10:44 EST:

  • Fixed a small regression for custom font loading

Shadow Update 2020-06-03 @ 02:30 EST:

  • Fixed love.filesystem.mount not working as expected
  • Fixed Nintendo Switch audio playback for Stereo output sources
  • Upgraded Lua to 5.1.5 (nothing really improved, although I noticed coroutines had some changes/fixes)

Shadow Update 2020-06-13 @ 10:02 EST:

  • Fixed audio failing to load on 3DS
  • Added love.filesystem.append

Löve Potion 2.0.0 Pre-Release 2

24 Apr 18:58
Compare
Choose a tag to compare
Pre-release

This is the second 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.

To Do:

  • Graphics transformations (translate/rotate/scale)
  • Canvas objects
  • UDP/TCP + HTTP implementations
  • Probably some other things I forgot, as usual

EDIT: Shadow Update as of 2020-05-01

  • Fixed HOME Button not working on Nintendo 3DS
  • Fixed rectangles not rendering with images (depth issue)
    • Thank you, ajusa for finding this
  • Fixed ROMFS not loading properly
    • Thank you, kiiwii for finding this
  • Added love.graphics.printf and fixed left justified
    • Thank you, mtheall!

Löve Potion 2.0.0 Pre-Release 1

10 Apr 19:54
Compare
Choose a tag to compare
Pre-release

This release is a complete rewrite of the entire framework.
See the gist collection here for the latest changes and fixes.

If you encounter any bugs, please submit an issue.
Want to join the community? You can find the Discord server on the Wiki

Work Remaining:

  • Some audio-related stuff
  • Keyboard module
  • System module
  • Touch module
  • Multiple Controllers on Nintendo Switch
  • Graphics transforming
    • love.graphics.(push/pop/translate)
    • Scaling textures and text when rendering
  • Most likely more stuff, but please open an issue if there is something in the list missing that I might be able to add!

EDIT: 2020-04-11 @ 19:10 EST
The binaries have been updated. A fix has been made for a memory leak while printing text on Switch and the following functions were implemented:

  • love.graphics.getWidth()
  • love.graphics.getHeight()
  • love.graphics.getDimensions()

Overdue 1.1.0

03 Jul 01:02
Compare
Choose a tag to compare

Additions

3DS:

  • love.graphics.circle
  • love.graphics.setDefaultFilter
  • Custom fonts via system font loading
    • Please use the mkbcfnt tool on *.ttf files
      • ex: mkbcfnt myfont.ttf -o myfont.bcfnt
  • Images and Fonts must use typical extensions LOVE would expect (e.g. `*.png and *.ttf)
    • I wrote a compatability checker to ensure it can find the t3x or bcfnt, allowing it to work seamlessly
  • love.graphics.set3D (why did I keep forgetting to add it?)
  • love.graphics.setDepth

Switch:

  • Text objects
  • Loading *.lpx files from the Homebrew Menu. Please see the wiki for details.
  • Critical Note
    • In order for Love Potion to work flawlessly on Nintendo Switch, users are urged to use atmosphere title takeover functionality. This ensures you get the best experience to create your game along with allowing use of the software keyboard.
  • Rounded rectangles

General:

  • love.joystickaxis for gyroscope and accelerometer reading functionality
  • TCP sockets -- you can now debug your games using lovebird!
  • Software keyboard functionality. Pass a table with specific string indexes to configure it.
Config Notes
type basic, numpad, and standard1
isPassword makes the text hidden after entry
header1 Header to display
subheader1 Sub-header to display
hint Text to prompt for on the input

1 Nintendo Switch only

  • HTTP functionality, except you can only get the buffer data at the moment. Useful for things like checking for game updates, DLC, etc. HTTPS also works, but does not on standard LOVE, use with caution.
  • Renamed love.system.getWifiStrength and love.system.hasWifiConnection to love.system.getInternetStatus--returns strength and if the console is connected. On Switch, you can specify ethernet or wireless as an argument

Fixes

3DS:

  • love.graphics.setScissor having issues
    • Still has some issues?
  • Audio would sometimes be slower/faster due to mixer rate being incorrect
  • Fixed the error handler because it would lock up the application, now you can exit properly

Switch:

  • Image and Font scaling, rotation, and offsetting (thanks @bms2993!)
  • Games could crash exiting with sound effects as "static"
    • Remedied in a prior commit (thanks @bms2993!)
  • There was an alleged regression with quads drawing at some point, along with alpha transparency applying
    • Fixed in a prior commit (thanks @bms2993!)

General:

  • Filesystem module now checks the save directory first before the game directory
    • This is the behavior expected from LOVE
    • Game directory being the game folder or romfs
  • Fixed an issue where reading a file could cause a crash (thanks @fincs!)
  • Fixed UDP socket code to be much more reliable
  • Return of the game folder!
  • Added the ability to quit the no game screen
  • Alpha value for love.graphics.setColor default to 1, as per LOVE documentation
  • General system stability improvements to enhance the user's experience.

Please review the wiki for getting your games up and running :)

Switch Release 1.0.3

05 Oct 23:12
Compare
Choose a tag to compare

Additions:

  • SDL2 uses hardware acceleration
  • love.graphics.printf
    • Can rotate, scale, and offset text
  • love.window.getFullscreenModes
  • love.system.getPowerInfo
  • love.graphics.getColor
  • Images can scale and rotate

Fixes:

  • Image flipping behavior is now more like LÖVE
  • love.graphics.setColor requiring r, g, b values so it errors if one is missing
    • Alpha component resets to 1 if not supplied
  • love.graphics.setDefaultFilter is now useful

Special Thanks:

  • NotQuiteApex
  • TheDax
  • Shrike
  • Many others I may have forgotten :)

Switch Release 1.0.2 Hotfix 2

02 Oct 01:56
Compare
Choose a tag to compare
  • Fixed image flipping
  • Error checks in conf.lua
  • Added love.graphics.printf

Switch Release 1.0.2 Hotfix 1

21 Sep 17:38
56239f6
Compare
Choose a tag to compare

Something went wrong with the old elf file.
Have a fresh one that isn't broken.

3DS Release 1.1.0-beta1 Hotfix 2

12 Sep 01:39
5257c14
Compare
Choose a tag to compare
Pre-release

Fixed loading of certain png file types (grayscale and stuff)

Switch Release 1.0.2

09 Sep 21:49
Compare
Choose a tag to compare
  • libnx 1.4.0 for bugfixes
  • http module (only basic requests)
  • basic threads, channels (kind of buggy)
    • only Thread:start() (no args) works at the moment
  • additional bugfixes to enhance the user experience™

Soon:

  • GPU rendering ( ͡° ͜ʖ ͡°)

1.1.0 Beta 1.1 Hotfix

29 Aug 18:57
7666ed1
Compare
Choose a tag to compare
1.1.0 Beta 1.1 Hotfix Pre-release
Pre-release
  • Fixes a regression in romfs loading. Kinda essential.