Commit Graph

6687 Commits

Author SHA1 Message Date
Hajime Hoshi
1f17a63084 update gomobile 2022-01-05 17:37:28 +09:00
Hajime Hoshi
116203c5a5 cmd/ebitenmobile: update gomobile version (reland)
This switches from .framework to .xcframwork for iOS.

Closes #1922
2022-01-05 17:31:46 +09:00
Hajime Hoshi
c67e4385de internal/thread: bug fix: do not close 'terminate' channel
The `terminate` channel is resued on mobiles (see (*UserInterface).Update
in internal/uidriver/mobile). The channel must not be closed.

Closes #1932
2022-01-05 17:21:53 +09:00
Hajime Hoshi
0d90c04c8a add Bobby Chen to AUTHORS 2022-01-05 15:07:35 +09:00
Bobby Chen
7a244a5715
ebiten: fixes a typo (#1930)
This change fixes a misspelling of the word "multiplying" in the docstring for `ebiten.GeoM.Concat`.
2022-01-05 15:06:41 +09:00
Hajime Hoshi
b581fe8f22 cmd/ebitenmobile: add -DGLES_SILENCE_DEPRECATION to suppress warnings 2022-01-05 03:06:22 +09:00
Hajime Hoshi
ea1bc76ef2 Revert "cmd/ebitenmobile: update gomobile version"
This reverts commit f2e19f9fe5 and b065b64f4f

Reason: building iOS framework fails

Updates #1922
2022-01-05 02:24:02 +09:00
Hajime Hoshi
b065b64f4f .github/workflows: bug fix: ebitenmobile generates .xcframework 2022-01-05 02:09:46 +09:00
Hajime Hoshi
6b34ddecfa internal/graphicsdriver/opengl/gles: add GLES_SILENCE_DEPRECATION to suppress warnings 2022-01-05 01:54:00 +09:00
Hajime Hoshi
f2e19f9fe5 cmd/ebitenmobile: update gomobile version
Closes #1922
2022-01-05 01:45:33 +09:00
Hajime Hoshi
8418c4a655 cmd/ebitenmobile: add comments 2022-01-03 17:29:43 +09:00
Hajime Hoshi
ebb4851a32 internal/uidriver/js: bug fix: context might be nil before the loop starts
Closes #1928
2022-01-03 15:17:30 +09:00
Hajime Hoshi
88612b1248 add Changkun Ou to AUTHORS 2022-01-03 03:31:14 +09:00
Changkun Ou
626c91e360
ebiten: add RunOnMainThread(func()) (#1927)
Closes #1926
2022-01-03 03:30:29 +09:00
Hajime Hoshi
0e74b34705 update README 2022-01-01 23:56:45 +09:00
Hajime Hoshi
583c2cf17e examples/resources: reorder items 2021-12-31 05:30:37 +09:00
Jacob Salmela
e77985139b
examples/resources: bug fix: add a missing item Spritesheet_png (#1924)
the Spritesheet_png was not included with go generate so this adds that in

Signed-off-by: Jacob Salmela <me@jacobsalmela.com>
2021-12-31 05:28:41 +09:00
Hajime Hoshi
13c2d38b97 examples/flappy: add main_cbackend.go 2021-12-30 03:02:11 +09:00
Hajime Hoshi
220a8f48ac internal/uidriver/glfw: refactoring: remove initTitle 2021-12-29 22:26:56 +09:00
Hajime Hoshi
5ee2ff56ca interna/uidriver: refactoring: remove initFPSMode 2021-12-29 22:21:27 +09:00
Hajime Hoshi
a6e5be608d update Oto to v2.1.0-alpha.5 2021-12-29 01:28:35 +09:00
Hajime Hoshi
374871c031 internal/shader: bug fix: a meaningless statement should raise an error (a non-call expression statement)
Updates #1898
2021-12-27 23:14:05 +09:00
Hajime Hoshi
481a2145ae internal/shader: bug fix: a meaningless statement should raise an error
Closes #1898
2021-12-27 22:05:58 +09:00
Hajime Hoshi
dd4d2f6aa0 internal/glfw/glfw: update for GLFW 3.3.6
Closes #1896
2021-12-27 01:57:55 +09:00
Hajime Hoshi
ca48736847 update GLFW for non-Windows environments
Updates #1896
2021-12-27 01:24:41 +09:00
Hajime Hoshi
a89e9d9368 internal/gamepaddb: update the database file
Updates #1903
2021-12-27 01:18:03 +09:00
Hajime Hoshi
f182b185d9 internal/graphicscommand: bug fix: overflow when len(vertices) > len(indices)
Closes #1913
2021-12-26 06:15:12 +09:00
Hajime Hoshi
7e46816246 add Jacob Salmela to AUTHORS 2021-12-24 23:51:39 +09:00
Jacob Salmela
c7da53880f
direct users to the readme in the docs repo (#1912)
Signed-off-by: Jacob Salmela <me@jacobsalmela.com>
2021-12-24 23:50:40 +09:00
Hajime Hoshi
011e5061df internal/cbackend: simplify the audio API 2021-12-23 22:20:04 +09:00
Hajime Hoshi
e6131894a7 internal/cbackend: add AudioBufferSizeInSeconds 2021-12-23 02:55:54 +09:00
Hajime Hoshi
1799ed0b28 add a build tag 'ebitencbackend' and internal/cbackend
This enables to create a C archive with Ebiten without an actual driver
implementation. This enables Ebiten work on a platform Go doesn't support.
See also Hitsumabushi project: github.com/hajimehoshi/hitsumabushi.

The backend C API is not stable and might change later. Then, the build
tag 'ebitencbackend' is not documented on purpose.

Closes #1900
2021-12-22 21:12:48 +09:00
Hajime Hoshi
b0b52c6297 internal/driver: typo 2021-12-22 18:47:52 +09:00
Hajime Hoshi
2610d16c8a update Oto
Closes #1908
2021-12-21 19:30:22 +09:00
Hajime Hoshi
e3720072cd add ebiiim to AUTHORS 2021-12-20 21:56:41 +09:00
ebiiim
4d988b2457
examples/airship: chore: fix typo (#1907) 2021-12-20 21:54:24 +09:00
Hajime Hoshi
061614080a ebiten: fix comments 2021-12-19 23:58:55 +09:00
Hajime Hoshi
897ecdd5e6 ebiten: fix a wrong comment about IsKeyPressed 2021-12-19 23:48:19 +09:00
Hajime Hoshi
336ed49bdc audio: bug fix: compile error on tests 2021-12-17 16:04:39 +09:00
Hajime Hoshi
eaaa601261 audio: refactoring: rename types 2021-12-17 16:02:12 +09:00
Hajime Hoshi
55add3e323 audio: reduce dependency on the package oto
Updates #1900
2021-12-17 15:51:07 +09:00
Hajime Hoshi
4c82064bdd .build: bug fix: remove an unused template parameter 2021-12-15 03:08:19 +09:00
Hajime Hoshi
4c42e70e69 .github/workflows: use the web hook for builds.sr.ht instead of web APIs
There is an intentional limitation in builds.sr.ht and only up to 4 VMs work
at the same time. Users have to follow this rule.

Updates #1664
2021-12-15 02:54:16 +09:00
Hajime Hoshi
5f942150e0 ebiten: update comments about DrawImage 2021-12-14 20:37:29 +09:00
Hajime Hoshi
12b5a6c3d6 examples: update README 2021-12-13 11:55:08 +09:00
Hajime Hoshi
9787e076bc ebiten: Add comments about NewImage*
Closes #1894
2021-12-09 21:03:25 +09:00
Hajime Hoshi
490155583f Update README 2021-12-06 00:24:55 +09:00
Hajime Hoshi
fdda0e625f ebiten: Add comments about Vibrate 2021-12-04 22:44:11 +09:00
Hajime Hoshi
39ef252c2e
ebiten: Add VibrationOptions to specify intensity (#1891)
Updates #1452
2021-12-04 22:14:02 +09:00
Hajime Hoshi
b638b72f0b ebiten: Add a comment about Vibrate 2021-12-04 17:48:09 +09:00