Hajime Hoshi
81ef20ddd0
examples: Use the new keys
...
Updates #1394
2021-04-18 01:13:20 +09:00
Hajime Hoshi
1b70901659
examples/windowsize: Swap arrow keys for resizing
2021-04-18 01:07:09 +09:00
Hajime Hoshi
ed4dded094
examples/hsv, examples/hue: Use wider screens
2021-04-17 22:10:14 +09:00
Hajime Hoshi
c950e03fb1
examples/blocks/blocks: Use gamepads to go back to the title
2021-04-17 21:55:58 +09:00
Hajime Hoshi
c8ed6ec12e
examples/keyboard/keyboard: go generate
2021-04-17 19:30:04 +09:00
Hajime Hoshi
9b6ba5ed2c
ebiten: Add {Set,}WindowSizeLimits
...
Closes #1385
2021-04-17 03:58:06 +09:00
Hajime Hoshi
d00d0c8556
ebiten: Add CursorShape/SetCursorShape/CursorShapeType
...
This change adds APIs to enable to use system cursor shapes other
than the default shape (an arrow).
This change doesn't add these cursors since they seem a little
different on macOS from the other platforms.
* GLFW_HRESIZE_CURSOR
* GLFW_VRESIZE_CURSOR
Closes #995
2021-04-16 01:09:19 +09:00
Hajime Hoshi
3043c6cb8e
examples/windowsize: Enable to switch CursorMode
2021-04-11 03:33:02 +09:00
Hajime Hoshi
d46b0c5b49
examples/shader: Use const
...
Closes #1192
2021-04-09 02:02:03 +09:00
Hajime Hoshi
0300be7d9e
examples/keyboard: Use inpututil functions in Update rather than Draw
...
This is not a strict rule, but it is preferrable to use input functions
in Update rather than Draw.
2021-04-07 01:54:53 +09:00
Hajime Hoshi
0fcf5c8470
inpututil: Add PressedKeys
...
Closes #770
2021-04-07 01:50:39 +09:00
Huw Griffiths
e1e213cc10
Add a new Touch example ( #1547 )
2021-03-24 22:27:12 +09:00
Hajime Hoshi
2c0108e178
examples/tiles: Misspelling
2021-03-09 03:23:53 +09:00
Hajime Hoshi
a13930650d
examples/audiopanning: Bug fix: Fix several issues
...
* The stream was not looped.
* The shown position was wrong.
Closes #1502
2021-02-22 02:00:52 +09:00
Hajime Hoshi
311d53ce2e
examples/audio: Enable to touch
2021-02-21 19:20:24 +09:00
Hajime Hoshi
6f462e824f
examples/audio: Use the same audio file for Ogg and MP3
...
This also changes the sample rate to 32000 for some special
environments.
2021-02-21 17:57:06 +09:00
Hajime Hoshi
d999b4dc8e
internal/uidriver/glfw: Bug fix: Enable to specify ebiten.Image to SetWindowIcon
...
Closes #1468
2021-02-07 21:18:30 +09:00
Chris S. Kim
3d5733f693
examples/keyboard: Minor typo fix ( #1436 )
2020-12-15 11:55:17 +09:00
Hajime Hoshi
ede16afd30
examples/shader: Add a new example 'texel'
2020-12-09 23:33:59 +09:00
Hajime Hoshi
ed028110cf
ebiten: Allow rendering on a sub-image by scissor test
...
Fixes #1255
2020-11-08 00:58:44 +09:00
Hajime Hoshi
61a8f2c69c
examples/rotate: Update the resolution
2020-11-05 00:37:24 +09:00
Hajime Hoshi
552fbb7ed9
examples/contextlost: Enable to build on non-JS environments
2020-11-05 00:36:07 +09:00
Hajime Hoshi
fa53160e18
mipmap: Stop using negative mipmaps
...
Negative mipmaps tend to allocate extremely big images.
Instead, encourage to use images with explicit padding when enlarging
the image.
Fixes #1400
2020-10-31 02:52:40 +09:00
Hajime Hoshi
19d6f8d20a
examples: Update resolutions
...
Fixes #1408
2020-10-31 02:06:45 +09:00
Hajime Hoshi
fd41042dcb
examples/airship: Update the resolution
...
Updates #1408
2020-10-31 01:56:58 +09:00
Hajime Hoshi
e7d080ca4a
mipmap: Bug fix: Too big scale tried to allocate too big images
...
Fixes #1399
2020-10-21 11:28:05 +09:00
Hajime Hoshi
75158feccf
examples/shader: Add build tags for the generated files
2020-10-17 22:38:45 +09:00
Hajime Hoshi
fe6a2daef4
graphicsdriver/metal: Bug fix: Had to set the vsync state again at resetting
...
Fixes #1364
2020-10-14 01:58:56 +09:00
Hajime Hoshi
dfeb48b154
examples/windowsize: Fix the message
2020-10-10 23:00:49 +09:00
Hajime Hoshi
10f394f72b
examples/wav: Play SE immediately
2020-10-10 05:03:51 +09:00
Hajime Hoshi
b1c67c7661
ebiten: Introduce type TouchID
...
Fixes #604
2020-10-10 03:57:47 +09:00
Hajime Hoshi
809b7a3afa
ebiten: Introduce type GamepadID
...
Updates #604
2020-10-08 01:57:08 +09:00
Hajime Hoshi
bb20e62435
examples/gamepad: Bug fix: Misuse of indices and gamepad IDs
2020-10-08 01:13:51 +09:00
Hajime Hoshi
f1f7b350de
audio, audio/mp3, audio/vorbis, audio/wav: Remove Close functions
...
Fixes #859
2020-10-07 23:39:58 +09:00
Hajime Hoshi
7a0e31a23a
Clean up the 'js' build tags
...
Updates #1129
2020-10-07 01:33:10 +09:00
Hajime Hoshi
47065f5f2c
Remove supporting jsgo
...
Updates #1129
2020-10-07 00:46:07 +09:00
Hajime Hoshi
41cf90a321
ebiten: Change the default value of IsRunningOnUnfocused to be true
...
Fixes #1180
2020-10-07 00:30:49 +09:00
Hajime Hoshi
c777dc6938
examples/contextlost: Bug fix: Compile error
2020-10-06 01:34: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
c6053bcf14
ebiten: Remove the error returning value from NewImage
...
Updates #1380
2020-10-06 00:48:56 +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
944a19c6f7
audio: Remove the error returning value from NewContext
...
Updates #1380
2020-10-05 02:25:13 +09:00
Hajime Hoshi
29b4087ebf
audio: Remove the error returning value from NewPlayerFromBytes
...
Updates #1380
2020-10-05 02:18:27 +09:00
Hajime Hoshi
448a863eb1
ebiten: Remove FilterDefault
...
Fixes #503
2020-10-05 01:48:47 +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
e90b5ff277
Update import paths in the documents
2020-10-04 05:07:08 +09:00
Hajime Hoshi
1d4ff9a906
ebiten: Remove the deprecated functions and constants
...
Updates #1127
2020-10-04 04:47:24 +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