Hajime Hoshi
f4574590b5
cmd/ebitenmobile: Remove gomobile init
...
`gomobile init` installs gobind at $GOPATH/bin, but this is not
needed for ebitenmobile.
Updates #1666
2021-06-09 12:21:23 +09:00
Hajime Hoshi
a7754eaae0
cmd/ebitenmobile: Update gomobile version
2021-04-14 22:57:39 +09:00
Hajime Hoshi
2e6e1ed39d
mobile/ebitenmobileview: Add DeviceScale and use it at EbitenView
...
Closes #1482
2021-04-11 02:30:39 +09:00
Hajime Hoshi
36209465fc
cmd/ebitenmobile: Bug fix: Skip 'uinput-fpc' on the joystick detection on Android
...
Apparently 'uinput-fpc' is a fingerprint reader and is recognized as
a joystick unexpectedly. This was often a primary gamepad on Ebiten
and confused Ebiten applications.
This change fixes this issue by skipping 'uinput-fpc' at the joystick
detection.
Closes #1542
2021-03-14 23:26:06 +09:00
Hajime Hoshi
43ab55d88a
Revert "cmd/ebitenmobile: Use the better way to go-get dependencies"
...
This reverts commit ad2d356262
.
Reason: Installation failed on Windows.
Closes #1493
2021-02-14 18:26:46 +09:00
Hajime Hoshi
ad2d356262
cmd/ebitenmobile: Use the better way to go-get dependencies
...
Updates #1487
2021-02-12 02:45:05 +09:00
Hajime Hoshi
ba674a686c
cmd/ebitenmobile: Bug fix: Record go.sum correctly to build gomobile/gobind
...
Closes #1487
2021-02-10 02:18:06 +09:00
Hajime Hoshi
9806bb2c5e
cmd/ebitenmobile: Update gomobile version
...
This change fixes these issues:
* Fail to run on Go 1.16 and after
* Fail to run on Android NDK r22 and after
Closes #1484
2021-02-09 02:16:05 +09:00
Hajime Hoshi
acb8bcae38
cmd/ebitenmobile, internal/devicescale: Experimental fix of the display density
...
Closes #1481
2021-02-07 14:07:06 +09:00
Hajime Hoshi
bf515bb594
Update version to v2.0.0-alpha
2020-10-04 04:30:40 +09:00
Hajime Hoshi
404a662383
cmd/ebitenmobile: Bug fix: an input device might be null
...
Fixes #1342
2020-09-10 14:14:59 +09:00
Hajime Hoshi
179d32cfbf
cmd/ebitenmobile: Misspelling
2020-08-29 03:14:19 +09:00
Hajime Hoshi
71e65fa1b7
cmd/ebitenmobile: Use an explict way to detect context lost on Android
...
Fixes #1176
2020-08-15 01:39:08 +09:00
Hajime Hoshi
5ec3113aa2
cmd/ebitenmobile: Enable to specify a local gomobile
2020-07-25 03:11:40 +09:00
Hajime Hoshi
7afc242a13
Update gomobile version
2020-07-25 01:35:46 +09:00
Hajime Hoshi
283de9b847
cmd/ebitenmobile: Enable to specify the package
...
If a package is not specified, the current directory (.) is adopted.
2020-07-22 00:51:47 +09:00
Hajime Hoshi
cb0666bc8b
cmd/gomobile: Update gomobile version
2020-06-30 13:16:55 +09:00
Hajime Hoshi
04502aaaa8
cmd/ebitenmobile: Misspelling
2020-06-10 00:33:43 +09:00
Hajime Hoshi
f350b03232
cmd/ebitenmobileview: Bug fix: Crash when removing a gamepad
...
Fixes #1185
2020-06-09 23:42:32 +09:00
Hajime Hoshi
4fa52dcc56
Remove MonoGame support
...
Fixes #1148
2020-05-08 19:32:28 +09:00
Hajime Hoshi
8a77207cea
cmd/ebitenmonogame: Remove unused dependencies
2020-04-26 02:33:28 +09:00
Hajime Hoshi
d8b34b136a
Add cmd/ebitenmonogame
...
Fixes #1144
2020-04-24 20:48:01 +09:00
Hajime Hoshi
edc58a2c9d
cmd/ebitenmobile: Bug fix: Specifying arches did not work
...
-target value should have been parsed correctly.
Fixes #1142
2020-04-23 12:37:12 +09:00
Hajime Hoshi
56ae207d2a
cmd/ebitenmobile: Bug fix: -ldflags did not work correctly
...
Fixes #1139
2020-04-23 00:26:08 +09:00
Hajime Hoshi
4fe8d5c8c2
cmd/ebitenmobile: Update gomobile version
...
Fixes #1120
2020-03-29 22:00:29 +09:00
Hajime Hoshi
a9c74e48e1
cmd/ebitenmobile: Update gomobile version
2020-03-29 13:44:41 +09:00
Hajime Hoshi
bc3d1393a6
mobile/ebitenmobileview: Implement gamepads' SDLID on Android
...
Fixes #1083
2020-03-25 02:28:30 +09:00
Hajime Hoshi
4ec49dd4cf
mobile/ebitenmobileview: Implement Android gamepad axes
...
Updates #1083
2020-03-25 01:15:43 +09:00
Steven Xie
c9a28219e8
cmd/ebitenmobile: Add newline to usage output ( #1109 )
2020-03-23 11:10:09 +09:00
Hajime Hoshi
8fcee54849
mobile/ebitenmobileview: Implement Android gamepad buttons
...
This is still work in progress.
Updates #1083
2020-03-23 01:30:17 +09:00
Hajime Hoshi
cebc203e6f
cmd/ebitenmobile: Bug fix: .exe was requried on Windows
...
On Windows, executable files must have .exe extension, or
exec.LookPath since exec.LookPath checks %PATHEXT%.
This fixes the issue that ebitenmobile didn't invoke the original
gobind wrapper and then didn't include and compile some Java files.
Fixes #1096
2020-03-05 01:05:59 +09:00
Hajime Hoshi
e3d1e7784e
cmd/ebitenmobile: Refactoring
2020-02-24 17:50:01 +09:00
Hajime Hoshi
de52eb75e4
mobile/ebitenmobileview: Implement InputChars on Android / ebitenmobile
...
Updates #237
2020-02-23 00:51:49 +09:00
Hajime Hoshi
5b7151595b
mobile/ebitenmobileview: Handle keyboard keys on Android (ebitenmobile)
...
Updates #237
2020-02-20 01:53:51 +09:00
Hajime Hoshi
d790c86e8a
cmd/ebitenmobile: Add -trimpath
...
Fixes #1068
2020-02-16 17:32:00 +09:00
Hajime Hoshi
f396b258e2
cmd/ebitenmobile: Update gomobile version
...
This change also eliminates a hack for golang/go#36668
2020-02-15 14:06:02 +09:00
Hajime Hoshi
38d8cbf6af
cmd/ebitenmobile: Bug fix: iOS view was not shown
...
This enbugs that garbages are rendered outside the screen. I think
the bug in iPad is now exposed to any iOS devices.
Updates #1019
2020-02-11 20:20:20 +09:00
Hajime Hoshi
c927d33457
mobile/ebitenmobileview: Use the common uiContext for layouting
...
This means that the whole offscreen is cleared correctly.
This change is a little breaking change: SetScreenSize or other
functions no longer works on ebitenmobile. Use Layout instead.
Fixes #1019
2020-02-11 19:40:47 +09:00
Hajime Hoshi
9313e3ad0d
cmd/ebitenmobile: Use 'go' directly
...
See golang/go#26845 .
2020-01-24 22:50:50 +09:00
Hajime Hoshi
94d0f1137c
cmd/ebitenmobile: Use Go modules in gomobile
...
Fixes #1055
2020-01-23 22:28:07 +09:00
Hajime Hoshi
802693fa20
uidriver/mobile: Implement IsForeground
...
This adds hooks on resuming/suspending the application, and
switches the foreground state there. This change also updates
the logic to suspend the game loop to be clearer.
Fixes #1037
2020-01-23 02:08:31 +09:00
Hajime Hoshi
903b125f4c
cmd/ebitenmobile: Remove explicltly specifying GO111MODULE
2020-01-21 22:19:49 +09:00
Hajime Hoshi
78a1698069
cmd/ebitenmobile: Add hack to enable go-list at the temporary directory
2020-01-21 15:07:36 +09:00
Hajime Hoshi
15dc4bc647
cmd/ebitenmobile: Refactoring
2019-10-19 02:28:55 +09:00
Hajime Hoshi
6f6cceb42c
cmd/ebitenmobile: Do not call addView in onLayout
...
In onLayout, addViewInLayout is safer.
This change fixes the potential issue by moving addView to
constructors.
2019-10-19 02:15:31 +09:00
Hajime Hoshi
bf07ead6ae
mobile/ebitenmobileview: Bug fix: Use Math.floor to shrink the size a little bit
...
Fixes #956
2019-10-17 12:21:06 +09:00
Hajime Hoshi
83f93df78b
Add 'ebitengl' build tag to force to use GL
...
Fixes #958
2019-10-13 16:58:33 +09:00
Hajime Hoshi
1f56266027
cmd/ebitenmobile: Bug fix: Use even numbers for the position/size
...
Fixes #956
2019-10-11 10:53:42 +09:00
Hajime Hoshi
3c976eae02
cmd/ebitenmobile: Use Metal on iOS
...
The emulators still use OpenGL.
Fixes #737
2019-10-09 02:13:47 +09:00
Hajime Hoshi
b4969cccd7
cmd/ebitenmobile: Bug fix: Give environment variables to search the package name (gobind)
2019-09-23 19:12:20 +09:00