diff --git a/misc/Changelog.txt b/misc/Changelog.txt index 7948f0b..2fed97e 100644 --- a/misc/Changelog.txt +++ b/misc/Changelog.txt @@ -1,6 +1,20 @@ Changelog Hot Particles +v1.7 (2021-01-10) +- Project files can be renamed from the tab context menu. +- Added menu button for reopening the current project. +- Added shortcuts for reordering systems and projects. +- Less undo history entries are created for sliders when nudging with the arrow keys. +- Fixed 'pixelate textures' visually only updating the current system's texture if custom textures are used. +- Animation editor: Frame size being 0 now means full image length. +- Animation editor: Showing image borders. +- File browser: Keyboard navigation for file list. +- File browser: Press tab to auto-complete filename. +- File browser: Hold ctrl to select multiple project files to open. +- File browser: Showing a better initial folder in some cases. +- File browser: Folder back/forward buttons. + v1.6 (2020-08-22) - Added custom visual rectangular regions. - Added preference for the initial system in new projects to be completely empty. diff --git a/misc/README.txt b/misc/README.txt index 822475d..4646064 100644 --- a/misc/README.txt +++ b/misc/README.txt @@ -269,9 +269,9 @@ files are copied). You can export to files or to the clipboard. In the export dialog, any question marks ("?") in the file/folder paths will be replaced with the name of the project file (without the file extension). -Exporting happens using Lua scripts in the "exportTemplates" folder. You can -edit existing scripts or make completely new ones to fit your game (see the -"Template API" section). +Exporting happens using Lua scripts in the "exportTemplates" folder (in macOS +see HotParticles.app/Contents/Resources). You can edit existing scripts or +make completely new ones to fit your game (see the "Template API" section). The base folder, if specified, should usually point to the folder containing the game's main.lua. Note that textures that are somewhere in the base folder @@ -282,9 +282,10 @@ will not be copied. 8. Template API ============================================================================== -Templates are normal Lua scripts in the "exportTemplates" folder. Some of the -standard Lua globals and modules are available, but not all. Note that trying -to set globals will result in an error. +Templates are normal Lua scripts in the "exportTemplates" folder (in macOS see +HotParticles.app/Contents/Resources). Some of the standard Lua globals and +modules are available, but not all. Note that trying to set globals will +result in an error. Functions: diff --git a/misc/appInfoTemplate.plist b/misc/appInfoTemplate.plist index 7dc58d4..a3aa046 100644 --- a/misc/appInfoTemplate.plist +++ b/misc/appInfoTemplate.plist @@ -18,8 +18,9 @@ NSHumanReadableCopyright${copyright} - CFBundleIconFileAppIcon - CFBundleIconNameAppIcon + CFBundleIconFileAppIcon + CFBundleIconNameAppIcon + CFBundleIconFilesAppIcon CFBundleSignature???? diff --git a/misc/version.txt b/misc/version.txt index ce6a70b..9dbb0c0 100644 --- a/misc/version.txt +++ b/misc/version.txt @@ -1 +1 @@ -1.6.0 \ No newline at end of file +1.7.0 \ No newline at end of file diff --git a/src/build.gloa b/src/build.gloa index bbcec1f..0a9358b 100644 --- a/src/build.gloa +++ b/src/build.gloa @@ -244,13 +244,14 @@ local doRelease :: () { os.execute("ROBOCOPY", {values.loveAppPath.."/Contents/MacOS", contentsDir.."/MacOS", "/E", "/LOG+:"..PATH_RC_LOG}) -- Create .icns. - !import"macos/icns".create("temp/appIcon.icns", { + local ok, err = !import"macos/icns".create("temp/appIcon.icns", { {path="gfx/appIcon16.png", size=16}, {path="gfx/appIcon32.png", size=32}, {path="gfx/appIcon64.png", size=64}, {path="gfx/appIcon128.png", size=128}, {path="gfx/appIcon256.png", size=256}, }) + if not ok error(err) -- Create other files. local infoPlist = readFile("misc/appInfoTemplate.plist") @@ -273,7 +274,7 @@ local doRelease :: () { -- Add remaining files. do { - copyFilesInDirectory("exportTemplates", outputDir.."/exportTemplates", "%.lua$") + copyFilesInDirectory("exportTemplates", contentsDir.."/Resources/exportTemplates", "%.lua$") copyFile(values.lovePath, contentsDir.."/Resources/Game.love") copyFile("temp/appIcon.icns", contentsDir.."/Resources/AppIcon.icns") copyFile("misc/Changelog.txt", outputDir.."/_Changelog.txt")