Commit Graph

368 Commits

Author SHA1 Message Date
Hajime Hoshi
49a5a2bf4e uidriver/js: Bug fix: Needed to initialize pseudoScale with the given scale
Updates #960, #973
2019-10-27 17:16:49 +09:00
Hajime Hoshi
2f7ccf17f5 docs: Fix comments 2019-10-22 04:15:15 +09:00
Hajime Hoshi
e391d7241d docs: Add backward compatibility notes 2019-10-22 04:07:14 +09:00
Hajime Hoshi
75721e6fc1 ui: Auto scaling on browsers
This change forces Ebiten apps on browsers 'fullscreen' mode.
After this change, 'scale' value is no longer used on browsers.

Note that this breaks backward compatibility, but as long as the
game works in an iframe, this should not be problematic.

Fixes #960
2019-10-15 00:02:02 +09:00
Hajime Hoshi
52900fac79 Move back driver getters to ebiten package 2019-09-03 01:46:11 +09:00
Hajime Hoshi
3646e7930d graphics: Bug fix: the flag and the enqueueing operation must be protected by a same mutex
It was theoretically possible that an item was enqueued even
though the flag said it should not.
2019-08-25 21:22:54 +09:00
Hajime Hoshi
ef56d0a535 Refactoring: isRunning -> isImageAvailable 2019-08-25 00:14:37 +09:00
Hajime Hoshi
df8fdc855a Bug fix: Compile error on GOOS=linux CGO_ENABLED=0 2019-08-01 08:17:58 +09:00
Hajime Hoshi
de915a1736 Move driver getters to graphicsdriver/uidriver packages
This enables to add internal functions to these packages so that
the driver selector logics can be modified.
2019-08-01 00:40:59 +09:00
Hajime Hoshi
833e467fde Make Ebiten buildable on the playground environment
Bug: #871
2019-05-22 12:25:38 +09:00
Hajime Hoshi
f984f5ada9 Force to use Go 1.12 or later
As syscall/js has incompatible change between Go 1.11 and Go 1.12,
it is safe to force to use Go 1.12.
2019-05-01 17:43:38 +09:00
Hajime Hoshi
db689f4e50 driver: Remove UI.Loop and add UI.RunWithoutMainLoop 2019-04-09 21:55:59 -04:00
Hajime Hoshi
f6367308fc driver: Rename GraphicsContext -> UIContext 2019-04-08 23:28:08 -04:00
Hajime Hoshi
26c32d36b5 uidriver: Move input implementation to uidrivers 2019-04-07 19:16:00 +09:00
Hajime Hoshi
7e5085f15b Add uidriver package and move UI implementation to this packaage 2019-04-07 18:21:16 +09:00
Hajime Hoshi
6b8516c7a5 driver: Move ui.RegularTermination to driver 2019-04-07 10:54:05 +09:00
Hajime Hoshi
a980de8326 ui: Take the Input driver 2019-04-06 23:29:13 +09:00
Hajime Hoshi
747d1be54e driver: Move getting actual drivers to ebiten package 2019-03-30 22:19:21 +09:00
Hajime Hoshi
f2e42c3ea1 ui: Remove dependencies on driver package 2019-03-30 21:59:11 +09:00
Hajime Hoshi
f56c3bd096 ui: Unexport SetWindowResizable (#320) 2019-02-25 02:19:47 +09:00
Hajime Hoshi
55e9a861d0 ui: Bug fix: isRunning should never be 'false' even after Run on GopherJS 2019-01-19 03:29:07 +09:00
Hajime Hoshi
58cc5cb105 graphics: Better error message for At and Set (#790) 2019-01-19 02:59:22 +09:00
Hajime Hoshi
248f51cc02 ui: Fix comments 2019-01-17 23:40:33 +09:00
Hajime Hoshi
ddecc1c602 ui: Fix comments 2019-01-13 23:25:32 +09:00
Hajime Hoshi
607186859d ui: Run returns immediately on GopherJS
Fixes #778
2019-01-13 22:16:33 +09:00
Hajime Hoshi
866f64a625 Add a better error message for Go version
Fixes #777
2019-01-10 23:44:35 +09:00
Hajime Hoshi
ae84e79d16 ui: Add IsWindowResizable and SetWindowResizable (again)
Fixes #320
2019-01-09 00:24:16 +09:00
Hajime Hoshi
0d4e903b7a Revert "ui: Add IsWindowResizable and SetWindowResizable"
This reverts commit f403e0716f.

Reason: Compilation error on browsers
2019-01-09 00:12:57 +09:00
Hajime Hoshi
f403e0716f ui: Add IsWindowResizable and SetWindowResizable
Fixes #320
2019-01-08 23:52:53 +09:00
Hajime Hoshi
99e4c874fe Reduce init functions
This mitigates the init-order issue on jsgo.io.
2018-12-26 02:13:47 +09:00
Hajime Hoshi
155ee828b8 Fix misspelling 2018-12-03 18:23:25 +01:00
Hajime Hoshi
3abbe26f7f Remove dependency on internal/png on mobiles and browsers
Fixes #735
2018-11-14 00:37:51 +09:00
Hajime Hoshi
4090258904 opengl: Remove Init (except for mobile) 2018-11-05 00:21:39 +09:00
Hajime Hoshi
7f291b7bb1 Fix screenshot/internal-images file names 2018-10-13 03:24:02 +09:00
Hajime Hoshi
6a9184dd63 ui: Add MonitorSize again
Fixes #711
2018-10-11 10:30:02 +09:00
Hajime Hoshi
e6d385133a Change the screenshot location 2018-10-11 01:39:33 +09:00
Hajime Hoshi
3600c8aa6c ui: Add documents about concurrent-safety
Fixes #709.
2018-10-10 23:23:30 +09:00
Hajime Hoshi
c758a1f8c6 ui: Rename MonitorSize -> ScreenSizeInFullscreen (#708) 2018-10-09 23:42:03 +09:00
Hajime Hoshi
4a5548a4a0 ui: MonitorSize should return the 'current' monitor size instead of the primary monitor size 2018-10-08 01:15:57 +09:00
Hajime Hoshi
f3b7148564 ui: Bug fix: DeviceScaleFactor should return the current monitor's scale 2018-10-08 01:11:13 +09:00
Hajime Hoshi
cae9e39453 ui: Use the best suitable monitor for fullscreen
This change also changes the definition of MonitorSize.
2018-10-06 02:59:38 +09:00
Hajime Hoshi
1807a3f530 devicescale: Rename function 2018-10-04 01:28:53 +09:00
Hajime Hoshi
25a5f1dd83 ui: Sleep when vsync doesn't work (#692) 2018-09-30 14:44:54 +09:00
Hajime Hoshi
464c575de6 Fix comments 2018-07-18 02:17:06 +09:00
Hajime Hoshi
0593b77eb8 ui: Implement CurrentTPS 2018-07-18 02:11:00 +09:00
Hajime Hoshi
e99f2f9f69 ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
Hajime Hoshi
a7a1f6b4c6 ui: Rename SetTPS -> SetMaxTPS, Introduce UncappedTPS 2018-07-17 22:33:53 +09:00
Hajime Hoshi
82c44a2995 Comment fix 2018-07-17 03:23:45 +09:00
Hajime Hoshi
16c6ab4d07 ui: Introduce DefaultTPS and deprecate FPS 2018-07-17 02:07:03 +09:00
Hajime Hoshi
3a8ca5ad73 ui: Implement TPS/SetTPS
Fixes #605
Fixes #321
2018-07-17 01:58:00 +09:00
Hajime Hoshi
1626e40822 Refactoring: Avoid using const FPS 2018-07-17 00:53:00 +09:00
Hajime Hoshi
71dfe17dcc Fix comments 2018-07-16 04:57:15 +09:00
Hajime Hoshi
9be02c905b Misspelling 2018-07-16 04:39:05 +09:00
Hajime Hoshi
88e6768a30 Use the term 'TPS' ticks per second 2018-07-16 04:36:47 +09:00
Hajime Hoshi
18ec1d8265 internal/clock: Update takes FPS 2018-07-16 01:03:23 +09:00
Hajime Hoshi
d752408da3 Fix comments not to use the term 'this function' 2018-07-15 01:04:46 +09:00
Hajime Hoshi
e25c237a01 Add IsVsyncEnabled / SetVsyncEnabled
This enables the game to work more efficiently (but consume much
more CPU).

Fixes #405.
2018-07-14 21:43:55 +09:00
Hajime Hoshi
6c8b7f8e9c graphics: Refactoring: Reduce error propagations 2018-07-12 03:08:50 +09:00
Hajime Hoshi
aa06c5ffa5 Update comments 2018-07-11 11:06:18 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
b1e4c3c8f0 Add 'ebitendebug' build tag
EBITEN_INTERNAL_IMAGES_KEY is now disabled by default, and enabled
only when a build tag 'ebitendebug' is specified. It is because
game developers might want to disable EBITEN_INTERNAL_IMAGES_KEY
when they release their games, or anyone can dump the internal
images.

Fixes #632.
2018-06-25 23:59:32 +09:00
Hajime Hoshi
167d21ec46 devicescale: Panic on Android when called from init funcs 2018-05-05 03:16:29 +09:00
Hajime Hoshi
d8dba69b47 ui: Add MonitorSize
Fixes #470
2018-05-05 02:42:45 +09:00
Hajime Hoshi
9a06b31556 ui: Don't panic at DeviceScaleFactor in init
Fixes #597
2018-05-05 01:28:29 +09:00
Hajime Hoshi
9efccea31c ui: Add SetWindowTitle
Fixes #595
2018-05-02 19:21:17 +09:00
Hajime Hoshi
452a9b14a4 graphics: Rename EBITEN_DUMP_IMAGES_KEY to EBITEN_INTERNAL_IMAGES_KEY 2018-04-28 22:24:03 +09:00
Hajime Hoshi
a36bb5dffd graphics: Changed screenshot image location for consistency 2018-04-28 22:19:24 +09:00
Hajime Hoshi
613f384cb5 graphics: Add EBITEN_DUMP_IMAGES_KEY
Fixes #589
2018-04-28 22:08:20 +09:00
Hajime Hoshi
245dde9bc1 graphics: Refactoring: screenshot dump: remove global variables 2018-04-28 05:01:12 +09:00
Hajime Hoshi
888d650872 Add 'screenshot' feature
If you run your game with environment variable EBITEN_SCREENSHOT_KEY=<keyname>,
you can take a game screenshot by pressing the specified key.

Fixes #553
2018-04-11 01:00:22 +09:00
Hajime Hoshi
2d3c6ab5b8 ui: Remove build tag 'gomobilebuild'
Fixes #573
2018-04-07 02:14:54 +09:00
Hajime Hoshi
2110191794 mobile: Accept gomobile build (#249) 2018-03-24 02:52:42 +09:00
Hajime Hoshi
526fbd3619 ui: Implement SetWindowDecorated and IsWindowDecorated
Fixes #430.
2018-03-17 18:30:55 +09:00
Hajime Hoshi
e3023889ac ui: Change RegularTermination to a value 2018-02-04 00:22:38 +09:00
Hajime Hoshi
b9c115eb92 docs: Add comment to IsRunningSlowly (again) 2018-02-03 00:57:10 +09:00
Hajime Hoshi
35bbee9307 docs: Add comment to IsRunningSlowly 2018-02-03 00:55:38 +09:00
Hajime Hoshi
38c72faf95 ui: Deprecate SetCursorVisibility and add SetCursorVisible (#407) 2018-01-09 02:01:33 +09:00
Hajime Hoshi
61646e5d03 Refactoring: Remove updater 2018-01-06 23:30:11 +09:00
Hajime Hoshi
4bcb2e5682 devicescale: Rename XFCE -> Xfce 2018-01-04 17:16:02 +09:00
Hajime Hoshi
dc75e69d1e ui: Rename DeviceScale -> DeviceScaleFactor 2018-01-03 19:23:29 +09:00
Hajime Hoshi
5dfb361aca doc: Fix DeviceScale comment 2018-01-03 16:56:23 +09:00
Hajime Hoshi
7ba811e5ba Add comments to DeviceScale 2018-01-03 16:52:41 +09:00
Hajime Hoshi
d18fc36040 Add DeviceScale() experimentally 2018-01-03 05:25:22 +09:00
Hajime Hoshi
0379e3c591 audio: Deprecate Update 2017-12-01 00:26:28 +09:00
Hajime Hoshi
cea9bd5a19 input: Bug fix: runeBuffer should be reset on each frame 2017-11-10 01:21:15 +09:00
Hajime Hoshi
626b772b25 doc: Improve comments 2017-10-01 17:24:30 +09:00
Hajime Hoshi
a7fc463d91 doc: Improve comments 2017-10-01 03:15:50 +09:00
Hajime Hoshi
23123eb3c0 doc: Fix comment 2017-09-30 13:36:56 +09:00
Hajime Hoshi
835d199f02 ui: Rename SetIcon to SetWindowIcon (#386) 2017-09-23 17:40:09 +09:00
Hajime Hoshi
dacda0d176 ui: Add SetIcon (#386) 2017-09-23 04:28:57 +09:00
Hajime Hoshi
b186bc1e94 ui: Add IsCursorVisible (#377) 2017-08-12 15:45:16 +09:00
Hajime Hoshi
2c7cfba863 ui: Fix comments 2017-08-12 13:38:59 +09:00
Hajime Hoshi
14737df60f loop: Remove package loop 2017-08-06 02:17:26 +09:00
Hajime Hoshi
0913adc1e2 loop: Remove Update 2017-08-06 02:15:27 +09:00
Hajime Hoshi
94843fbe73 loop: Move clock.FPS to loop.FPS to reduce dependencies 2017-08-05 22:08:58 +09:00
Hajime Hoshi
b85f5edee0 loop: Simplify logic 2017-08-05 21:24:04 +09:00
Hajime Hoshi
4ee0c9b482 loop: Refactoring: Create updater struct 2017-08-05 21:06:25 +09:00
Hajime Hoshi
eef8289854 loop: Remove dependency on ui 2017-08-05 20:43:49 +09:00
Hajime Hoshi
f0d47312c4 ui: Add IsRunnableInBackground / SetRunnableInBackground (#272) 2017-08-03 03:21:51 +09:00
Hajime Hoshi
8a1da77b67 ui: Fix comments 2017-07-22 02:15:09 +09:00
Hajime Hoshi
59110ba5ec clock: Refactoring: Use clock.FPS everywhere 2017-07-14 03:19:50 +09:00
Hajime Hoshi
06d6494ca7 ui: Add comments 2017-07-01 13:07:44 +09:00
Hajime Hoshi
b569eb9c5a ui: Add SetFullscreen / IsFullscreen (#267) 2017-06-30 01:28:00 +09:00
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
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