Hajime Hoshi
9b2f864fc8
ui: Add SetWindowPosition(x, y int)
...
Fixes #936
2019-11-30 23:22:39 +09:00
Hajime Hoshi
c021d6be6a
ui: Add WindowPosition()
...
Fixes #936
2019-11-30 22:37:56 +09:00
Hajime Hoshi
e0d780b029
uidriver/glfw: Enable to call SetWindowDecorated after Run
...
Fixes #556
2019-11-26 11:46:18 +09:00
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
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
726de29f36
examples/windowsize: Remove Q key to terminate
...
Not having a way to terminate the app is more portable. Browsers
and mobiles don't have the notion of 'termination'.
2019-10-14 23:49:42 +09:00
Hajime Hoshi
f56c3bd096
ui: Unexport SetWindowResizable ( #320 )
2019-02-25 02:19:47 +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
b6f7a0043c
examples/windowsize: Show DeviceScaleFactor
2018-10-14 19:15:26 +09:00
Hajime Hoshi
443e3ae3a4
examples/windowsize: Bug fix: Strange delta of window size
2018-10-14 17:34:02 +09:00
Hajime Hoshi
c758a1f8c6
ui: Rename MonitorSize -> ScreenSizeInFullscreen ( #708 )
2018-10-09 23:42:03 +09:00
Hajime Hoshi
2923bec0dc
examples: Use TPS instead of FPS to indicate how fast the app works
2018-09-30 02:27:33 +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
eadbabffd9
examples/windowsize: Use more consts
2018-07-17 22:36:55 +09:00
Hajime Hoshi
a7a1f6b4c6
ui: Rename SetTPS -> SetMaxTPS, Introduce UncappedTPS
2018-07-17 22:33:53 +09:00
Hajime Hoshi
328c5ff7e1
examples/windowsize: Fix message
2018-07-17 21:58:58 +09:00
Hajime Hoshi
3a8ca5ad73
ui: Implement TPS/SetTPS
...
Fixes #605
Fixes #321
2018-07-17 01:58:00 +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
3cd9dfd800
Rename IsRunningSlowly to IsDrawingSkipped
...
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
a54b6060bd
examples/windowsize: Add 0.75 scale
2018-06-03 02:32:42 +09:00
Hajime Hoshi
d8dba69b47
ui: Add MonitorSize
...
Fixes #470
2018-05-05 02:42:45 +09:00
Hajime Hoshi
526fbd3619
ui: Implement SetWindowDecorated and IsWindowDecorated
...
Fixes #430 .
2018-03-17 18:30:55 +09:00
Hajime Hoshi
93b2fab95b
examples: Add comment to explain about files
2018-03-16 12:05:53 +09:00
Hajime Hoshi
eecb04eaea
examples: Add jsgo build tag experimentally
2018-03-15 01:26:21 +09:00
Hajime Hoshi
2555e3f226
examples: Use embedded resources ( #552 )
2018-03-15 01:16:41 +09:00
Hajime Hoshi
5ed5cceb43
examples: Use FilterDefault ( #453 )
2018-02-14 03:00:00 +09:00
Hajime Hoshi
e86972b849
examples/windowsize: Use inpututil ( #415 )
2018-02-04 23:18:40 +09:00
Hajime Hoshi
80e4ee0998
ebitenutil: Remove JoinStringsIntoPath; Always use slash for ebitenutil.OpenFile
...
#428
2018-01-29 23:38:11 +09:00
Hajime Hoshi
38c72faf95
ui: Deprecate SetCursorVisibility and add SetCursorVisible ( #407 )
2018-01-09 02:01:33 +09:00
Hajime Hoshi
dc75e69d1e
ui: Rename DeviceScale -> DeviceScaleFactor
2018-01-03 19:23:29 +09:00
Hajime Hoshi
d18fc36040
Add DeviceScale() experimentally
2018-01-03 05:25:22 +09:00
Hajime Hoshi
10080d83e6
ebitentutil: Add JoinStringsIntoFilePath
...
Fixes #428
2017-12-16 23:29:35 +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
f0d47312c4
ui: Add IsRunnableInBackground / SetRunnableInBackground ( #272 )
2017-08-03 03:21:51 +09:00
Hajime Hoshi
b569eb9c5a
ui: Add SetFullscreen / IsFullscreen ( #267 )
2017-06-30 01:28:00 +09:00
Hajime Hoshi
a657cac229
examples: Call IsRunningSlowly ( #354 )
2017-05-16 10:35:58 +09:00
Hajime Hoshi
ef8da64680
examples: Remove unnecessary checks of returning values
2017-03-04 23:24:54 +09:00
Hajime Hoshi
7410a9d814
Add example tags again
...
This reverts commit 7a1d63fb02
.
2016-08-26 00:40:39 +09:00
Hajime Hoshi
7a1d63fb02
Revert example tags
2016-08-17 23:33:31 +09:00
Hajime Hoshi
12732d3302
examples: Add example tag
2016-08-17 22:52:51 +09:00
Hajime Hoshi
8f1b7a2d0c
examples: Add error checks
2016-08-03 10:57:50 +09:00
Hajime Hoshi
5e1ed99e2e
Use files in examples ( #243 )
2016-07-28 01:10:40 +09:00
Hajime Hoshi
bf807799bf
examples/windowscale: Use float scale factor
2016-06-25 02:17:08 +09:00
Hajime Hoshi
fdfc44281f
gofmt -s
2016-05-14 00:25:11 +09:00
Hajime Hoshi
49d171beb0
examples/common: Embed images with go-bindata
2016-05-13 23:40:23 +09:00
Hajime Hoshi
2beba60530
examples/windowsize: Bug fix: screen size must be positive
2016-03-23 00:45:58 +09:00
Hajime Hoshi
62dffe5405
Add ebiten.ScreenScale() ( #191 )
2016-03-23 00:44:16 +09:00
Hajime Hoshi
4bf3b4e44e
examples/windowsize: Use the screen's Size()
2016-03-22 01:36:04 +09:00
Hajime Hoshi
5f8ef3cf52
examples: Move images to _resources/images
2016-02-21 01:35:45 +09:00
Hajime Hoshi
4bdf64a523
Swap import order
2016-02-16 01:13:04 +09:00
Hajime Hoshi
0f6c18fb1b
Rename example -> examples
2016-02-11 03:07:14 +09:00