11.3 (日本語)
LÖVE 11.3 のコードネームは Mysterious Mysteries (ミステリアス・ミステリー) です。現在公開中です。
Contents
11.2 からの変更点
機能追加
- FLAC 形式の音声ファイルへの対応を追加。
- Android 版におけるマイク録音の対応を追加。
- t.audio.mic の追加 (デフォルトは false です)。 Android では true に設定すると、ユーザからマイクのアクセス・録音権限の許可を要求します。
- Decoder:cloneの追加。
- Data:getFFIPointerの追加。
- Joystick:getDeviceInfoの追加。
- Joystick:getGamepadMappingString および love.joystick.getGamepadMappingStringの追加。
- love.math.colorToBytes および love.math.colorFromBytes の追加。
- love.window.setMode および love.conf へブール型である 'usedpiscale' を追加。 false 時は自動 DPI 尺度変更を無効にします。
- love.window.getDisplayOrientation および love.displayrotated コールバックの追加。
- love.window.get/setVSync の追加。ウィンドウの再生成不要で vsync を設定できるようになりました。
- love.window.getSafeArea の追加。
- Mesh:setVertices へのオプションとして頂点総数に関する引数を追加。
- ImageData と Images において rgba4, rgb5a1, rgb565, rgb10a2, rg11b10f, r8, rg8, r16, rg16, r16f, rg16f, r32f, および rg32f 形式 への対応を追加。
- 無圧縮ピクセルデータを有する .dds ファイルの読み込み機能を追加。
その他の変更
- 音声ファイル形式の検出方法を変更。認識不能の拡張子の場合、バックエンドで対応している全形式により探査します。
不具合修正
- Fixed "bad lightuserdata" errors when running love on some arm64 devices.
- Fixed boot.lua's line numbers in stack traces to match its source code.
- Fixed the deprecation system not fully restarting when love.event.quit("restart") is used.
- love.isVersionCompatible の修正。
- Fixed named Channels persisting across love.event.quit("restart") occurrences.
- Fixed race conditions when different love.physics Worlds are used in different threads.
- Fixed World:getJoints to return the fully resolved type of the Joint, instead of the base type.
- Fixed love.timer.sleep(0) to return control to the OS scheduler instead of being a no-op.
- Fixed love.math.randomNormal incorrectly using cached state after love.math.setRandomSeed or setRandomState.
- Fixed love.data.hash returning an incorrect hash for certain input sizes.
- Fixed love.data.newByteData to cause a Lua error instead of crashing when invalid arguments are used.
- Fixed the Data-returning variant of love.filesystem.read and File:read to return the number of bytes that were read.
- Fixed love.filesystem's require loaders to error instead of crashing when no argument is given.
- love.filesystem.mount(Data) の修正。
- Fixed a memory leak when loading files in some situations.
- t.audio.mixwithsystem の修正。
- Fixed audio clicks immediately after playing a Source on iOS.
- Fixed Source:play + Source:stop + Source:play looping the first few ms of sound for streaming Sources on iOS.
- Fixed Source:play + Source:seek looping the first few ms of sound for streaming Sources on iOS.
- Fixed occasional pops in streaming sources on iOS.
- Fixed love.audio.play(sources) to use previously set playback positions on stopped Sources.
- Fixed Source:setEffect(name, true) and Source:getEffect(name) when the effect has no associated Filter.
- Fixed love.audio.newSource(filename, "queue") to cause a Lua error.
- Fixed Source:setPitch to error if the given pitch is <= 0, NaN, or infinity.
- Fixed video seeking and pausing in various scenarios.
- Fixed an audio Source memory leak when a Video gets garbage collected after playing it.
- Fixed video playback support on some Adreno-based Android devices.
- Fixed black fringes around text in some situations.
- Fixed extreme flickering when text moves along non-integer coordinates.
- Fixed the first character in a string sometimes not being processed during text vertex generation.
- Fixed Text:set(" ") not clearing any previously set text in a Text object.
- Fixed love.graphics.getTextureTypes to return a table with boolean values in its fields instead of number values.
- Fixed lines not rendering properly if a single line has more than 65,000 vertices.
- Fixed a pixel shader performance regression on some graphics drivers when OpenGL 3 or OpenGL ES 3 is used.
- Fixed text not showing up on Radeon HD 3000-series graphics cards on Windows.
- Fixed non-integer DPI scale values being truncated to integers in love.graphics.newCanvas.
- Fixed creating depth canvases on Windows systems when using an Intel HD 3000 GPU.
- Fixed automatic batching performance to be more consistent on all operating systems.
- Fixed gammaToLinearPrecise in shaders not being as precise as it should be.
- Fixed ImageData:paste and ImageData:setPixel to have more consistent clamping and rounding of color values when different formats are used.