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 |
|
Hajime Hoshi
|
b1f856a0e0
|
Add FPS const
|
2016-03-13 04:57:31 +09:00 |
|
Hajime Hoshi
|
3588d0b485
|
ui: Move vsync to ui.SwapBuffers on JavaScript version
|
2016-02-28 03:49:57 +09:00 |
|
Hajime Hoshi
|
94f1e7df64
|
ui: Bug fix: Don't call ui.DoEvents too often
|
2016-02-28 03:08:22 +09:00 |
|
Hajime Hoshi
|
522b7370a4
|
ui: Change the threshold to determine if the running is busy
|
2016-02-28 02:48:49 +09:00 |
|
Hajime Hoshi
|
db2a43217e
|
ui: Update input status per frame
|
2016-02-28 02:32:14 +09:00 |
|
Hajime Hoshi
|
b3d7e04de5
|
ui: Introduce IsRunningSlowly (#168)
|
2016-02-28 02:28:16 +09:00 |
|
Hajime Hoshi
|
8132264a88
|
ui: Refactoring: rename variables
|
2016-02-28 02:16:57 +09:00 |
|
Hajime Hoshi
|
fc200ec6f2
|
ui: Bug fix: The default framebuffer must be bound before swapping buffers
|
2016-02-28 00:56:39 +09:00 |
|
Hajime Hoshi
|
8788c8439f
|
Refactoring: Remove postUpdate
|
2016-02-28 00:11:27 +09:00 |
|
Hajime Hoshi
|
e2f528d206
|
Refactoring: unify preUpdate and calling f
|
2016-02-27 23:39:06 +09:00 |
|
Hajime Hoshi
|
8069c980c3
|
ui: Refactoring: Add ui.ActualScale()
|
2016-02-27 01:44:01 +09:00 |
|
Hajime Hoshi
|
e8a3e04535
|
opengl: Error prefix
|
2016-02-24 00:31:28 +09:00 |
|
Hajime Hoshi
|
9e161864f6
|
ui: Bug fix: Make sure current framebuffers rendered (#158)
|
2016-02-22 03:14:31 +09:00 |
|
Hajime Hoshi
|
63f2c3cb9f
|
graphics: Refactoring: remove ExecOnUIThread
|
2016-02-20 04:39:43 +09:00 |
|
Hajime Hoshi
|
269d94b145
|
graphics: Add worker consumer
|
2016-02-19 11:43:16 +09:00 |
|
Hajime Hoshi
|
719e5ba6d2
|
audio: Remove audio.Tick
|
2016-02-10 00:09:23 +09:00 |
|
Hajime Hoshi
|
34691dabbf
|
audio: Reimplement audio for JS with AudioBuffer (#146)
|
2016-02-09 22:35:55 +09:00 |
|
Hajime Hoshi
|
4b4802419b
|
audio: Remove audio.Tick
|
2016-02-08 03:26:58 +09:00 |
|
Hajime Hoshi
|
a83286accb
|
audio: Move files from exp/audio/inner to internal/audio
|
2016-02-07 16:03:41 +09:00 |
|
Hajime Hoshi
|
633ee4096e
|
#132 Temporal hack to run with Go1.5
|
2015-07-22 23:28:15 +09:00 |
|
Hajime Hoshi
|
2a8bcbfa18
|
Fix comments
|
2015-06-14 03:51:57 +09:00 |
|
Hajime Hoshi
|
5e5eea59ce
|
Stop the game when the screen is not active
|
2015-02-21 22:19:03 +09:00 |
|
Hajime Hoshi
|
f2a496b6ad
|
Guarantee 60 FPS
|
2015-02-21 22:00:02 +09:00 |
|
Hajime Hoshi
|
936942a28d
|
Add comments
|
2015-02-20 02:01:56 +09:00 |
|
Hajime Hoshi
|
ba3feaf52f
|
ui: More precise clock
|
2015-02-15 19:30:29 +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
|
fdedee9aab
|
Bug fix: Add gopherjs:blocking for the latest GopherJS
|
2015-02-09 11:16:23 +09:00 |
|
Hajime Hoshi
|
249add3979
|
Add SetScreenSize
|
2015-02-09 11:02:04 +09:00 |
|
Hajime Hoshi
|
d321dfe7fd
|
Remove audio/internal.Start()
|
2015-01-27 23:00:41 +09:00 |
|
Hajime Hoshi
|
ea78b31414
|
Move internal/audio -> exp/audio/internal
|
2015-01-27 22:55:45 +09:00 |
|
Hajime Hoshi
|
3964944deb
|
Move ui_*.go back to internal/ui again
|
2015-01-27 22:37:00 +09:00 |
|
Hajime Hoshi
|
23b3f1afce
|
Move some files of internal/ui to the root
|
2015-01-27 01:10:17 +09:00 |
|
Hajime Hoshi
|
346bc53d53
|
Move internal/opengl -> internal/graphics/internal/opengl
|
2015-01-26 23:27:28 +09:00 |
|
Hajime Hoshi
|
8d250c6b25
|
audio: Add channel.nextInsertion
|
2015-01-23 10:58:18 +09:00 |
|
Hajime Hoshi
|
01dbc515b5
|
Remove innerImage
|
2015-01-12 19:54:25 +09:00 |
|
Hajime Hoshi
|
a6b7eab71b
|
Add Gamepad API
|
2015-01-12 02:29:56 +09:00 |
|
Hajime Hoshi
|
9d5ab644a4
|
Add CurrentFPS
|
2015-01-11 16:02:13 +09:00 |
|
Hajime Hoshi
|
a1214ff735
|
Stop the game when the window is not active (#69)
|
2015-01-08 01:35:09 +09:00 |
|
Hajime Hoshi
|
038613aaf9
|
More precise game loop
|
2015-01-08 00:56:21 +09:00 |
|
Hajime Hoshi
|
c4e104a5d2
|
Remove ui.ActualScale()
|
2015-01-02 03:28:43 +09:00 |
|
Hajime Hoshi
|
3d01084a2a
|
Hide structs in internal/ui
|
2015-01-02 03:25:31 +09:00 |
|
Hajime Hoshi
|
8994bf4fad
|
Rename RealScale -> ActualScale
|
2015-01-02 02:23:47 +09:00 |
|
Hajime Hoshi
|
96f5315c49
|
Add internal/ui module
|
2015-01-02 02:13:27 +09:00 |
|
Hajime Hoshi
|
5f4aa33edf
|
Reduce currentUI usages
|
2015-01-01 04:30:10 +09:00 |
|
Hajime Hoshi
|
1f19cc3506
|
Fix doc
|
2014-12-28 17:11:24 +09:00 |
|
Hajime Hoshi
|
7ab96a28cb
|
Update comments
|
2014-12-28 15:46:40 +09:00 |
|
Hajime Hoshi
|
4b78ae3d36
|
Bug fix: add sleeping to avoid busy loop
|
2014-12-28 04:01:23 +09:00 |
|
Hajime Hoshi
|
373371d1b2
|
Change license comments style to use magic comments (magic comments like +build should be placed before a general comment)
|
2014-12-24 11:04:10 +09:00 |
|
Hajime Hoshi
|
0f8ac49055
|
Unify RenderTarget and Image into Image (#34)
|
2014-12-22 11:10:08 +09:00 |
|
Hajime Hoshi
|
991adb7449
|
Change RenderTexture to interface
|
2014-12-21 00:36:27 +09:00 |
|
Hajime Hoshi
|
01e0d42451
|
Remove GraphicsContext; Add rendering methods to RenderTarget (#26)
|
2014-12-20 23:24:15 +09:00 |
|
Hajime Hoshi
|
ebdee00dd2
|
Simplify API: Make loading textures enable before running a game (#24)
|
2014-12-17 20:03:26 +09:00 |
|
Hajime Hoshi
|
a95ed2cd2a
|
Simplify Run and Remove Game
|
2014-12-17 17:45:06 +09:00 |
|
Hajime Hoshi
|
1c460d80c3
|
Add examples/image
|
2014-12-17 17:10:38 +09:00 |
|
Hajime Hoshi
|
ca5bd564a6
|
Add comments (to pass golint)
|
2014-12-14 22:05:44 +09:00 |
|
Hajime Hoshi
|
3190609f07
|
Remove canvas
|
2014-12-14 19:29:59 +09:00 |
|
Hajime Hoshi
|
60aad4326e
|
Hide members of RenderTarget (again)
|
2014-12-14 18:34:47 +09:00 |
|
Hajime Hoshi
|
d0c0dea2be
|
Remove GameContext
|
2014-12-14 17:28:19 +09:00 |
|
Hajime Hoshi
|
8319e0d41d
|
Remove package glfw (once)
|
2014-12-14 17:00:11 +09:00 |
|
Hajime Hoshi
|
b313578a24
|
Add ebiten/runner; Move glfw -> internal/glfw
|
2014-12-10 22:55:34 +09:00 |
|
Hajime Hoshi
|
00552d91c2
|
Remove Canvas
|
2014-12-10 10:44:27 +09:00 |
|
Hajime Hoshi
|
d1f513a043
|
Unify keyboard and mouse to input
|
2014-12-10 00:00:45 +09:00 |
|
Hajime Hoshi
|
225f1fa7b1
|
Add license comments (#18)
|
2014-12-09 23:16:04 +09:00 |
|
Hajime Hoshi
|
164b320170
|
Unify packages to ebiten (#19)
|
2014-12-09 22:19:30 +09:00 |
|