Hajime Hoshi
cbff3555db
internal/graphicsdriver/opengl: drop WebGL 1 support
...
Closes #2191
2023-03-18 22:50:09 +09:00
Hajime Hoshi
8bd7ce5c20
vector: add anti-alias options to the utility functions
...
Closes #2606
2023-03-18 11:01:48 +09:00
Hajime Hoshi
e4aace6c40
examples/blend: shrink the window for small displays
2023-03-14 22:21:35 +09:00
Hajime Hoshi
3951df05c8
examples/audiopanning: fix the initial panning
2023-03-14 21:30:55 +09:00
Hajime Hoshi
84a86c86e4
examples/blend: disable resizing the window
2023-03-14 21:22:27 +09:00
Hajime Hoshi
903b5ab046
examples/blend: clean up
2023-03-13 02:11:05 +09:00
Hajime Hoshi
80cbf7cbae
examples: bug fix: wrong sample rate
2023-03-13 00:23:57 +09:00
Hajime Hoshi
597fe171a4
examples/additive: remove examples/additive
...
This is duplicated with examples/blend.
2023-03-12 23:44:53 +09:00
Hajime Hoshi
c568668149
examples/subimage: add a comment
...
Updates #2471
2023-02-17 02:06:40 +09:00
Hajime Hoshi
68775cf065
examples/vector: specify alpha values explicitly
2023-02-14 19:26:14 +09:00
Hajime Hoshi
cb61633b70
examples/lines: specify color values explicitly
2023-02-14 19:14:38 +09:00
Hajime Hoshi
10f022e129
examples/lines: specify alpha values explicitly
2023-02-14 19:12:26 +09:00
Artem Sedykh
da54f19df5
add blend modes example ( #2563 )
2023-02-07 11:59:49 +09:00
quasilyte
ce36527d16
examples/camera: fix window title ( #2564 )
2023-02-06 17:31:23 +09:00
Hajime Hoshi
38a6583438
examples/audio: change the sample rate from 32000 -> 48000
2023-01-27 14:58:17 +09:00
Hajime Hoshi
0c76a0cbd7
examples/dropfile: bug fix: handle errors correctly
2023-01-25 15:25:06 +09:00
Hajime Hoshi
f009dd8dd2
ebiten: implement DroppedFiles to replace AppendDroppedFiles
...
Closes #2552
2023-01-25 14:27:11 +09:00
Hajime Hoshi
e03cb0d4df
examples/dropfile: bug fix: go vet failed
2023-01-22 17:31:24 +09:00
Hajime Hoshi
8c25fac860
ebiten: add AppendDroppedFiles
...
Closes #1868
2023-01-22 17:22:25 +09:00
Hajime Hoshi
f054a7634a
ebiten: deprecate (*Image).Size
...
Closes #2351
2023-01-20 01:26:37 +09:00
Hajime Hoshi
95f1ef0fb9
internal/ui: bug fix: recover the cursor shape when the cursor is visible
...
Closes #2527
2023-01-07 20:03:21 +09:00
Hajime Hoshi
dd7e125d9c
ebiten: add KeyName for desktops and browsers
...
Updates #1904
2022-12-25 03:37:29 +09:00
Hajime Hoshi
0bec1e65fa
ebiten: add RunGameOptions.SkipTaskbar
...
Closes #1518
2022-12-13 02:00:44 +09:00
Hajime Hoshi
8e5ae88738
examples/mascot: use RunGameWithOptions
...
Updates #2378
2022-12-13 01:06:48 +09:00
Hajime Hoshi
3024e07ecc
ebiten: add RunGameOptions.ScreenTransparent
...
Closes #2378
2022-12-09 22:50:57 +09:00
Hajime Hoshi
d31b0189a2
ebiten: add RunGameOptions.InitUnfocused
...
Updates #2378
2022-12-09 21:27:32 +09:00
Hajime Hoshi
bb68ebfcad
ebiten: add RunGameWithOptions to specify graphics library
...
This also adds mobile.SetGameWithOptions.
Updates #2378
2022-12-09 21:27:31 +09:00
Hajime Hoshi
760e6b9ebd
examples/shader: bug fix: use pixels instead of texels for offsets
...
Closes #2483
2022-12-03 22:46:10 +09:00
Hajime Hoshi
746fbc7b5c
examples/fontvector: refactoring
2022-11-25 23:44:48 +09:00
Hajime Hoshi
881d3b2018
examples/fontvector: adjust width
2022-11-25 23:29:28 +09:00
Hajime Hoshi
477bff3f62
add examples/vectorfont
...
Updates #1937
2022-11-25 18:49:26 +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
Hajime Hoshi
f4b12462e6
ebiten: rename FloatLayouter -> LayoutFer
...
Updates #2285
2022-11-09 02:00:23 +09:00
Hajime Hoshi
8567c3c654
ebiten: add FloatLayouter
...
Closes #2285
2022-11-09 01:52:48 +09:00
Hajime Hoshi
156c34a316
ebiten: separate a package for ColorM: colorm
...
Closes #2171
2022-11-08 23:50:04 +09:00
Hajime Hoshi
d73e8f785d
internal/graphicsdriver: render various destination regions as one command
...
Closes #2232
2022-11-04 20:49:44 +09:00
Artem Yadelskyi
86e694941f
examples: remove example
build tag ( #2433 )
...
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
10415d417a
all: replace interface{}
with any
( #2430 )
...
Closes #2429
2022-11-03 15:33:09 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build
comments ( #2431 )
...
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
ac6843639d
ebiten: undeprecate SetVsyncEnabled / IsVsyncEnabled
...
This change deprecates FPSMode and SetFPSMode.
Closes #2342
2022-10-29 01:16:08 +09:00
Hajime Hoshi
b019a3723a
internal/ui: optimize GPU usages when the screen doesn't have to be updated
...
This change skips rendering when 1) the screen is not cleared every frame
(`SetScreenClearedEveryFrame(false)`) and 2) Draw doesn't draw anything
onto the screen. The GPU usages decreased on some machines (e.g. GPU usage
was 10% with an empty Ebitengine project and became 2-3 % on a Windows
machine).
Updates #2341
2022-10-28 18:51:06 +09:00
Hajime Hoshi
6ba14fdb00
vector: rename functions
...
Fill* was confusing especially when the color is a transparent color.
Closes #2403
2022-10-22 20:29:31 +09:00
Hajime Hoshi
c34c072efa
vector: change the specificatino of Path.ArcTo
...
Closes #2401
2022-10-22 02:03:27 +09:00
Hajime Hoshi
5e15bafde8
vector: add FillCircle
and StrokeCircle
...
Updates #2387
2022-10-22 01:24:51 +09:00
Hajime Hoshi
6f7b1a81d7
vector: add StrokeLine
, FillRect
, and StrokeRect
...
Updates #2387
2022-10-21 22:35:01 +09:00
Hajime Hoshi
a75472b524
vector: add (*Path).Close
...
Updates #2387
2022-10-21 18:16:48 +09:00
Hajime Hoshi
f04e391cb4
all: rename emptyImage -> whiteImage
2022-10-21 15:26:56 +09:00
Hajime Hoshi
9ec23ddeb4
ebiten: add DrawTrianglesOptions.AntiAlias
and DrawTrianglesShaderOptions.AntiAlias
...
Closes #2385
2022-10-21 02:07:41 +09:00
Hajime Hoshi
885a3fa7cc
examples/vector: bug fix: wrong offscreen resetting
2022-10-20 14:13:06 +09:00
Hajime Hoshi
e4b056bac6
examples/vector: fill the background with a solid color
2022-10-18 23:45:52 +09:00