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 |
|
Hajime Hoshi
|
fb3bf4e3b4
|
ui: Add CurrentUI()
|
2016-03-25 00:38:30 +09:00 |
|
Hajime Hoshi
|
6efead974f
|
ui: Rename ActualScale -> ActualScreenScale
|
2016-03-23 01:14:28 +09:00 |
|
Hajime Hoshi
|
62dffe5405
|
Add ebiten.ScreenScale() (#191)
|
2016-03-23 00:44:16 +09:00 |
|
Hajime Hoshi
|
3588d0b485
|
ui: Move vsync to ui.SwapBuffers on JavaScript version
|
2016-02-28 03:49:57 +09:00 |
|
Hajime Hoshi
|
8069c980c3
|
ui: Refactoring: Add ui.ActualScale()
|
2016-02-27 01:44:01 +09:00 |
|
Hajime Hoshi
|
591d71b447
|
ui: Bug fix: Init should always return a opengl context
|
2016-02-21 04:56:27 +09:00 |
|
Hajime Hoshi
|
46c74ec818
|
ui: Bug fix: compile error (a return value is required)
|
2016-02-21 02:19:40 +09:00 |
|
Hajime Hoshi
|
a4092a1bf1
|
ui: Bug fix: compile error
|
2016-02-21 02:15:14 +09:00 |
|
Hajime Hoshi
|
408444842a
|
Refactoring: ui.Init now returns gl.Context object
|
2016-02-20 20:08:53 +09:00 |
|
Hajime Hoshi
|
63f2c3cb9f
|
graphics: Refactoring: remove ExecOnUIThread
|
2016-02-20 04:39:43 +09:00 |
|
Hajime Hoshi
|
2b8e98cfbc
|
js: Revert 60 FPS from 30 FPS
|
2015-06-14 03:50:43 +09:00 |
|
Hajime Hoshi
|
bca600a093
|
Update for the latest GopherJS (use *js.Object instead of js.Object)
|
2015-03-01 01:26:16 +09:00 |
|
Hajime Hoshi
|
246ac055bf
|
ui: Frame skip on JS
|
2015-02-21 22:19:26 +09:00 |
|
Hajime Hoshi
|
936942a28d
|
Add comments
|
2015-02-20 02:01:56 +09:00 |
|
Hajime Hoshi
|
8c2301e542
|
Fix misspelling
|
2015-02-16 02:49:17 +09:00 |
|
Hajime Hoshi
|
ba3feaf52f
|
ui: More precise clock
|
2015-02-15 19:30:29 +09:00 |
|
Hajime Hoshi
|
c5fc7ea0ab
|
ui: More precise space calc
|
2015-02-14 23:23:11 +09:00 |
|
Hajime Hoshi
|
beecf31937
|
Resolve some TODOs
|
2015-02-10 10:44:58 +09:00 |
|
Hajime Hoshi
|
cd4188b0a3
|
Add SetScreenScale (#115)
|
2015-02-10 00:10:50 +09:00 |
|
Hajime Hoshi
|
249add3979
|
Add SetScreenSize
|
2015-02-09 11:02:04 +09:00 |
|
Hajime Hoshi
|
3964944deb
|
Move ui_*.go back to internal/ui again
|
2015-01-27 22:37:00 +09:00 |
|