Commit Graph

441 Commits

Author SHA1 Message Date
Hajime Hoshi
bf304e6ac8 examples/keyboard: Refactoring: Use ebiten.Key to get the rect 2018-04-14 04:48:07 +09:00
Hajime Hoshi
9fb25693a3 examples/keyboard: Remove the last period from do-not-edit comment 2018-04-14 04:23:34 +09:00
Hajime Hoshi
dbe990a060 Use the latest file2byteslice 2018-04-14 04:19:11 +09:00
Hajime Hoshi
f1fa8804d3 inpututil: Add JustPressedTouches and remove IsJustTouched
Fixes #576
2018-04-08 04:59:13 +09:00
Hajime Hoshi
ce2168c0d6 examples/flappy: Bug fix: wrong calculation of rotating 2018-04-08 00:38:52 +09:00
Hajime Hoshi
f2e2f602c5 examples/flappy: Bug fix: first touch ID might not be 0 on iPhone Safari (#576) 2018-04-07 23:36:38 +09:00
Hajime Hoshi
35557e845d examples/flappy: Improve message 2018-04-07 23:26:28 +09:00
Hajime Hoshi
b952cb724f examples/flappy: Fullscreen on browsers 2018-04-07 22:23:50 +09:00
Hajime Hoshi
2a6672cc8b examples: Add examples/flappy 2018-04-07 22:15:45 +09:00
Hajime Hoshi
948c1e13fb examples/chipmunk: Fix styles 2018-04-03 21:47:46 +09:00
Hajime Hoshi
da66866b3a examples/chipmunk: Fix styles: Create 'dot' image only once 2018-04-03 21:45:27 +09:00
Hajime Hoshi
2f4a51b373 examples: Rename physics -> chipmunk 2018-04-03 11:50:07 +09:00
Jake Coffman
9f02f277ea examples: Add physics example (#572) 2018-04-03 11:47:31 +09:00
Hajime Hoshi
12605be1b0 examples: Clean up README 2018-03-26 01:56:42 +09:00
Hajime Hoshi
5f2cdd7d62 examples: Update README 2018-03-26 01:55:15 +09:00
Hajime Hoshi
a3bf8ebf83 ebitenutil: Add NewImageFromURL 2018-03-22 01:19:57 +09:00
Hajime Hoshi
18113f259a audio: NewPlayer now accepts io.ReadCloser
Fixes #414
2018-03-22 00:33:17 +09:00
Hajime Hoshi
c6cd672536 examples/contextlost: Extend the shared backend texture on purpose 2018-03-19 03:16:52 +09:00
Siim Põder
020ce7b4eb fix typo (#557) 2018-03-17 22:36:53 +09:00
Hajime Hoshi
526fbd3619 ui: Implement SetWindowDecorated and IsWindowDecorated
Fixes #430.
2018-03-17 18:30:55 +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
530041b4f2 examples: Remove HTMLs 2018-03-17 01:42:48 +09:00
Hajime Hoshi
93b2fab95b examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
Hajime Hoshi
e085f511ec examples: Remove _server
Use gopherjs serve --tags=example instead
2018-03-15 01:44:04 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
5fc190013a examples/airship: Improve z values 2018-03-15 01:17:07 +09:00
Hajime Hoshi
2555e3f226 examples: Use embedded resources (#552) 2018-03-15 01:16:41 +09:00
Hajime Hoshi
908ff43d2e examples/platformer: Use embedded resources (#552) 2018-03-15 00:21:16 +09:00
Hajime Hoshi
d5d577c733 examples/blocks: Use embedded resources (#552) 2018-03-14 12:19:05 +09:00
Hajime Hoshi
08beed4306 examples/keyboard: Use image.Decode instead of png.Decode 2018-03-14 12:11:11 +09:00
Hajime Hoshi
0ad12e65df examples: Remove build tags from sub-packages 2018-03-14 04:13:54 +09:00
Hajime Hoshi
420c4306d0 examples/keyboard: Embed keyboard.png (#552) 2018-03-14 04:04:29 +09:00
Hajime Hoshi
b08f259674 examples/resources: Add more resources (#552) 2018-03-14 03:50:56 +09:00
Hajime Hoshi
cff14cbbd4 example: Embed resources (#552) 2018-03-14 03:13:46 +09:00
Hajime Hoshi
7061024ece examples/keyboard: Use os.Open instead of ebitenutil.OpenFile 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
adf35a4b49 examples: Remove game.ogg 2018-03-14 01:27:01 +09:00
Hajime Hoshi
ccdc049ebb examples/keyboard/keyboard: Remove unused build tags 2018-03-14 00:53:08 +09:00
Hajime Hoshi
762fcfc2db examples/airship: Bug fix: stop if z value equals to or is less than 0 2018-03-12 03:23:04 +09:00
Hajime Hoshi
a36ea971b4 examples/airship: Improve z values 2018-03-12 03:18:07 +09:00
Hajime Hoshi
1ff3a0268e examples/airship: Add comments 2018-03-12 01:45:15 +09:00
Hajime Hoshi
56c4dbf28b examples/airship: Divide z to calculate scale
Fixes #534
2018-03-12 01:02:55 +09:00
Hajime Hoshi
ef5de62780 Follow the standard comment rule
See https://golang.org/s/generatedcode
2018-03-08 02:47:59 +09:00
Hajime Hoshi
d1ac0e1857 examples/contextlost: Fix the title 2018-03-02 01:30:55 +09:00
Hajime Hoshi
d05ece2013 Add examples/contextlost 2018-03-02 01:30:18 +09:00
Hajime Hoshi
e6143d0a2b examples: Add spriteshd 2018-02-23 02:51:43 +09:00
Hajime Hoshi
ed80286431 Use an -http address arguments for servers
Fixes #510
2018-02-23 01:44:14 +09:00
Hajime Hoshi
a7fafc74e7 examples/gamepad: Add usage of inpututil 2018-02-17 03:52:16 +09:00
Hajime Hoshi
cf333775f2 Add examples/filter 2018-02-14 03:07:17 +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
8f8b37066b examples/tiles: Import image/png explicitly 2018-02-09 00:55:56 +09:00
Hajime Hoshi
6404d28fe5 Add examples/tiles 2018-02-06 03:52:22 +09:00
Hajime Hoshi
1f1de9763f examples/ui: Use inpututil (#415) 2018-02-04 23:51:15 +09:00
Hajime Hoshi
67ebf848e7 examples/piano: Use inpututil (#415) 2018-02-04 23:48:19 +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
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
658c7cf452 examples: Use inpututil (#415) 2018-02-04 23:27:54 +09:00
Hajime Hoshi
e86972b849 examples/windowsize: Use inpututil (#415) 2018-02-04 23:18:40 +09:00
Hajime Hoshi
6abaf41440 examples/airship: Refactoring 2018-01-31 02:20:35 +09:00
Hajime Hoshi
d139b8ad6e examples/ui: Refactoring 2018-01-31 00:49:49 +09:00
Hajime Hoshi
a2225abcf9 examples/ui: Use event-handler way 2018-01-31 00:45:42 +09:00
Hajime Hoshi
8a26841a88 examples: Add comments 2018-01-31 00:25:01 +09:00
Hajime Hoshi
94f5f35423 examples/sprites: Refactoring 2018-01-30 04:19:16 +09:00
Hajime Hoshi
d754733845 examples/sinewave: Refactoring 2018-01-30 04:12:58 +09:00
Hajime Hoshi
6ba0e6d373 examples/rotate: Refactoring 2018-01-30 04:05:01 +09:00
Hajime Hoshi
52a753a12f examples/platformer: Refactoring 2018-01-30 03:57:07 +09:00
Hajime Hoshi
13974808a6 examples/noise: Refactoring 2018-01-30 03:50:07 +09:00
Hajime Hoshi
6e5830739f examples/piano: Refactoring 2018-01-30 03:48:45 +09:00
Hajime Hoshi
531e661f0b examples/perspective: Refactoring 2018-01-30 01:54:00 +09:00
Hajime Hoshi
c4faf5b12c examples/pcm: Refactoring 2018-01-30 01:13:39 +09:00
Hajime Hoshi
35b7375e69 examples/paint: Bug fix: paint function ignored the given image 2018-01-30 00:21:05 +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
f773a33f2e examples: Refactoring 2018-01-29 23:18:10 +09:00
Hajime Hoshi
19f7f44f1c examples/highdpi: Async loading 2018-01-29 23:04:11 +09:00
Hajime Hoshi
38013bbc22 examples/moire: Add comments 2018-01-29 03:09:30 +09:00
Hajime Hoshi
d6769659eb examples/masking: Use source-in instead of source-out for code readability 2018-01-29 02:57:39 +09:00
Hajime Hoshi
023315c256 examples/masking: Rename variables 2018-01-29 02:47:38 +09:00
Hajime Hoshi
9730af7976 examples/masking: Add comments 2018-01-29 02:05:26 +09:00
Hajime Hoshi
ac936f31b9 examples/keyboard: Add comments 2018-01-29 01:35:14 +09:00
Hajime Hoshi
0fd8afd495 examples/infinitescroll: Refactoring 2018-01-29 00:05:57 +09:00
Hajime Hoshi
2f0909e705 examples/life: Refactoring 2018-01-28 23:26:48 +09:00
Hajime Hoshi
bba20e8b8c examples: Add comments 2018-01-28 22:39:54 +09:00
Hajime Hoshi
5224063af9 examples/highdpi: Add comments 2018-01-28 21:35:32 +09:00
Hajime Hoshi
58997097d6 examples/highdpi: Use a beautiful high-DPI image 2018-01-28 20:38:11 +09:00
Hajime Hoshi
4f3682a130 examples: Add comments 2018-01-28 20:10:50 +09:00
Hajime Hoshi
f253bb3c0c Remove examples/common 2018-01-23 02:26:47 +09:00
Hajime Hoshi
3b50e1ea54 examples/keyboard: Use TTF font directly instead of examples/common 2018-01-23 02:26:16 +09:00
Hajime Hoshi
81ed9903ce examples/piano: Use TTF font directly instead of examples/common 2018-01-23 00:55:47 +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
77ac796b3f examples/2048: Use ebitenutil.JoinStringsIntoFilePath 2018-01-22 23:48:44 +09:00
Hajime Hoshi
0893b04cbf examples: Refactoring 2018-01-22 23:07:55 +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