Commit Graph

3305 Commits

Author SHA1 Message Date
Hajime Hoshi
1571e04753 Revert "graphics: Call glFlush after glTexSubImage2D for MacBook Pro"
This reverts commit 7f5719fadd.

Reason: This didn't change the situation
2018-04-22 22:06:38 +09:00
Hajime Hoshi
bbed2ae8a0 Add Jake Bentvelzen to AUTHORS 2018-04-22 01:40:21 +09:00
Hajime Hoshi
0544476419 input: Fix comments 2018-04-22 01:39:28 +09:00
Jake Bentvelzen
2f4ca72dbd input: Add Pause and Print Screen buttons (#555)
Fixes #579
2018-04-21 09:36:28 -07:00
Hajime Hoshi
3fa2beb502 Fix the do-not-edit comment https://golang.org/s/generatedcode 2018-04-20 00:54:33 -07:00
Hajime Hoshi
63c33b24df graphics: Refactoring 2018-04-16 01:51:32 +09:00
Hajime Hoshi
b691e73342 Revert "graphics: Experimental fix: call glFlush always after glTexSubImage2D"
This reverts commit d2da77eb96.

Reason: This doesn't solve the issue on MacBook Late 2013.
2018-04-14 23:16:26 +09:00
Hajime Hoshi
d2da77eb96 graphics: Experimental fix: call glFlush always after glTexSubImage2D 2018-04-14 23:06:20 +09:00
Hajime Hoshi
7f5719fadd graphics: Call glFlush after glTexSubImage2D for MacBook Pro 2018-04-14 17:59:10 +09:00
Hajime Hoshi
07545c3706 examples/typewriter: consider repeating state 2018-04-14 05:39:42 +09:00
Hajime Hoshi
54bec7a3eb examples/typewriter: Refactoring: Use inpututil 2018-04-14 05:32:41 +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
9fb25693a3 examples/keyboard: Remove the last period from do-not-edit comment 2018-04-14 04:23:34 +09:00
Hajime Hoshi
d1ef57c280 input: Remove the last period from do-not-edit comment 2018-04-14 04:22:09 +09:00
Hajime Hoshi
dbe990a060 Use the latest file2byteslice 2018-04-14 04:19:11 +09:00
Hajime Hoshi
95c4ce0ddc input: Add (Key).String() 2018-04-14 03:20:43 +09:00
Hajime Hoshi
61d4df0e04 input: Add numpad keys for Edge (#580) 2018-04-14 02:43:31 +09:00
Hajime Hoshi
dd6110fbf8 input: Add KeyNumLock (#580) 2018-04-14 02:43:26 +09:00
Hajime Hoshi
5229e5a713 input: Add numpad keys except for Edge browser (#580) 2018-04-14 02:43:21 +09:00
Hajime Hoshi
30cb4bad90 doc: Add explanation about EBITEN_SCREENSHOT_KEY 2018-04-11 01:08:44 +09:00
Hajime Hoshi
888d650872 Add 'screenshot' feature
If you run your game with environment variable EBITEN_SCREENSHOT_KEY=<keyname>,
you can take a game screenshot by pressing the specified key.

Fixes #553
2018-04-11 01:00:22 +09:00
Hajime Hoshi
4708d4a6f9 Add internal/png 2018-04-10 04:17:41 +09:00
Hajime Hoshi
f2b6a5d5ff docs: Use compiled results directly instead of the playground 2018-04-09 23:23:44 +09:00
Hajime Hoshi
070c8ec737 shareable: Rename variables 2018-04-09 02:18:46 +09:00
Hajime Hoshi
c976ccc66c docs: Fix wrong links 2018-04-08 21:45:05 +09:00
Hajime Hoshi
5fa4447c7c docs: Add examples/flappy 2018-04-08 20:56:32 +09:00
Hajime Hoshi
bf3b45f929 docs: Use playground pages 2018-04-08 20:56:24 +09:00
Hajime Hoshi
f1fa8804d3 inpututil: Add JustPressedTouches and remove IsJustTouched
Fixes #576
2018-04-08 04:59:13 +09:00
Hajime Hoshi
008ed26276 graphics: Check isDisposed at (*Image).Clear and Fill 2018-04-08 01:39:06 +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
83f168a010 audio/vorbis: Bug fix: fail to decode too short ogg 2018-04-07 22:13:12 +09:00
Hajime Hoshi
86691c67e9 docs: Ebiten should be available on mobile browsers 2018-04-07 16:42:35 +09:00
Hajime Hoshi
899f007fd0 ui: Panic when error is found on mobile 2018-04-07 03:33:20 +09:00
Hajime Hoshi
2d3c6ab5b8 ui: Remove build tag 'gomobilebuild'
Fixes #573
2018-04-07 02:14:54 +09:00
Hajime Hoshi
9902497e3d test: Use flock to make tests exclusive
Fixes #575
2018-04-07 00:59:52 +09:00
Hajime Hoshi
e77eb9f80f shareable: Temporary disable tests (#575) 2018-04-06 03:47:05 +09:00
Hajime Hoshi
600f0ae428 Revert "test: Specify cpu num as experiment (#575)"
This reverts commit 2f7cd00d2c.
2018-04-06 03:40:06 +09:00
Hajime Hoshi
c62e63f874 graphics: Remove 'filter' argument from newVolatileImage (#503) 2018-04-06 03:34:14 +09:00
Hajime Hoshi
2f7cd00d2c test: Specify cpu num as experiment (#575) 2018-04-06 03:27:38 +09:00
Hajime Hoshi
cc725b99af restorable: Replace emptyImage with dummyImage 2018-04-06 03:08:52 +09:00
Hajime Hoshi
70f16daafd restorable: Fix tests (wrong assumption was used) 2018-04-06 02:15:49 +09:00
Hajime Hoshi
7b5ad46e49 shareable: NewImage* now returns a cleared image 2018-04-06 02:08:12 +09:00
Hajime Hoshi
1a335032a2 shareable: Bug fix: backend's restorable image must be disposed 2018-04-06 01:12:08 +09:00
Hajime Hoshi
87daa82ad9 graphics: Replace emptyImage with dummyImage (not initialized) 2018-04-06 00:49:49 +09:00
Hajime Hoshi
abdfb3b713 graphics: Initialize (*Image).addr asap not to rely on the fact that fill is called 2018-04-06 00:35:18 +09:00