Commit Graph

66 Commits

Author SHA1 Message Date
Hajime Hoshi
809b7a3afa ebiten: Introduce type GamepadID
Updates #604
2020-10-08 01:57:08 +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
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
c9af0e9bd4 examples/blocks: Use golang.org/x/image/font/opentype
This change also adds a new font "Press Start 2P".

Updates #484
2020-09-29 22:02:48 +09:00
Hajime Hoshi
01a1334639 examples/blocks: Use RunGame
Updates #1111
2020-04-01 15:57:49 +09:00
Hajime Hoshi
b7d555e724 examples/blocks: Bug fix: ESC key caused crashing 2020-03-29 02:35:58 +09:00
Hajime Hoshi
710f56531f graphics: Experimental: (*image.Image).SubImage
Fixes #722
2018-10-28 02:19:14 +09:00
Hajime Hoshi
56541a8c0a examples/blocks: Fix message 2018-10-14 00:55:27 +09:00
Hajime Hoshi
d6e109555d examples/blocks: Bug fix: multiple gamepad detection 2018-10-13 16:59:52 +09:00
Hajime Hoshi
8ed02efd28 examples/blocks: Improve gameover message 2018-10-13 16:59:52 +09:00
Hajime Hoshi
e99f2f9f69 ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
Hajime Hoshi
16c6ab4d07 ui: Introduce DefaultTPS and deprecate FPS 2018-07-17 02:07:03 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
52dea245dc examples/blocks: Use IsGamepadButtonJustPressed 2018-04-30 03:43:50 +09:00
Hajime Hoshi
d8ba49eaab examples/blocks: Fix initializing fonts not to depend on init() order
https://golang.org/ref/spec#Package_initialization
It is expected that init() is executed in file name order,
but this is not 100%.
2018-03-17 01:56:32 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
d5d577c733 examples/blocks: Use embedded resources (#552) 2018-03-14 12:19:05 +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
5ed5cceb43 examples: Use FilterDefault (#453) 2018-02-14 03:00:00 +09:00
Hajime Hoshi
d70e703d5e examples/blocks: Bug fix: alpha should not be translated 2018-02-12 18:45:12 +09:00
Hajime Hoshi
eaaa714705 examples/block: Remove deprecated API ColorM.Add 2018-02-12 18:42:56 +09:00
Hajime Hoshi
3da09c493a affine: Remove ebiten.Monochrome usages 2018-02-12 18:20:09 +09:00
Hajime Hoshi
ba53475636 examples: Bug fix: import image/png explicitly (#500) 2018-02-11 03:31:30 +09:00
Hajime Hoshi
2772f8d990 examples/blocks: Remove anyGamepadButtonPressed variable 2018-02-04 23:43:59 +09:00
Hajime Hoshi
ae07488190 examples/blocks: Remove keyStates and use inpututil instead (#415) 2018-02-04 23:35:09 +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
1478850508 examples/blocks: Use TTF font directly instead of examples/common 2018-01-23 00:27:11 +09:00
Hajime Hoshi
13d3918ec6 examples/blocks: Bug fix: record axes default values
Fixes #483
2018-01-22 23:06:27 +09:00
Hajime Hoshi
fb4343af21 examples/blocks: Reduce members from GameScene 2018-01-22 21:07:07 +09:00
Hajime Hoshi
507fc7cbbb example/blocks: Add comments 2018-01-22 21:03:43 +09:00
Hajime Hoshi
4e432ca816 example/blocks: Remove Input.gamepadButtonStates 2018-01-22 20:55:57 +09:00
Hajime Hoshi
8a7687687f example/blocks: Refactoring 2018-01-22 20:48:01 +09:00
Hajime Hoshi
10080d83e6 ebitentutil: Add JoinStringsIntoFilePath
Fixes #428
2017-12-16 23:29:35 +09:00
Hajime Hoshi
f08d21866a examples/blocks: Use ebitenutil.DrawRect 2017-08-14 00:33:00 +09:00
Hajime Hoshi
18d23b5931 examples/blocks: gamepad configuration didn't work well with PS4 controllers 2017-06-07 01:38:04 +09:00
Hajime Hoshi
8e1d3a151e examples/blocks: Bug fix: applying ColorM (#356) 2017-05-29 22:46:40 +09:00
Hajime Hoshi
0d1d6cfd85 examples/common: Use SourceRect (#277) 2017-05-28 02:40:23 +09:00
Hajime Hoshi
f88d5ab1ef example: Use SourceRect (#277) 2017-05-28 02:24:23 +09:00
Hajime Hoshi
ef8da64680 examples: Remove unnecessary checks of returning values 2017-03-04 23:24:54 +09:00
Hajime Hoshi
237e84d0ea Bug fix: Add example tags 2016-10-16 00:13:31 +09:00
Hajime Hoshi
23b2d086ee example: Add example tags 2016-10-16 00:09:03 +09:00
Hajime Hoshi
730b0d5ff9 input: Add KeyMax 2016-09-03 15:28:37 +09:00
Hajime Hoshi
d62a90dfca input: Add GamepadButtonMax 2016-09-03 15:18:55 +09:00
Hajime Hoshi
12c224c14a examples/blocks: Refactoring 2016-09-03 14:40:40 +09:00
Hajime Hoshi
581fbc4406 examples/blocks: Rename enums and functions 2016-09-03 14:33:45 +09:00