Skip to content

Releases: britzl/defold-screenshot

Defold Screenshot 1.11.0

10 Jun 15:56
83c7a23
Compare
Choose a tag to compare

Updated to support Defold 1.9.0

Defold Screenshot 1.10.0

11 Apr 07:59
6eeef1b
Compare
Choose a tag to compare

CHANGE: Updated to support Emscripten 3 used in Defold 1.7.1

Defold Screenshot 1.9.1

02 Jun 05:57
02568bb
Compare
Choose a tag to compare

FIX: Push proper buffer size on the stack for pixels(). Thanks @aglitchman

Defold Screenshot 1.9.0

01 Jun 14:21
301a7d5
Compare
Choose a tag to compare

NEW: Added support for screenshot.pixels() and screenshot.buffer() to HTML5. Thank you @aglitchman for the contribution!

Defold Screenshot 1.8.2

29 Jan 22:25
d907c40
Compare
Choose a tag to compare
  • Fix screenshot.png() callback returning raw pixels
  • Fix memory leak and improve error handling

Thanks @dapetcu21

Updated how buffers are used internally

15 Dec 10:40
bc9a683
Compare
Choose a tag to compare
1.8.1

Use constructor for dmScript::LuaHBuffer (#16)

Defold Screenshot 1.8.0

25 Jan 15:21
ab415cd
Compare
Choose a tag to compare

NEW: Added an async/callback option for all three screenshot formats. Example:

-- fullscreen with callback
screenshot.png(function(self, image, w, h)
	-- do something with image
end)

-- partial with callback
-- 100x200 pixels starting from 0,0 (lower left corner)
screenshot.png(0, 0, 100, 200, function(self, image, w, h)
	-- do something with image
end)

-- fullscreen
local image, w, h = screenshot.png()

-- partial
-- 100x200 pixels starting from 0,0 (lower left corner)
local image, w, h = screenshot.png(0, 0, 100, 200)

Defold Screenshot 1.7.5

14 Jan 08:53
Compare
Choose a tag to compare

FIX: Updated to support latest version of Emscripten, released in Defold 1.2.178
FIX: Capturing a partial screenshot in HTML5 didn't save the same area as in a desktop build.

Defold Screenshot 1.7.4

08 Dec 21:52
Compare
Choose a tag to compare

FIX: HTML5 screenshots were not working with the latest version of Defold

Defold Screenshot 1.7.3

19 Oct 22:24
f066f19
Compare
Choose a tag to compare

FIX: Disable extension in headless mode