Commit Graph

49 Commits

Author SHA1 Message Date
Hajime Hoshi
cd90f083bc text/v2: rename StdFace to GoXFace
Closes #2925
2024-03-20 02:42:31 +09:00
Hajime Hoshi
f57703175e text/v2: rename LineSpaceInPixels -> LineSpace for consistency
Updates #2454
2023-12-24 15:06:19 +09:00
Hajime Hoshi
a444f2dd40 text/v2: replace Metrics.Height/Width with HLineGap and VLineGap
Updates #2454
2023-12-02 14:33:41 +09:00
Hajime Hoshi
147175d400 text/v2: rename LineHeight -> LineSpacingInPixels
Updates #2454
2023-11-17 01:19:05 +09:00
Hajime Hoshi
b2c45a369a text/v2: remove the suffix 'InPixels'
Now all the units are pixels, the suffix is redundant.

Updates #2454
2023-11-15 21:53:58 +09:00
Hajime Hoshi
b8b8b16098 all: add text/v2
This change adds some basic APIs incuding StdFace.

GoTextFace will be added later.

Updates #2454
2023-11-12 17:04:25 +09:00
Hajime Hoshi
f446288e0c update bitmapfont to v3 2023-05-30 11:17:36 +09:00
Hajime Hoshi
dd7e125d9c ebiten: add KeyName for desktops and browsers
Updates #1904
2022-12-25 03:37:29 +09:00
Hajime Hoshi
156c34a316 ebiten: separate a package for ColorM: colorm
Closes #2171
2022-11-08 23:50:04 +09:00
Artem Yadelskyi
86e694941f
examples: remove example build tag (#2433)
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build comments (#2431)
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
f7c44f086f replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
Hajime Hoshi
1c548c0641 examples/keyboard: refactoring 2022-08-13 13:37:01 +09:00
Hajime Hoshi
a79c287bb7 inpututil: Add AppendPressedKeys
Updates #1705
2021-07-10 22:18:15 +09:00
Hajime Hoshi
a615be69c7 examples: Add //go:build 2021-06-24 21:49:37 +09:00
Hajime Hoshi
0300be7d9e examples/keyboard: Use inpututil functions in Update rather than Draw
This is not a strict rule, but it is preferrable to use input functions
in Update rather than Draw.
2021-04-07 01:54:53 +09:00
Hajime Hoshi
0fcf5c8470 inpututil: Add PressedKeys
Closes #770
2021-04-07 01:50:39 +09:00
Chris S. Kim
3d5733f693
examples/keyboard: Minor typo fix (#1436) 2020-12-15 11:55:17 +09:00
Hajime Hoshi
47065f5f2c Remove supporting jsgo
Updates #1129
2020-10-07 00:46:07 +09:00
Hajime Hoshi
1b816eb249 ebiten: Remove the error returning value from NewImageFromImage
Updates #1380
2020-10-06 01:03:33 +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
b71fa0b59b examples: Use RunGame
Updates #1111
2020-05-10 05:40:50 +09:00
Hajime Hoshi
83b2d4b112 input: driver.Key now distinguishes left/right modifier keys
This is a preparation for event package, that will have key enum.

Updates #926
2019-09-01 23:49:00 +09:00
Hajime Hoshi
710f56531f graphics: Experimental: (*image.Image).SubImage
Fixes #722
2018-10-28 02:19:14 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
fac7651152 examples/keyboard: Show other keys than 'keyboard' keys 2018-04-14 04:59:06 +09:00
Hajime Hoshi
bf304e6ac8 examples/keyboard: Refactoring: Use ebiten.Key to get the rect 2018-04-14 04:48:07 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
08beed4306 examples/keyboard: Use image.Decode instead of png.Decode 2018-03-14 12:11:11 +09:00
Hajime Hoshi
420c4306d0 examples/keyboard: Embed keyboard.png (#552) 2018-03-14 04:04:29 +09:00
Hajime Hoshi
5ed5cceb43 examples: Use FilterDefault (#453) 2018-02-14 03:00:00 +09:00
Hajime Hoshi
ba53475636 examples: Bug fix: import image/png explicitly (#500) 2018-02-11 03:31:30 +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
ac936f31b9 examples/keyboard: Add comments 2018-01-29 01:35:14 +09:00
Hajime Hoshi
10080d83e6 ebitentutil: Add JoinStringsIntoFilePath
Fixes #428
2017-12-16 23:29:35 +09:00
Hajime Hoshi
f88d5ab1ef example: Use SourceRect (#277) 2017-05-28 02:24:23 +09:00
Hajime Hoshi
a657cac229 examples: Call IsRunningSlowly (#354) 2017-05-16 10:35:58 +09:00
Hajime Hoshi
e06334c95f examples/keyboard: Add backslash key (#339) 2017-04-14 03:31:13 +09:00
Hajime Hoshi
a6e4cc51a3 examples/keyboard: Add more keys 2017-04-14 03:09:25 +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
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