Commit Graph

5595 Commits

Author SHA1 Message Date
Hajime Hoshi
bdaff72af9 input: Implement Touches function (WIP) (#101) 2016-05-27 01:31:30 +09:00
Hajime Hoshi
4c2bbd47a1 audio: Fix a comment 2016-05-26 23:33:12 +09:00
Hajime Hoshi
ca2f85f3d1 audio: Refactoring: Add loop 2016-05-26 03:15:51 +09:00
Hajime Hoshi
d6dee0815e audio: Bug fix: Avoid deadlock 2016-05-26 03:13:56 +09:00
Hajime Hoshi
644dfcd0fd audio: Create an independent goroutine for enqueuing 2016-05-26 02:50:54 +09:00
Hajime Hoshi
12d62621e9 audio: Bug fix: Play sound correctly on Android 2016-05-26 01:46:26 +09:00
Hajime Hoshi
a2d7b438d4 examples/mobile: Add playing sound 2016-05-25 03:56:50 +09:00
Hajime Hoshi
0ee6b4405c audio: Bug fix: Lazy initialization of audio context 2016-05-25 03:47:59 +09:00
Hajime Hoshi
b65aeb7ac3 audio/internal/driver: Add driver_android.go (WIP) 2016-05-25 03:40:04 +09:00
Hajime Hoshi
64afa87def audio: Add driver_mobile.go 2016-05-24 01:24:40 +09:00
Hajime Hoshi
3195ae32d8 mobile: Implement Pause/Resume 2016-05-24 00:00:54 +09:00
Hajime Hoshi
2b477eef5a mobile: Introduce EventDispatcher to reduce glue code 2016-05-23 02:44:41 +09:00
Hajime Hoshi
f251ae8b49 mobile: Handle touch events 2016-05-23 02:06:01 +09:00
Hajime Hoshi
c5163e89f4 mobile: Add a build tag 2016-05-22 18:05:06 +09:00
Hajime Hoshi
affce54629 examples/mobile: Enable to run on desktops 2016-05-22 04:41:09 +09:00
Hajime Hoshi
6d06b01cae gomobile bind works 2016-05-22 04:25:15 +09:00
Hajime Hoshi
296282435a ui: Bug fix: RunWithoutMainLoop must return a chan 2016-05-22 02:20:14 +09:00
Hajime Hoshi
c36dd3df52 ui: Change Input to be an interface 2016-05-20 00:15:05 +09:00
Hajime Hoshi
d09bb63f71 ui: Change UserInterface to be an interface 2016-05-20 00:07:06 +09:00
Hajime Hoshi
d5d9e2c73e examples/mobile: Bug fix: enabled 2016-05-19 03:26:44 +09:00
Hajime Hoshi
76ea075896 Add example/mobile (not-compilable yet) 2016-05-19 03:17:50 +09:00
Hajime Hoshi
8f5ca7dddb mobile: Add license 2016-05-19 01:50:43 +09:00
Hajime Hoshi
dd9ab5e45a Introduce mobile module 2016-05-19 01:49:57 +09:00
Hajime Hoshi
b1afe6aeb2 loop: Refactoring: Remove FPS 2016-05-18 23:27:28 +09:00
Hajime Hoshi
dbd6ed8139 graphics: Move theDelayedImageTasks.exec() to newImageWithZeroFramebuffer 2016-05-18 22:45:15 +09:00
Hajime Hoshi
71a508ca7b gofmt -s -w 2016-05-18 12:09:48 +09:00
Hajime Hoshi
672d721ea9 Fix .travis.yml: Node 'gl' module is not available now? 2016-05-18 12:05:14 +09:00
Hajime Hoshi
335781759c ui: Introduce ScreenSizeEvent to simplify the run loop 2016-05-18 11:56:43 +09:00
Hajime Hoshi
faff188574 ui: Move Now() to internal/loop and hide it 2016-05-18 11:24:17 +09:00
Hajime Hoshi
cd5436712b ui: Hide Init() func 2016-05-18 11:12:23 +09:00
Hajime Hoshi
a35064db7d ui: Add ui.GLContext() 2016-05-18 11:10:03 +09:00
Hajime Hoshi
063ed564fd Move the run loop to internal/loop 2016-05-18 10:59:37 +09:00
Hajime Hoshi
7f19d4a1ac ui: Remove CurrentUI() 2016-05-18 10:51:11 +09:00
Hajime Hoshi
4d04413bf9 ui: Move the run loop to internal/ui 2016-05-18 10:46:23 +09:00
Hajime Hoshi
5c68ee4034 ui: Use events in the game loop 2016-05-18 02:03:41 +09:00
Hajime Hoshi
49c156d2b5 ui: Rename DoEvents -> Update 2016-05-18 01:22:01 +09:00
Hajime Hoshi
41fae3214b ui: Refactoring: Simplify the run loop 2016-05-18 00:15:38 +09:00
Hajime Hoshi
49a0fc839e graphics: Fix a wrong comment 2016-05-17 01:38:31 +09:00
Hajime Hoshi
75b7a9134d graphcis: Bug fix: Evacuating/Restoring pixels must be ignored on a disposed image 2016-05-17 01:30:40 +09:00
Hajime Hoshi
18c14f8897 graphics: Refactoring 2016-05-17 01:09:33 +09:00
Hajime Hoshi
7ab2efaa3f graphics: Add imageImpl and change Image to be a wrapper (emulating weak refs) 2016-05-17 01:03:28 +09:00
Hajime Hoshi
23863d5a2f graphics: Add Image.evacuatePixels and restorePixels and introduce images 2016-05-17 00:22:32 +09:00
Hajime Hoshi
90aeee5144 graphics: Revive image_test.go 2016-05-16 23:35:58 +09:00
Hajime Hoshi
fbd07b1865 graphics: Simplify the size of pixels 2016-05-16 12:27:28 +09:00
Hajime Hoshi
46cbd0c4a0 graphics: Add a func to delete programs and buffers 2016-05-16 11:54:34 +09:00
Hajime Hoshi
ba6d10dec0 graphics: Remove indexBufferLines 2016-05-16 11:34:41 +09:00
Hajime Hoshi
d6bfa72c5c graphics: Remove openGLState.initialize 2016-05-16 11:32:26 +09:00
Hajime Hoshi
da0196911d graphics: Refactoring: Now all Image objects are generated from New* funcs 2016-05-15 21:08:39 +09:00
Hajime Hoshi
9f2b53d24c graphics: Add InitializeIfNeeded function (preparing for Android) 2016-05-15 04:05:57 +09:00
Hajime Hoshi
ebe6296222 opengl: Remove (*Program).Equals 2016-05-15 02:37:25 +09:00