Commit Graph

115 Commits

Author SHA1 Message Date
Hajime Hoshi
6b70adf23b graphics: Clarify when ebiten.Run returns error (#331) 2017-03-04 02:27:46 +09:00
Hajime Hoshi
e11bc62059 ui: SetScreenSize/Scale no longer returns error 2017-03-03 10:58:29 +09:00
Hajime Hoshi
bc29a6a355 doc: Add explanation of errors from Run (#327) 2017-02-22 23:25:46 +09:00
Hajime Hoshi
071b65f173 loop: Remove IsRunning 2016-09-03 21:14:06 +09:00
Hajime Hoshi
cd885ce7c5 ui: Add SetCursorVisibility (#258) 2016-09-03 18:54:21 +09:00
Hajime Hoshi
d08beef412 ui: Bug fix: ScreenScale should not cause deadlock (#264) 2016-09-03 18:04:22 +09:00
Hajime Hoshi
750c2e08df ui: Bug fix: SetScreenSize/Scale must be called after Run 2016-09-03 17:54:04 +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
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
c7106f595c Add error checks 2016-08-02 02:26:44 +09:00
Hajime Hoshi
9bbd5e89c3 graphics: Bug fix: GL context is not available until graphics context is initialized 2016-07-24 06:02:04 +09:00
Hajime Hoshi
0276be6c69 ui: Refactoring 2016-07-23 18:57:19 +09:00
Hajime Hoshi
93f052de8c graphics: Refactoring 2016-07-03 16:18:29 +09:00
Hajime Hoshi
83e24f6d48 ui: Update a comment about units 2016-07-03 04:13:39 +09:00
Hajime Hoshi
bb511b2c13 ui: Scale is now float64 (#236) 2016-06-25 01:26:59 +09:00
Hajime Hoshi
296282435a ui: Bug fix: RunWithoutMainLoop must return a chan 2016-05-22 02:20:14 +09:00
Hajime Hoshi
dd9ab5e45a Introduce mobile module 2016-05-19 01:49:57 +09:00
Hajime Hoshi
b1afe6aeb2 loop: Refactoring: Remove FPS 2016-05-18 23:27:28 +09:00
Hajime Hoshi
335781759c ui: Introduce ScreenSizeEvent to simplify the run loop 2016-05-18 11:56:43 +09:00
Hajime Hoshi
063ed564fd Move the run loop to internal/loop 2016-05-18 10:59:37 +09:00
Hajime Hoshi
7f19d4a1ac ui: Remove CurrentUI() 2016-05-18 10:51:11 +09:00
Hajime Hoshi
4d04413bf9 ui: Move the run loop to internal/ui 2016-05-18 10:46: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
41fae3214b ui: Refactoring: Simplify the run loop 2016-05-18 00:15:38 +09:00
Hajime Hoshi
f1f3bcc257 graphics: Bug fix: Concurrent-safe check in (*Image).At 2016-05-12 11:36:09 +09:00
Hajime Hoshi
9d569e3e49 graphics: Bug fix: now ebiten.Image can be passed to NewImageFromImage (#213) 2016-05-12 11:23:52 +09:00
Hajime Hoshi
acca1c2480 graphics: Better function and variable names 2016-05-08 04:55:27 +09:00
Hajime Hoshi
61ed13e322 graphics: Lazy image processing (especailly for mobile platforms) 2016-05-08 03:23:11 +09:00
Hajime Hoshi
a9249d6c65 doc: Bug fix: SetScreenSize -> SetScreenScale 2016-05-06 22:42:07 +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
b9752ce97c ui: Fix comment 2016-04-10 23:03:50 +09:00
Hajime Hoshi
c2d1f99e7e ui: less error adjustment is better 2016-04-09 19:08:19 +09:00
Hajime Hoshi
e608837943 ui: Make FPS more stable (#203) 2016-04-09 18:56:07 +09:00
Hajime Hoshi
884719264e ui: Use integers as much as possible 2016-04-09 16:57:04 +09:00
Hajime Hoshi
328900ec80 ui: Bug fix: 'frames' should be incremanted only when drawing happens 2016-04-09 02:36:41 +09:00
Hajime Hoshi
5fa81ebe78 ui: Refactoring: Don't re-get ui.Now() to calculate FPS 2016-04-09 02:33:06 +09:00
Hajime Hoshi
922fc7edfc doc: goroutine-safe -> concurrent-safe 2016-04-06 10:57:30 +09:00
Hajime Hoshi
a3b5b283e4 ui: Bug fix: assigning a run context was not goroutine-safe 2016-03-26 19:16:57 +09:00
Hajime Hoshi
fc3dcd4a6b ui: Make UI functions goroutine-safe 2016-03-26 18:46:07 +09:00
Hajime Hoshi
1934ab0893 ui: Add *runContext.updateScreenSize 2016-03-26 18:17:06 +09:00
Hajime Hoshi
5a8f5ffe87 ui: Remove running member 2016-03-26 17:59:36 +09:00
Hajime Hoshi
30d4437e97 ui: Add runContext struct 2016-03-26 17:50:00 +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