Hajime Hoshi
569f472475
examples: replace BoundString with MeasureString and Metrics
2023-06-11 04:26:16 +09:00
Hajime Hoshi
a042af98b1
text: improve rendering quality with HintingVertical
...
When HintingVertical is used, the interval between two glyphs is not
quantized (i.e. not a whole pixel). The text package didn't consider
this situation.
This change improves the quality by using more various glyph images
with 1/4 pixels granularity in vertical direction.
Closes #2469
2022-11-25 16:45:37 +09:00
Hajime Hoshi
156c34a316
ebiten: separate a package for ColorM: colorm
...
Closes #2171
2022-11-08 23:50:04 +09:00
Hajime Hoshi
e687865c8c
ebiten: add ColorM.ScaleWithColor
...
Updates #1944
2022-01-10 17:36:46 +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
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
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
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
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
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
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
Hajime Hoshi
3153720e9a
examples/2048: Bug fix: animate tiles correctly
2016-07-31 03:42:59 +09:00
Hajime Hoshi
bdf2919ed0
examples/2048: Animate tiles
2016-07-31 02:49:28 +09:00
Hajime Hoshi
0ec07420f4
examples/2048: Introduce TileData
2016-07-31 01:03:14 +09:00
Hajime Hoshi
3ce0572a81
examples/2048: Add Tile.Draw
2016-07-30 18:15:38 +09:00
Hajime Hoshi
ba8138f69b
examples/2048: Refactoring
2016-07-30 17:31:26 +09:00
Hajime Hoshi
d9ee460b20
examples/2048: Add tests
2016-07-29 00:00:12 +09:00
Hajime Hoshi
8daa246da4
Add examples/2048 ( #181 )
2016-07-28 04:30:10 +09:00