Commit Graph

62 Commits

Author SHA1 Message Date
Hajime Hoshi
3cafb0f6fd ebitenutil: use go:embed
Updates #1258
2022-09-15 23:25:24 +09:00
Hajime Hoshi
b858f36d54 remove the dependency on file2byteslice
Specify the version explicitly instead.
2022-08-23 16:34:55 +09:00
Hajime Hoshi
074d370096 ebitenutil: improve the performance of DebugPrint
Updates #1880
2022-08-01 01:35:59 +09:00
Hajime Hoshi
dad72b874f ebitenutil: use bitmapfont for the debug print
This removes ebitenutil/internal/assets.
2022-08-01 01:27:03 +09:00
Hajime Hoshi
1c13e73b06 ebitenutil: Remove the error returning value from DebugPrint
Fixes #1380
2020-10-06 01:05:37 +09:00
Hajime Hoshi
1b816eb249 ebiten: Remove the error returning value from NewImageFromImage
Updates #1380
2020-10-06 01:03:33 +09:00
Hajime Hoshi
54da0d9763 ebiten: Remove the returning value from (*Image).DrawImage
Updates #1380
2020-10-06 00:21:17 +09:00
Hajime Hoshi
fe97e7b0a5 ebiten: Remove the filter argument from NewImage and NewImageFromImage
Updates #503
2020-10-05 01:40:44 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
a449045ae2 ebitenutil: Cache sub images for debug print 2019-11-24 20:30:54 +09:00
Hajime Hoshi
710f56531f graphics: Experimental: (*image.Image).SubImage
Fixes #722
2018-10-28 02:19:14 +09:00
Hajime Hoshi
17a47f80ef ebitenutil: Fix comments 2018-09-22 05:23:26 +09:00
ryosama
f0d6853631 ebitenutil: Add the DebugPrintAt function (#684)
Fixes #683
2018-09-22 05:21:13 +09:00
Hajime Hoshi
cc17fbc166 Revert "Revert "ebitenutil: Use ColorM""
This reverts commit 7f46b46f66.
2018-08-11 01:49:33 +09:00
Hajime Hoshi
7f46b46f66 Revert "ebitenutil: Use ColorM"
This reverts commit c6153de4f5.
2018-08-06 01:44:31 +09:00
Hajime Hoshi
c6153de4f5 ebitenutil: Use ColorM 2018-07-26 12:47:39 +09:00
Hajime Hoshi
063153e41d ebitenutil: Speed up to avoid copying by image.Rect 2018-03-11 21:39:22 +09:00
Hajime Hoshi
64abc79dc2 ebitenutil: Improve DebugPrint speed by not using color matrices 2018-03-05 02:08:44 +09:00
Hajime Hoshi
cdfee9fd74 ebitenutil: Refactoring 2018-03-04 22:52:56 +09:00
Hajime Hoshi
d9571c7e32 ebitenutil: Use the default filter 2018-03-04 22:45:47 +09:00
Hajime Hoshi
deed56f971 ebitenutil: Refactoring: Remove debugPrintRenderTarget 2018-02-27 03:13:58 +09:00
Hajime Hoshi
e8d5c59e65 ebitenutil: Update doc 2018-02-20 02:02:30 +09:00
Hajime Hoshi
ae04c2d680 ebitenutil: Refactoring 2018-02-11 01:56:13 +09:00
Hajime Hoshi
b66ead56c8 ebitenutil: Remove debugPrintImageParts 2017-05-28 03:15:55 +09:00
Hajime Hoshi
691db07678 ebitenutil: Use SourceRect (#277) 2017-05-28 03:10:32 +09:00
Hajime Hoshi
283c8d41ca ebitenutil: DebugText always returns nil (#331) 2017-03-04 12:02:41 +09:00
Hajime Hoshi
c7106f595c Add error checks 2016-08-02 02:26:44 +09:00
Hajime Hoshi
dd9918d64e Add comments 2016-08-02 01:47:25 +09:00
Hajime Hoshi
2aa6ebb471 Move internal/assets -> ebitenutil/internal/assets 2015-01-26 22:09:47 +09:00
Hajime Hoshi
0ab90197a3 Implement IsMouseButtonPressed / CursorPosition in JS (#53) 2015-01-06 23:41:03 +09:00
Hajime Hoshi
f697501531 Use ImageParts 2015-01-05 10:08:00 +09:00
Hajime Hoshi
22035e79fe Reduce panics (#16) 2014-12-29 00:21:40 +09:00
Hajime Hoshi
325e05259a Introduce ImagePart again 2014-12-27 17:37:31 +09:00
Hajime Hoshi
7849a68cd0 Remove DrawImageAt 2014-12-26 23:01:47 +09:00
Hajime Hoshi
ffab448d40 Rename ColorGeometry -> ColorM, GeometryMatrix -> GeoM (#27) 2014-12-26 22:50:25 +09:00
Hajime Hoshi
ec6dc4b7ec Use value-type values for some of DrawImageOption's members 2014-12-26 11:29:44 +09:00
Hajime Hoshi
843b0d8621 Remove the struct DrawImageAt; Add a method (*Image).DrawImageAt 2014-12-26 03:46:25 +09:00
Hajime Hoshi
cdc84567ca Rename At -> DrawImageAt 2014-12-26 03:00:40 +09:00
Hajime Hoshi
494d07387d Remove DrawImage.+ function (#41) 2014-12-24 23:17:58 +09:00
Hajime Hoshi
373371d1b2 Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
Hajime Hoshi
6cb8dac860 Add DrawImage* functions (#40) 2014-12-24 03:05:45 +09:00
Hajime Hoshi
604c0d095f Remove ImagePart 2014-12-24 02:04:56 +09:00
Hajime Hoshi
84f2e8aad2 Remove ebiten.Rect (#37) 2014-12-24 01:15:16 +09:00
Hajime Hoshi
43988399ee Bug fix: ColorMatrix should treat straight alpha 2014-12-22 23:08:13 +09:00
Hajime Hoshi
0f8ac49055 Unify RenderTarget and Image into Image (#34) 2014-12-22 11:10:08 +09:00
Hajime Hoshi
99434fa9d3 Bug fix: Consider color.Color.RGBA returns alpha-premultiplied values 2014-12-22 01:05:21 +09:00
Hajime Hoshi
3a9a7fed87 Rename Texture -> Image (#29) 2014-12-21 02:55:15 +09:00
Hajime Hoshi
6a2cfab839 Rename TexturePart -> ImagePart 2014-12-21 02:42:55 +09:00
Hajime Hoshi
40c763724f Rename NewTexture -> NewImage 2014-12-21 02:29:04 +09:00
Hajime Hoshi
ee61db3478 Rename DrawTexture -> DrawImage 2014-12-21 02:24:57 +09:00