Hajime Hoshi
|
0cd692d26a
|
ui: Use code instead of keyCode on browsers but Safari
|
2017-04-14 03:02:38 +09:00 |
|
Hajime Hoshi
|
aa1e7e9cd6
|
Revert "ui: Use code instead of keyCode on browsers (#339)"
This reverts commit d7ea02d8c1 .
|
2017-04-10 20:38:23 +09:00 |
|
Hajime Hoshi
|
d7ea02d8c1
|
ui: Use code instead of keyCode on browsers (#339)
|
2017-04-10 20:30:28 +09:00 |
|
Hajime Hoshi
|
e11bc62059
|
ui: SetScreenSize/Scale no longer returns error
|
2017-03-03 10:58:29 +09:00 |
|
Hajime Hoshi
|
6e897d1479
|
graphcis: Bug fix: Can't dispose textures/framebuffers after the context is lost (fixing #305)
|
2017-01-22 01:37:08 +09:00 |
|
Hajime Hoshi
|
d3e1f91511
|
graphis: Bug fix: blurred screen after restoring the context (#306)
|
2017-01-21 15:16:47 +09:00 |
|
Hajime Hoshi
|
bccf76867e
|
graphics: Try to restore the context on browsers (WIP)
|
2017-01-21 02:56:26 +09:00 |
|
Hajime Hoshi
|
b86f1771e4
|
ui: Add goroutine so that blocking is available everywhere
|
2016-11-29 01:40:06 +09:00 |
|
Hajime Hoshi
|
a1e868b822
|
ui: Don't use 'image-rendering' CSS on Safari (#293)
|
2016-11-26 23:45:06 +09:00 |
|
Hajime Hoshi
|
07294a98b6
|
Move internal/graphics/opengl -> internal/opengl
|
2016-11-03 23:31:25 +09:00 |
|
Hajime Hoshi
|
dc0254db40
|
ui: Optimized scaling on browsers
|
2016-09-15 10:04:48 +09:00 |
|
Hajime Hoshi
|
cd885ce7c5
|
ui: Add SetCursorVisibility (#258)
|
2016-09-03 18:54:21 +09:00 |
|
Hajime Hoshi
|
ec70ea3be5
|
ui: Refactoring
|
2016-09-03 01:06:16 +09:00 |
|
Hajime Hoshi
|
db782ff0d9
|
ui: Remove UserInterface interface
|
2016-09-03 00:20:05 +09:00 |
|
Hajime Hoshi
|
f204c14f90
|
ui: Rename Run -> RunMainThreadLoop
|
2016-09-03 00:00:44 +09:00 |
|
Hajime Hoshi
|
6164ecb9fc
|
ui: Reduce functions in UserInterface
|
2016-09-02 23:45:54 +09:00 |
|
Hajime Hoshi
|
128dcaa342
|
ui: Rename Main -> Run
|
2016-09-02 02:59:40 +09:00 |
|
Hajime Hoshi
|
571d67f967
|
ui: Reduce methods in UserInterface
|
2016-09-02 02:31:03 +09:00 |
|
Hajime Hoshi
|
453c2c4589
|
ui: Remove Terminate
|
2016-09-02 01:07:41 +09:00 |
|
Hajime Hoshi
|
6da16aa1a0
|
ui: Refactoring: Remove events
|
2016-09-02 00:53:05 +09:00 |
|
Hajime Hoshi
|
1e0bdf844d
|
loop: Bug fix: vsync should not use channels on browsers (#259)
|
2016-09-01 10:36:00 +09:00 |
|
Hajime Hoshi
|
cddaae55dd
|
ui: Simplify vsync
|
2016-08-28 17:09:58 +09:00 |
|
Hajime Hoshi
|
f556b19f22
|
Add error checks
|
2016-08-03 23:44:54 +09:00 |
|
Hajime Hoshi
|
6968e898c3
|
Bug fix: ui.Main should be suspended when error occurs in the loop
|
2016-08-02 02:48:19 +09:00 |
|
Hajime Hoshi
|
e118a755f5
|
ui: Bug fix: Sizing also calls GLContext
|
2016-07-24 05:29:47 +09:00 |
|
Hajime Hoshi
|
c5e42c91be
|
ui: Add glcontext.go
|
2016-07-24 00:05:36 +09:00 |
|
Hajime Hoshi
|
121063ee2b
|
ui: Initialize GLContext at Start
|
2016-07-23 22:17:36 +09:00 |
|
Hajime Hoshi
|
1953539e22
|
ui: Refactoring: Simplify initializing
|
2016-07-23 20:25:52 +09:00 |
|
Hajime Hoshi
|
193c03ea58
|
ui: Bug fix: Don't use integer scale (JavaScript)
|
2016-07-09 18:27:29 +09:00 |
|
Hajime Hoshi
|
3ebc5cc15a
|
ui: Stop the game when the window is deactivated (#230)
|
2016-06-30 01:07:54 +09:00 |
|
Hajime Hoshi
|
328ef85606
|
opengl: Prepare Context Losing for JavaScript (#217)
|
2016-06-29 23:18:02 +09:00 |
|
Hajime Hoshi
|
bb511b2c13
|
ui: Scale is now float64 (#236)
|
2016-06-25 01:26:59 +09:00 |
|
Hajime Hoshi
|
b0a7e13502
|
ui: Remove ScreenSizeEvent.Scale
|
2016-06-19 05:10:27 +09:00 |
|
Hajime Hoshi
|
eb8e8b6034
|
ui: Remove FinishRendering
|
2016-06-10 01:49:21 +09:00 |
|
Hajime Hoshi
|
e84f798c7c
|
input: Bug fix: Coordinate calculation of touch events
|
2016-05-27 01:47:24 +09:00 |
|
Hajime Hoshi
|
bdaff72af9
|
input: Implement Touches function (WIP) (#101)
|
2016-05-27 01:31:30 +09:00 |
|
Hajime Hoshi
|
6d06b01cae
|
gomobile bind works
|
2016-05-22 04:25:15 +09:00 |
|
Hajime Hoshi
|
c36dd3df52
|
ui: Change Input to be an interface
|
2016-05-20 00:15:05 +09:00 |
|
Hajime Hoshi
|
d09bb63f71
|
ui: Change UserInterface to be an interface
|
2016-05-20 00:07:06 +09:00 |
|
Hajime Hoshi
|
335781759c
|
ui: Introduce ScreenSizeEvent to simplify the run loop
|
2016-05-18 11:56:43 +09:00 |
|
Hajime Hoshi
|
faff188574
|
ui: Move Now() to internal/loop and hide it
|
2016-05-18 11:24:17 +09:00 |
|
Hajime Hoshi
|
cd5436712b
|
ui: Hide Init() func
|
2016-05-18 11:12:23 +09:00 |
|
Hajime Hoshi
|
5c68ee4034
|
ui: Use events in the game loop
|
2016-05-18 02:03:41 +09:00 |
|
Hajime Hoshi
|
49c156d2b5
|
ui: Rename DoEvents -> Update
|
2016-05-18 01:22:01 +09:00 |
|
Hajime Hoshi
|
d6bfa72c5c
|
graphics: Remove openGLState.initialize
|
2016-05-16 11:32:26 +09:00 |
|
Hajime Hoshi
|
9f2b53d24c
|
graphics: Add InitializeIfNeeded function (preparing for Android)
|
2016-05-15 04:05:57 +09:00 |
|
Hajime Hoshi
|
209b4e6864
|
ui: Add Main for the OS main thread
|
2016-05-06 21:30:23 +09:00 |
|
Hajime Hoshi
|
5a379cb7cb
|
Reduce panics (#196)
|
2016-04-11 01:48:40 +09:00 |
|
Hajime Hoshi
|
4a60343fe6
|
ui: Don't use currentUI directly
|
2016-03-26 15:17:01 +09:00 |
|
Hajime Hoshi
|
95485441f4
|
ui: Remove dataset attributes
|
2016-03-25 01:15:47 +09:00 |
|