Commit Graph

893 Commits

Author SHA1 Message Date
Hajime Hoshi
13f594baed Fix build tags for iOS (WIP) 2016-06-15 00:19:02 +09:00
Hajime Hoshi
e4ca01db31 mobile: Multitouches (#101) 2016-05-28 23:15:28 +09:00
Hajime Hoshi
405ad9a136 mobile: Remove viewID arg 2016-05-28 19:01:26 +09:00
Hajime Hoshi
dd210a3ed1 run: Take View ID for Android 2016-05-28 19:01:26 +09:00
Hajime Hoshi
ba186d9fa4 examples/paint: Use touch events 2016-05-27 01:51:13 +09:00
Hajime Hoshi
a2d7b438d4 examples/mobile: Add playing sound 2016-05-25 03:56:50 +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
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
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
971b42856a examples/blocks: Remove redundant code 2016-05-14 03:29:45 +09:00
Hajime Hoshi
fdfc44281f gofmt -s 2016-05-14 00:25:11 +09:00
Hajime Hoshi
49d171beb0 examples/common: Embed images with go-bindata 2016-05-13 23:40:23 +09:00
Hajime Hoshi
64a66c57c0 examples/keyboard: Generate the image without Ebiten (#210) 2016-05-08 16:30:48 +09:00
Hajime Hoshi
5a1099db27 examples/alphablending: Refactoring: Reduce draw calls 2016-04-23 01:39:33 +09:00
Hajime Hoshi
a2689b8b8c examples/additive: Rename 2016-04-22 02:39:18 +09:00
Hajime Hoshi
401e031349 examples/piano: Add comments 2016-04-22 02:07:43 +09:00
Hajime Hoshi
62243f97b5 examples: audioContext.Update should be called at last 2016-04-22 01:11:28 +09:00
Hajime Hoshi
9a18ffe563 audio: Change NewPlayer to be an independent function 2016-04-19 23:43:54 +09:00
Hajime Hoshi
242d36a9a4 examples/audio: Add padding 2016-04-19 02:45:51 +09:00
Hajime Hoshi
b0178e8425 audio: Move exp/audio -> audio (#206) 2016-04-19 01:26:37 +09:00
Hajime Hoshi
855bad4cb3 examples/font: Fix a comment 2016-04-11 11:56:31 +09:00
Hajime Hoshi
0c932fbf84 examples/sprites: Skip rendering when the game is slow 2016-04-08 03:31:10 +09:00
Hajime Hoshi
f222885d97 audio: Context.Update now returns error (#197) 2016-04-05 00:09:00 +09:00
Hajime Hoshi
65a8d4013a examples/blocks: Bug fix: moving piece never landed (#178) 2016-04-03 04:27:18 +09:00
Hajime Hoshi
1ec786f83a audio: audio.NewContext now returns error 2016-04-03 02:59:44 +09:00
Hajime Hoshi
50b7ec59d4 examples/audio: Reuse SE audio.Player object 2016-03-30 00:00:18 +09:00
Hajime Hoshi
e43493fc4e examples/pcm: Bug fix: build error 2016-03-29 03:37:28 +09:00
Hajime Hoshi
4d7045c161 audio: Remove Stream.Len and add Stream.Size 2016-03-29 03:20:10 +09:00
Hajime Hoshi
d2ccbdbe23 audio: Add Player.Close (#194) 2016-03-29 00:06:37 +09:00
Hajime Hoshi
0662e1a1de audio: Add Volume/SetVolume 2016-03-28 11:06:17 +09:00
Hajime Hoshi
55d61b8c67 examples/audio: Add comments 2016-03-27 20:10:04 +09:00
Hajime Hoshi
457581c8ad examples/audio: Copy SE buffer only once 2016-03-27 19:23:55 +09:00
Hajime Hoshi
27911b8156 Add audio/wav package 2016-03-27 19:10:16 +09:00
Hajime Hoshi
2beba60530 examples/windowsize: Bug fix: screen size must be positive 2016-03-23 00:45:58 +09:00
Hajime Hoshi
62dffe5405 Add ebiten.ScreenScale() (#191) 2016-03-23 00:44:16 +09:00
Hajime Hoshi
4bf3b4e44e examples/windowsize: Use the screen's Size() 2016-03-22 01:36:04 +09:00
Hajime Hoshi
1b86bb9889 examples/font: Add an English sentence 2016-03-21 23:25:17 +09:00
Hajime Hoshi
dc933b88f8 Add examples/font (#77) 2016-03-21 21:09:31 +09:00
Hajime Hoshi
8086afb6b5 examples/audio: Toggle play/pause 2016-03-21 01:38:15 +09:00
Hajime Hoshi
11c9ab3fbf examples/audio: Refactoring: Introduce Player struct 2016-03-20 04:02:51 +09:00
Hajime Hoshi
4a4621a126 examples/audio: Implement seeking 2016-03-20 01:40:10 +09:00
Hajime Hoshi
0fb5dffbf5 examples/audio: Add the player bar 2016-03-19 23:45:36 +09:00
Hajime Hoshi
eb0d650612 tmp 2016-03-18 02:42:47 +09:00
Hajime Hoshi
b1f856a0e0 Add FPS const 2016-03-13 04:57:31 +09:00
Hajime Hoshi
bc49108c40 audio: Move VorbisStream to a new package 2016-03-13 03:00:05 +09:00
Hajime Hoshi
71312ba26f audio: Add AudioContext.Update (#177) 2016-03-12 23:40:11 +09:00
Hajime Hoshi
83579a465e examples/audio: Fix title 2016-03-10 03:02:55 +09:00
Hajime Hoshi
86aeda2c9d examples/audio: Add 'Now Loading' phase 2016-03-09 02:45:56 +09:00
Hajime Hoshi
252fee56d3 audio: Rename OggStream -> VorbisStream 2016-03-09 01:36:19 +09:00
Hajime Hoshi
b964df4f0f Add examples/audio and OggStream struct 2016-03-08 04:36:06 +09:00
Hajime Hoshi
f59daf757e examples/audio: Rename to pcm 2016-03-06 22:05:56 +09:00
Hajime Hoshi
62af947368 examples/paint: Change the color 2016-03-05 00:57:14 +09:00
Hajime Hoshi
723876feba colorm: Add ColorM.ChangeHSV and an example 2016-03-04 01:35:03 +09:00
Hajime Hoshi
3859bc7421 audio: Mixing by Go 2016-03-03 11:57:25 +09:00
Hajime Hoshi
58c5e5e655 audio: Add Context 2016-03-03 00:48:59 +09:00
Hajime Hoshi
c6fc5ab865 graphics: CompositionMode -> CompositeMode (#170) 2016-03-01 02:16:32 +09:00
Hajime Hoshi
1eb623cf16 Add example 'masking' (#39) 2016-03-01 02:10:45 +09:00
Hajime Hoshi
8ae1e292ab graphics: Introduce CompositionMode (#151) 2016-02-29 01:37:06 +09:00
Hajime Hoshi
b3d7e04de5 ui: Introduce IsRunningSlowly (#168) 2016-02-28 02:28:16 +09:00
Hajime Hoshi
5f8ef3cf52 examples: Move images to _resources/images 2016-02-21 01:35:45 +09:00
Hajime Hoshi
7ab04167d7 keyboard: Bug fix: Image.DrawLine no longer exists 2016-02-16 23:24:17 +09:00
Hajime Hoshi
9660efc5bd blocks: Adjust flushing colors 2016-02-16 04:31:20 +09:00
Hajime Hoshi
10d191b8b1 blocks: Bug fix: only one operation for a piece is permitted 2016-02-16 03:59:49 +09:00
Hajime Hoshi
4bdf64a523 Swap import order 2016-02-16 01:13:04 +09:00
Hajime Hoshi
707c5d9657 New example: Sine Wave 2016-02-13 22:37:55 +09:00
Hajime Hoshi
b2724e8694 audio: Reuse al.Source objects (crash still happens on piano) 2016-02-12 21:39:48 +09:00
Hajime Hoshi
0f6c18fb1b Rename example -> examples 2016-02-11 03:07:14 +09:00
Hajime Hoshi
d87df4979c Create game package 2013-06-21 10:45:00 +09:00
Hajime Hoshi
d54c484165 Center the ebiten 2013-06-21 01:58:35 +09:00
Hajime Hoshi
93565f79a9 Change Game.Draw to have graphics.Texture 2013-06-21 01:56:24 +09:00
Hajime Hoshi
b430d385bf Add the new package graphics/matrix 2013-06-21 01:47:39 +09:00
Hajime Hoshi
773e3afa1d Rename the project to go.ebiten 2013-06-20 23:29:51 +09:00
Hajime Hoshi
bc91c2210b Add RotateMatrix and TranslateMatrix 2013-06-20 00:49:44 +09:00
Hajime Hoshi
6ed9102f01 go fmt 2013-06-19 23:51:41 +09:00
Hajime Hoshi
e91ab21d8d Use runtime.GOMAXPROCS 2013-06-19 23:49:24 +09:00
Hajime Hoshi
847b6b80f6 Add TextureFactory 2013-06-19 23:08:24 +09:00
Hajime Hoshi
eda572d03e Add graphics.Texture 2013-06-19 10:33:06 +09:00
Hajime Hoshi
7c23c6b326 Hide AffineMatrixElement 2013-06-19 09:29:17 +09:00
Hajime Hoshi
ca0250f13c Renamed Run -> OpenGLRun 2013-06-19 08:55:07 +09:00
Hajime Hoshi
493748ec9e Added grahpics/opengl 2013-06-19 08:49:54 +09:00
Hajime Hoshi
0ab7dca5e4 Refactoring 2013-06-19 01:14:55 +09:00
Hajime Hoshi
d4fd3adc53 Show Ebiten 2013-06-19 00:48:41 +09:00
Hajime Hoshi
ab558db683 Refactoring 2013-06-18 21:16:37 +09:00
Hajime Hoshi
80c666b266 Refactoring 2013-06-18 10:45:44 +09:00
Hajime Hoshi
5b77d00e84 Refactoring 2013-06-18 02:01:59 +09:00
Hajime Hoshi
d4ef198c6d Call game.Update 2013-06-18 01:26:46 +09:00
Hajime Hoshi
5236bb92a4 Double buffering 2013-06-17 23:51:15 +09:00
Hajime Hoshi
b203859eae Modify for SNES screen size 2013-06-17 23:51:00 +09:00
Hajime Hoshi
e9fa26142e Add examples/glut/main.go 2013-06-17 23:10:55 +09:00