Hajime Hoshi
f57703175e
text/v2: rename LineSpaceInPixels -> LineSpace for consistency
...
Updates #2454
2023-12-24 15:06:19 +09:00
Hajime Hoshi
e4c0fa9d62
examples/fullscreen: use text/v2
...
Updates #2454
2023-11-19 16:07:16 +09:00
Hajime Hoshi
f054a7634a
ebiten: deprecate (*Image).Size
...
Closes #2351
2023-01-20 01:26:37 +09:00
Hajime Hoshi
a042af98b1
text: improve rendering quality with HintingVertical
...
When HintingVertical is used, the interval between two glyphs is not
quantized (i.e. not a whole pixel). The text package didn't consider
this situation.
This change improves the quality by using more various glyph images
with 1/4 pixels granularity in vertical direction.
Closes #2469
2022-11-25 16:45:37 +09:00
Artem Yadelskyi
86e694941f
examples: remove example
build tag ( #2433 )
...
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build
comments ( #2431 )
...
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
67400d242b
examples/resource: use go:embed for images
...
Closes #1258
2022-09-17 23:27:45 +09:00
Hajime Hoshi
f7c44f086f
replace Ebiten with Ebitengine in comments
2022-08-29 11:17:17 +09:00
Hajime Hoshi
610e9ce14c
gofmt -s -w
2022-08-28 00:04:32 +09:00
Terra Brown
de35a5a6f1
ebiten: add Termination
for a regular termination ( #2272 )
...
Closes #2266
2022-08-27 21:33:40 +09:00
Hajime Hoshi
05dd36ec7b
examples/fullscreen: enable to test on mobile browsers
...
Closes #2060
2022-08-07 19:31:56 +09:00
Hajime Hoshi
ca8c36499d
ebiten: recommend errors.Is instead of comparing the returned value directly
...
Closes #2152
2022-07-24 23:25:48 +09:00
Hajime Hoshi
e4d6381452
examples/fullscreen: forbid quiting on browsers
2022-04-10 20:04:52 +09:00
Hajime Hoshi
d6fe8ed694
examples/fullscreen: handle F key to enter fullscreen
...
On browsers, fullscreen requires an explicit user input.
2022-04-09 16:23:23 +09:00
Hajime Hoshi
07c8cb0e23
examples: Misspelling (//go:generated -> //go:generate)
2021-09-20 15:23:43 +09:00
Hajime Hoshi
537bdb29f8
examples: Update comments
2021-09-20 15:16:09 +09:00
Hajime Hoshi
a615be69c7
examples: Add //go:build
2021-06-24 21:49:37 +09:00
Hajime Hoshi
47065f5f2c
Remove supporting jsgo
...
Updates #1129
2020-10-07 00:46:07 +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
fe97e7b0a5
ebiten: Remove the filter argument from NewImage and NewImageFromImage
...
Updates #503
2020-10-05 01:40:44 +09:00
Hajime Hoshi
8f00c8fbf5
ebiten: Remove the argument from Update
...
Fixes #1260
2020-10-04 19:33:10 +09:00
Hajime Hoshi
bf515bb594
Update version to v2.0.0-alpha
2020-10-04 04:30:40 +09:00
Hajime Hoshi
eb38324021
examples: Use golang.org/x/image/font/opentype
...
Fixes #484
2020-10-03 23:14:09 +09:00
Hajime Hoshi
041377a9a2
Revert "examples/fullscreen: Use golang.org/x/image/font/opentype"
...
This reverts commit b264a421ae
.
Reason: #1377
2020-10-03 20:25:02 +09:00
Hajime Hoshi
b264a421ae
examples/fullscreen: Use golang.org/x/image/font/opentype
...
Updates #484
2020-09-28 02:26:32 +09:00
Hajime Hoshi
ff271493e2
examples/fullscreen: Use RunGame
...
Updates #1111
2020-04-20 01:10:05 +09:00
Hajime Hoshi
659f3ad8a0
examples/fullscreen: Fix offset
2018-10-12 01:11:14 +09:00
Hajime Hoshi
c758a1f8c6
ui: Rename MonitorSize -> ScreenSizeInFullscreen ( #708 )
2018-10-09 23:42:03 +09:00
Hajime Hoshi
3cd9dfd800
Rename IsRunningSlowly to IsDrawingSkipped
...
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
d8dba69b47
ui: Add MonitorSize
...
Fixes #470
2018-05-05 02:42:45 +09:00