Commit Graph

62 Commits

Author SHA1 Message Date
r3vit
57c45a13e4
Remove dot imports from tests - Remove dot imports (#1837)
Closes #1824
2021-10-02 19:58:48 +09:00
Trevor Slocum
ffe9a6f72d
Minor style fixes (early returns) (#1792) 2021-09-04 00:22:37 +09:00
Hajime Hoshi
431cd33839 ebiten: Add AppendInputChars, AppendGamepadIDs, and AppendTouchIDs
These functions reduce unnecessary allocations of arrays.

Closes #1692
2021-07-10 03:03:24 +09:00
Hajime Hoshi
a615be69c7 examples: Add //go:build 2021-06-24 21:49:37 +09:00
Hajime Hoshi
81ef20ddd0 examples: Use the new keys
Updates #1394
2021-04-18 01:13:20 +09:00
Hajime Hoshi
b1c67c7661 ebiten: Introduce type TouchID
Fixes #604
2020-10-10 03:57:47 +09:00
Hajime Hoshi
47065f5f2c Remove supporting jsgo
Updates #1129
2020-10-07 00:46:07 +09:00
Hajime Hoshi
c6053bcf14 ebiten: Remove the error returning value from NewImage
Updates #1380
2020-10-06 00:48:56 +09:00
Hajime Hoshi
fe97e7b0a5 ebiten: Remove the filter argument from NewImage and NewImageFromImage
Updates #503
2020-10-05 01:40:44 +09:00
Hajime Hoshi
8f00c8fbf5 ebiten: Remove the argument from Update
Fixes #1260
2020-10-04 19:33:10 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
eb38324021 examples: Use golang.org/x/image/font/opentype
Fixes #484
2020-10-03 23:14:09 +09:00
Hajime Hoshi
990ba69d7a Revert "examples/2048: Use golang.org/x/image/font/opentype"
This reverts commit aa9f7f7c19.

Reason: #1377
2020-10-03 20:25:45 +09:00
Hajime Hoshi
aa9f7f7c19 examples/2048: Use golang.org/x/image/font/opentype
Updates #484
2020-09-28 02:23:17 +09:00
Hajime Hoshi
a70d6a314e examples/2048: Use RunGame
Updates #1111
2020-04-01 15:51:54 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
fbeed96bb5 input: Add TouchIDs and TouchPosition (#497)
This change deprecates Touch interface and Touches function.
2018-05-07 00:31:46 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
0ad12e65df examples: Remove build tags from sub-packages 2018-03-14 04:13:54 +09:00
Hajime Hoshi
cff14cbbd4 example: Embed resources (#552) 2018-03-14 03:13:46 +09:00
Hajime Hoshi
c289b13a91 examples/2048: Bug fix: Tests didn't work 2018-03-14 03:13:46 +09:00
Hajime Hoshi
5ed5cceb43 examples: Use FilterDefault (#453) 2018-02-14 03:00:00 +09:00
Hajime Hoshi
7dc36747a6 examples/2048: Use inpututil (#415) 2018-02-04 23:28:56 +09:00
Hajime Hoshi
d4d05d12ea examples/2048: Remove unused consts 2018-02-04 23:27:57 +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
77ac796b3f examples/2048: Use ebitenutil.JoinStringsIntoFilePath 2018-01-22 23:48:44 +09:00
Hajime Hoshi
96c5621879 examples/2048: Remove unused functions 2018-01-21 18:48:22 +09:00
Hajime Hoshi
f1cb294913 examples/2048: high resolution 2018-01-19 12:12:29 +09:00
Hajime Hoshi
6334320762 examples/2048: Use M+ font 2018-01-19 12:07:34 +09:00
Hajime Hoshi
3bfb5054af Fix misspelling 2017-07-23 22:50:18 +09:00
Hajime Hoshi
ba86d37ce8 examples/2048: Add mouse/touch feature (#370) 2017-06-29 01:39:48 +09:00
Hajime Hoshi
3390393014 examples/2048: Improve comments 2017-06-04 18:42:35 +09:00
Hajime Hoshi
242565d629 examples/2048: Bug fix: unneeded imports 2017-06-04 18:03:12 +09:00
Hajime Hoshi
8285950100 examples/2048: Add comments 2017-06-04 18:00:47 +09:00
Hajime Hoshi
ffc6be0c10 examples/2048: Add comments 2017-06-04 16:04:51 +09:00
Hajime Hoshi
9a4a7fe5ba examples: Remove unneeded error checks 2017-06-03 00:51:15 +09:00
Hajime Hoshi
ef8da64680 examples: Remove unnecessary checks of returning values 2017-03-04 23:24:54 +09:00
Hajime Hoshi
23b2d086ee example: Add example tags 2016-10-16 00:09:03 +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
30b521f3b8 Add error checks 2016-08-03 01:02:05 +09:00
Hajime Hoshi
4e329f619f example/2048: Bug fix: Should update the tile when the tile stops 2016-08-01 03:25:03 +09:00
Hajime Hoshi
2c4b9c1dbe examples/2048: Make it smoother 2016-08-01 02:42:20 +09:00
Hajime Hoshi
ced66ff319 examples/2048: Refactoring 2016-08-01 01:23:40 +09:00
Hajime Hoshi
e5ece83e78 example/2048: Pop tiles when appearing 2016-07-31 20:56:46 +09:00
Hajime Hoshi
1df77c196c examples/4096: Define colors for huge number tiles 2016-07-31 17:55:18 +09:00
Hajime Hoshi
941c24e9fd examples/2048: Pop animation 2016-07-31 17:43:46 +09:00
Hajime Hoshi
c44f2819af examples/2048: Refactoring 2016-07-31 14:57:42 +09:00
Hajime Hoshi
b59649336a examples/2048: Refactoring: Don't animate when all tiles are not to move 2016-07-31 04:25:57 +09:00