Commit Graph

1033 Commits

Author SHA1 Message Date
Hajime Hoshi
bca600a093 Update for the latest GopherJS (use *js.Object instead of js.Object) 2015-03-01 01:26:16 +09:00
Hajime Hoshi
246ac055bf ui: Frame skip on JS 2015-02-21 22:19:26 +09:00
Hajime Hoshi
5e5eea59ce Stop the game when the screen is not active 2015-02-21 22:19:03 +09:00
Hajime Hoshi
f2a496b6ad Guarantee 60 FPS 2015-02-21 22:00:02 +09:00
Hajime Hoshi
a67a8a03ec graphics: Cache framebuffers 2015-02-20 02:02:23 +09:00
Hajime Hoshi
936942a28d Add comments 2015-02-20 02:01:56 +09:00
Hajime Hoshi
79f76ab7c8 example/windowsize: Show FPS 2015-02-19 02:33:19 +09:00
Hajime Hoshi
af09da1665 graphics: Rename defaultR -> defaultRenderTarget 2015-02-19 01:12:00 +09:00
Hajime Hoshi
eb0431f117 opengl: Remove Flush() 2015-02-18 23:35:39 +09:00
Hajime Hoshi
2b7617da7a graphics: Cache values for uniformMatrix4fv 2015-02-18 11:30:24 +09:00
Hajime Hoshi
6fc6c7ed95 Add comments 2015-02-18 11:15:36 +09:00
Hajime Hoshi
95316a1de5 image: Cache size 2015-02-18 04:01:11 +09:00
Hajime Hoshi
e366e1c6f3 example/piano: Cache notes 2015-02-17 11:19:30 +09:00
Hajime Hoshi
9ec7b13f27 example/piano: Speed up 2015-02-16 10:48:57 +09:00
Hajime Hoshi
8c2301e542 Fix misspelling 2015-02-16 02:49:17 +09:00
Hajime Hoshi
6dd88923e8 docs: Add example/piano 2015-02-16 02:24:17 +09:00
Hajime Hoshi
eed7f50662 audio: Bug fix: pass tests 2015-02-16 02:23:04 +09:00
Hajime Hoshi
15739415c7 audio: Bug fix: Callback (audioprocess) can't treat goroutines (#119) 2015-02-16 02:05:19 +09:00
Hajime Hoshi
ba3feaf52f ui: More precise clock 2015-02-15 19:30:29 +09:00
Hajime Hoshi
c5fc7ea0ab ui: More precise space calc 2015-02-14 23:23:11 +09:00
Hajime Hoshi
d5a2bdd7ac audio: Refactoring again (OpenAL's buffer requires fixed-size data) 2015-02-14 20:11:40 +09:00
Hajime Hoshi
e13e153cb4 audio: Bug fix: runtime error on OpenAL 2015-02-14 20:01:35 +09:00
Hajime Hoshi
dc54867401 audio: Refactoring 2015-02-14 19:55:43 +09:00
Hajime Hoshi
beecf31937 Resolve some TODOs 2015-02-10 10:44:58 +09:00
Hajime Hoshi
cd4188b0a3 Add SetScreenScale (#115) 2015-02-10 00:10:50 +09:00
Hajime Hoshi
fdedee9aab Bug fix: Add gopherjs:blocking for the latest GopherJS 2015-02-09 11:16:23 +09:00
Hajime Hoshi
249add3979 Add SetScreenSize 2015-02-09 11:02:04 +09:00
Hajime Hoshi
9b1aee1a21 example/mapeditor: Update 2015-02-08 01:40:58 +09:00
Hajime Hoshi
dee7b1a328 example/mapeditor: Add map tools (which doesn't work yet) 2015-02-07 03:21:22 +09:00
Hajime Hoshi
0c7716586a example/mapeditor: Bug fix: dragging on the map view shouldn't affect the tileset view 2015-02-05 11:02:48 +09:00
Hajime Hoshi
30aece193b example/mapeditor: Draw map 2015-02-05 02:21:29 +09:00
Hajime Hoshi
8303fefdb9 Add example/mapeditor (WIP) 2015-02-04 03:15:53 +09:00
Hajime Hoshi
3ff3866da1 example/platform: Modify jump height 2015-02-04 03:15:22 +09:00
Hajime Hoshi
16e5b3f37e ebitenutil: Modify error message on load resources (JS) 2015-02-02 02:58:09 +09:00
Hajime Hoshi
2132925b88 doc: Escape HTML comments properly 2015-02-02 02:34:01 +09:00
Hajime Hoshi
5f9eea5e6c Add input.go 2015-02-01 21:47:47 +09:00
Hajime Hoshi
b2c3a5bb73 Add example/platform (WIP) 2015-02-01 16:42:15 +09:00
Hajime Hoshi
c3eb4e98c3 example/sprites: Add UI to adjust the number of sprites (#87) 2015-01-30 00:00:17 +09:00
Hajime Hoshi
dac9623b97 Merge pull request #114 from jnjackins/master
Update example in doc.go
2015-01-29 15:57:23 +09:00
Jeremy Jackins
25665682ff Update example in doc.go
The function argument to ebiten.Run takes an *ebiten.Image,
and must return an error.
2015-01-29 15:40:53 +09:00
Hajime Hoshi
b474c34965 example/piano: Draw piano keys (#106) 2015-01-29 03:22:36 +09:00
Hajime Hoshi
706935d9b9 doc: Remove 'brew install glew' 2015-01-29 01:01:52 +09:00
Hajime Hoshi
2544d74ba0 Use go-gl/glow instead of go-gl/gl (#112) 2015-01-29 00:58:56 +09:00
Hajime Hoshi
d321dfe7fd Remove audio/internal.Start() 2015-01-27 23:00:41 +09:00
Hajime Hoshi
ea78b31414 Move internal/audio -> exp/audio/internal 2015-01-27 22:55:45 +09:00
Hajime Hoshi
3964944deb Move ui_*.go back to internal/ui again 2015-01-27 22:37:00 +09:00
Hajime Hoshi
a1aed91cf9 ui: Reset framebuffer-size-changed callback after calling (#70) 2015-01-27 01:26:30 +09:00
Hajime Hoshi
23b3f1afce Move some files of internal/ui to the root 2015-01-27 01:10:17 +09:00
Hajime Hoshi
ae450433db Move some files of internal to internal/graphics 2015-01-27 00:08:24 +09:00
Hajime Hoshi
e23b0758e5 Merge internal/graphics/internal/shaders into internal/graphics 2015-01-26 23:32:50 +09:00