Commit Graph

706 Commits

Author SHA1 Message Date
Hajime Hoshi
0cf38ce80a examples/windowsize: Bug fix: Suppress calling SetWindowPosition if the position is not updated
This is a temoprary fix for the issue that the window size unexpectedly
shrunk on Linux.

Updates #1607
Closes #1605
2021-04-20 20:51:49 +09:00
Hajime Hoshi
9c765a5d15 examples/audiopanning: Bug fix: Align the buffer size
Closes #1598
2021-04-20 02:49:32 +09:00
Hajime Hoshi
e5c70f8ae6 Revert "examples/audiopanning: Bug fix: Out of range at reading bytes"
This reverts commit cf2fc7a998.

Reason: Calling UnreadByte twice is illegal

Updates #1598
2021-04-20 00:21:27 +09:00
Hajime Hoshi
cf2fc7a998 examples/audiopanning: Bug fix: Out of range at reading bytes
Closes #1598
2021-04-19 22:15:30 +09:00
Hajime Hoshi
343e6d3033 examples/shader: Add build tags for the generated files
Closes #1581
2021-04-18 18:08:39 +09:00
Hajime Hoshi
0dd5cc3097 examples/audiopanning: Bug fix: Fix several issues
* The stream was not looped.
 * The shown position was wrong.

Closes #1502
2021-02-22 02:02:28 +09:00
Hajime Hoshi
4c7eaeaf02 mipmap: Bug fix: Too big scale tried to allocate too big images
Fixes #1399
2020-10-21 11:33:52 +09:00
Hajime Hoshi
2afeb86985 graphicsdriver/metal: Bug fix: Had to set the vsync state again at resetting
Fixes #1364
2020-10-14 01:59:03 +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
Hajime Hoshi
43734dc1a2 examples/resources/fonts: Remove Arcade_n.ttf 2020-10-03 20:40:33 +09:00
Hajime Hoshi
92c0d8da7e Revert "examples/font: Use golang.org/x/image/font/opentype"
This reverts commit 7b3294064d.

Reason: #1377
2020-10-03 20:25:57 +09:00
Hajime Hoshi
990ba69d7a Revert "examples/2048: Use golang.org/x/image/font/opentype"
This reverts commit aa9f7f7c19.

Reason: #1377
2020-10-03 20:25:45 +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
42fe708263 Revert "examples/text: Use golang.org/x/image/font/opentype"
This reverts commit 013a42ddb8.

Reason: #1377
2020-10-03 20:24:05 +09:00
Hajime Hoshi
584916c694 examples/keyboard: Use golang.org/x/image/font/opentype
Updates #484
2020-10-03 15:32:10 +09:00
Hajime Hoshi
3f1d0788f5 examples: Use golang.org/x/image/font/opentype
Updates #484
2020-10-03 15:25:39 +09:00
Hajime Hoshi
c9af0e9bd4 examples/blocks: Use golang.org/x/image/font/opentype
This change also adds a new font "Press Start 2P".

Updates #484
2020-09-29 22:02:48 +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
013a42ddb8 examples/text: Use golang.org/x/image/font/opentype
Updates #484
2020-09-28 02:25:01 +09:00
Hajime Hoshi
aa9f7f7c19 examples/2048: Use golang.org/x/image/font/opentype
Updates #484
2020-09-28 02:23:17 +09:00
Hajime Hoshi
7b3294064d examples/font: Use golang.org/x/image/font/opentype
Updates #484
2020-09-28 02:20:14 +09:00
Hajime Hoshi
8cb037e902 examples/gamepad: Sort gamepad ids when showing the states 2020-09-21 17:30:28 +09:00
Hajime Hoshi
9ac7a16333 examples/camera: Add limitations to the zoom factor 2020-09-21 01:13:00 +09:00
Hajime Hoshi
8803138464 examples/airship: Bug fix: Avoid too big scaling
Fixes #1353
2020-09-21 00:43:13 +09:00
Hajime Hoshi
9906e4b882 go generate 2020-09-20 23:28:17 +09:00
Hajime Hoshi
e406ebb1aa ebiten: Rename imageSrcTextureRegion -> imageSrcRegionOnTexture
Updates #1325
2020-09-19 19:36:53 +09:00
Hajime Hoshi
9f7d6962ff ebiten: Rename shader functions to get colors from textures
Updates #1325
2020-09-19 19:01:05 +09:00
Hajime Hoshi
850303b770 ebiten: Change the type of Uniforms to map[string]interface{}
Fixes #1324
2020-09-06 21:02:30 +09:00
Hajime Hoshi
d2cfed7558 examples/shader: Remove an unused variable
Updates #1328
2020-09-01 23:50:19 +09:00