Commit Graph

413 Commits

Author SHA1 Message Date
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
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
20e12a7ea9 examples/audio: Refactoring 2018-01-22 02:15:04 +09:00
Hajime Hoshi
3ee42c0c1e example/airship: Add comments 2018-01-22 00:34:03 +09:00
Hajime Hoshi
a0ad4710f7 examples/airship: Better line scaling 2018-01-21 23:51:56 +09:00
Hajime Hoshi
a6a1c51df7 examples/additive: Refactoring 2018-01-21 19:43:48 +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
d4796cd3bf examples/flood: Simplify logic 2018-01-19 03:17:14 +09:00
Hajime Hoshi
efdb845328 Rename examples/fill -> flood 2018-01-19 03:15:34 +09:00
Hajime Hoshi
5f0471273d Add examples/fill 2018-01-19 00:50:27 +09:00
Hajime Hoshi
38c72faf95 ui: Deprecate SetCursorVisibility and add SetCursorVisible (#407) 2018-01-09 02:01:33 +09:00
Hajime Hoshi
5c55df87d7 audio: Deprecate Size() and add Length() (#466) 2018-01-09 01:25:38 +09:00
Hajime Hoshi
2dab8ccc6e examples/piano: Refactoring 2018-01-08 22:44:15 +09:00
Hajime Hoshi
b30703eb00 examples/piano: Refactoring 2018-01-08 22:18:19 +09:00
Hajime Hoshi
8b2dfdb3e7 examples: Use iframe to show example
Fixes #475
2018-01-08 03:08:19 +09:00
Hajime Hoshi
91105420fb Add example/highdpi 2018-01-03 20:58:45 +09:00
Hajime Hoshi
dc75e69d1e ui: Rename DeviceScale -> DeviceScaleFactor 2018-01-03 19:23:29 +09:00
Hajime Hoshi
d18fc36040 Add DeviceScale() experimentally 2018-01-03 05:25:22 +09:00
Hajime Hoshi
a8914ff245 examples/mandelbrot: Adjust colors 2017-12-19 03:25:33 +09:00
Hajime Hoshi
10080d83e6 ebitentutil: Add JoinStringsIntoFilePath
Fixes #428
2017-12-16 23:29:35 +09:00
Hajime Hoshi
3d65f92040 examples/mandelbrot: Refactoring 2017-12-16 21:17:53 +09:00
Hajime Hoshi
8c1cafd6ae examples/mandelbrot: Remove FPS meter 2017-12-16 20:39:53 +09:00
Hajime Hoshi
ac944d57e1 examples/mandelbrot: Fix colors 2017-12-16 20:37:24 +09:00
Hajime Hoshi
632ea82e49 Add examples/mandelbrot
Fixes #360
2017-12-16 20:35:01 +09:00
Hajime Hoshi
4928899566 examples/moire: Enable to see the problem on mobile browsers (#459) 2017-12-12 03:54:00 +09:00
Hajime Hoshi
f350f55088 Add examples/moire 2017-12-05 23:18:47 +09:00