Commit Graph

1047 Commits

Author SHA1 Message Date
Hajime Hoshi
56d8ce9935 examples/audioinfiniteloop: Use NewInfiniteLoopWithIntro
Fixes #656
2018-09-28 01:45:40 +09:00
Hajime Hoshi
e1347c58ca examples/shapes: Use DrawTriangles for rectangles (#680) 2018-09-15 19:00:57 +09:00
Hajime Hoshi
76ca296cdd examples/shapes: Bug fix: correct calculation 2018-09-15 18:15:16 +09:00
Hajime Hoshi
5587af9d7e examples/shapes: Use DrawTriangles (#680) 2018-09-15 17:20:35 +09:00
Hajime Hoshi
3d1d5d4355 examples/audio: Use Ogg again 2018-09-03 00:49:06 +09:00
Hajime Hoshi
864eebbcd9 examples/resources: Add Ragtime_ogg 2018-09-02 23:08:02 +09:00
Hajime Hoshi
f2b4dfd061 examples/polygon: Better coloring 2018-08-14 02:14:19 +09:00
Hajime Hoshi
340a4b4dfa examples: Rename triangles -> polygons 2018-08-14 01:56:08 +09:00
Hajime Hoshi
7807488cc7 examples/triangles: Fix terms 2018-08-14 01:55:22 +09:00
Hajime Hoshi
1b8cad4e1d examples/triangles: Draw polygons 2018-08-14 01:49:45 +09:00
Hajime Hoshi
5032546238 examples: Rename triangle -> triangles 2018-08-14 01:30:42 +09:00
Hajime Hoshi
2360b2930f graphics: Add DrawTriangles
Fixes #624
2018-08-14 01:23:14 +09:00
Hajime Hoshi
b02b2de626 examples/minify: Add rotation 2018-07-29 23:24:18 +09:00
Hajime Hoshi
a321155ab5 examples/minify: Improve minifying demonstration 2018-07-29 22:19:22 +09:00
Hajime Hoshi
c39c211d1f Add examples/minify 2018-07-29 18:58:30 +09:00
Hajime Hoshi
b9265d5120 Enable to go-generate under non-GOPATH directories 2018-07-28 19:21:19 +09:00
Hajime Hoshi
0593b77eb8 ui: Implement CurrentTPS 2018-07-18 02:11:00 +09:00
Hajime Hoshi
e99f2f9f69 ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
Hajime Hoshi
eadbabffd9 examples/windowsize: Use more consts 2018-07-17 22:36:55 +09:00
Hajime Hoshi
a7a1f6b4c6 ui: Rename SetTPS -> SetMaxTPS, Introduce UncappedTPS 2018-07-17 22:33:53 +09:00
Hajime Hoshi
328c5ff7e1 examples/windowsize: Fix message 2018-07-17 21:58:58 +09:00
Hajime Hoshi
16c6ab4d07 ui: Introduce DefaultTPS and deprecate FPS 2018-07-17 02:07:03 +09:00
Hajime Hoshi
3a8ca5ad73 ui: Implement TPS/SetTPS
Fixes #605
Fixes #321
2018-07-17 01:58:00 +09:00
Hajime Hoshi
e25c237a01 Add IsVsyncEnabled / SetVsyncEnabled
This enables the game to work more efficiently (but consume much
more CPU).

Fixes #405.
2018-07-14 21:43:55 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
4a6faf5505 Add examples/animation
Fixes #640
2018-07-09 22:50:34 +09:00
Hajime Hoshi
21fd6a2edc examples/flappy: Remove println 2018-07-04 00:23:34 +09:00
Hajime Hoshi
6e51d31524
Use new GopherWasm API (#634)
I plan to merge this right after
https://github.com/gopherjs/gopherwasm/pull/3 is merged.
2018-06-30 00:02:15 +09:00
Hajime Hoshi
a9359e4ef8 Use GopherJS/GopherWasm 2018-06-24 16:10:24 +09:00
Hajime Hoshi
5680ce7f46 examples/sprites: Update only shown sprites 2018-06-17 22:05:34 +09:00
Hajime Hoshi
9f34b79297 examples/sprite: Refactoring 2018-06-17 18:44:32 +09:00
Hajime Hoshi
a54b6060bd examples/windowsize: Add 0.75 scale 2018-06-03 02:32:42 +09:00
Hajime Hoshi
5f3a42aab9 examples/flappy: Add license comment 2018-05-28 02:38:55 +09:00
Hajime Hoshi
cc748f15e4 examples/contextlost: Use gopherwasm 2018-05-25 02:08:32 +09:00
Hajime Hoshi
569639d485 examples/contextlost: Bug fix: don't crash on Edge
Fixes #613
2018-05-14 00:35:40 +09:00
Hajime Hoshi
a92cc0f4b3 examples/drag: Bug fix: nil error
Fixes #612
2018-05-14 00:06:03 +09:00
Hajime Hoshi
b69d564d89 examples/life: Refactoring 2018-05-13 00:38:33 +09:00
Hajime Hoshi
f7c19ef517 examples/drag: Put the moving sprites frontend 2018-05-12 23:22:50 +09:00
Hajime Hoshi
07009501f9 examples: Move resource files 2018-05-12 17:09:42 +09:00
Hajime Hoshi
252f4430d8 examples/drag: Add touches (#506) 2018-05-11 02:02:33 +09:00
Hajime Hoshi
fbeed96bb5 input: Add TouchIDs and TouchPosition (#497)
This change deprecates Touch interface and Touches function.
2018-05-07 00:31:46 +09:00
Hajime Hoshi
d8dba69b47 ui: Add MonitorSize
Fixes #470
2018-05-05 02:42:45 +09:00
Hajime Hoshi
4d3d407205 graphics: Add comments to At 2018-05-01 18:07:52 +09:00
Hajime Hoshi
b60d549924 Add examples/drag (#506) 2018-05-01 01:12:40 +09:00
Hajime Hoshi
db3effe65a inpututil: Rename JustPressedTouches -> JustPressedTouchIDs 2018-04-30 20:07:27 +09:00
Hajime Hoshi
342551da8d examples: Add iOS explanation 2018-04-30 19:49:02 +09:00
Hajime Hoshi
1d70ee7988 examples: gomobilebuild build tag is no longer needed 2018-04-30 19:43:29 +09:00
Hajime Hoshi
a355d701ad inpututil: Replace JustDisconnectedGamepadIDs with IsGamepadJustDisconnected (#505) 2018-04-30 04:35:10 +09:00
Hajime Hoshi
52dea245dc examples/blocks: Use IsGamepadButtonJustPressed 2018-04-30 03:43:50 +09:00
Hajime Hoshi
b1c55f395f examples/gamepad: Refactoring 2018-04-30 03:07:02 +09:00
Hajime Hoshi
9d57350a42 inpututil: Add JustConnectedGamepadIDs / JustDisconnectedGamepadIDs
Fixes #505
2018-04-30 02:51:38 +09:00
Hajime Hoshi
b22cc9d4be Add periods after 'DO NOT EDIT' 2018-04-28 03:37:19 +09: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
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
dbe990a060 Use the latest file2byteslice 2018-04-14 04:19:11 +09:00
Hajime Hoshi
f1fa8804d3 inpututil: Add JustPressedTouches and remove IsJustTouched
Fixes #576
2018-04-08 04:59:13 +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
948c1e13fb examples/chipmunk: Fix styles 2018-04-03 21:47:46 +09:00
Hajime Hoshi
da66866b3a examples/chipmunk: Fix styles: Create 'dot' image only once 2018-04-03 21:45:27 +09:00
Hajime Hoshi
2f4a51b373 examples: Rename physics -> chipmunk 2018-04-03 11:50:07 +09:00
Jake Coffman
9f02f277ea examples: Add physics example (#572) 2018-04-03 11:47:31 +09:00
Hajime Hoshi
12605be1b0 examples: Clean up README 2018-03-26 01:56:42 +09:00
Hajime Hoshi
5f2cdd7d62 examples: Update README 2018-03-26 01:55:15 +09:00
Hajime Hoshi
a3bf8ebf83 ebitenutil: Add NewImageFromURL 2018-03-22 01:19:57 +09:00
Hajime Hoshi
18113f259a audio: NewPlayer now accepts io.ReadCloser
Fixes #414
2018-03-22 00:33:17 +09:00
Hajime Hoshi
c6cd672536 examples/contextlost: Extend the shared backend texture on purpose 2018-03-19 03:16:52 +09:00
Siim Põder
020ce7b4eb fix typo (#557) 2018-03-17 22:36:53 +09:00
Hajime Hoshi
526fbd3619 ui: Implement SetWindowDecorated and IsWindowDecorated
Fixes #430.
2018-03-17 18:30:55 +09:00
Hajime Hoshi
d8ba49eaab examples/blocks: Fix initializing fonts not to depend on init() order
https://golang.org/ref/spec#Package_initialization
It is expected that init() is executed in file name order,
but this is not 100%.
2018-03-17 01:56:32 +09:00
Hajime Hoshi
530041b4f2 examples: Remove HTMLs 2018-03-17 01:42:48 +09:00
Hajime Hoshi
93b2fab95b examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
Hajime Hoshi
e085f511ec examples: Remove _server
Use gopherjs serve --tags=example instead
2018-03-15 01:44:04 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
5fc190013a examples/airship: Improve z values 2018-03-15 01:17:07 +09:00
Hajime Hoshi
2555e3f226 examples: Use embedded resources (#552) 2018-03-15 01:16:41 +09:00
Hajime Hoshi
908ff43d2e examples/platformer: Use embedded resources (#552) 2018-03-15 00:21:16 +09:00
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
Hajime Hoshi
65b44928ad examples: Remove callsites of audio.Context.Update 2017-12-01 02:20:37 +09:00
Hajime Hoshi
cd70bc039b examples/typewriter: Enable backspace 2017-11-10 01:27:43 +09:00
Hajime Hoshi
f789c285ad examples: Rename inputchars -> typewriter 2017-11-10 00:11:03 +09:00
Hajime Hoshi
c761dc7e8b examples/platform: Remove settings
Add them again when necessary.
2017-10-31 03:36:10 +09:00
Hajime Hoshi
73a0a6a92b examples/platformer: Enable arrow keys 2017-10-29 00:07:26 +09:00
Hajime Hoshi
38293f13d5 examples/platformer: Refactoring 2017-10-29 00:06:50 +09:00
Floppy
362c110c96 Added simple platformer example (#448) 2017-10-28 23:54:42 +09:00
Hajime Hoshi
7bcc9ee79f ui: Add GamepadIDs and remove IsGamepadPresent (#447) 2017-10-26 23:59:09 +09:00
Hajime Hoshi
0357f80411 examples/gamepad: Simplify the message 2017-10-26 03:52:23 +09:00
Hajime Hoshi
79e46c555e examples/gamepad: Show multiple gamepad status 2017-10-26 03:44:49 +09:00
Hajime Hoshi
600baf2cc7 ui: Add IsGamepadPresent
Fixes #447
2017-10-26 02:59:33 +09:00
Hajime Hoshi
835d199f02 ui: Rename SetIcon to SetWindowIcon (#386) 2017-09-23 17:40:09 +09:00
Hajime Hoshi
dacda0d176 ui: Add SetIcon (#386) 2017-09-23 04:28:57 +09:00
Hajime Hoshi
849211a5b0 examples/audioinfiniteloop: Use filepath (#428) 2017-09-07 11:44:14 +09:00
Hajime Hoshi
4b98fb248f Add examples/audioinfiniteloop 2017-09-07 11:27:51 +09:00
Hajime Hoshi
6c10251a45 examples/_server: Enable to specify host 2017-08-27 05:22:08 +09:00
Hajime Hoshi
fabafff7ed examples: Better error message 2017-08-27 04:47:37 +09:00
Hajime Hoshi
a6516d1c9d examples/hsv: Add color inversion 2017-08-21 01:56:50 +09:00
Hajime Hoshi
4a13267590 examples/audio: Use DrawRect 2017-08-18 12:11:59 +09:00
Hajime Hoshi
1361383ef4 Use 'localhost' explicitly to avoid warnings on Windows 2017-08-18 02:30:46 +09:00
Hajime Hoshi
4fc4b74cca examples/inputchars: Rename from runes 2017-08-16 00:18:54 +09:00
Hajime Hoshi
193e473381 examples/runes: Trim the text if it has too many lines 2017-08-16 00:17:07 +09:00
Hajime Hoshi
3f52fb951b examples/runes: Refactoring 2017-08-16 00:10:21 +09:00
Hajime Hoshi
78ed445111 examples/runes: Refactoring 2017-08-15 12:14:01 +09:00
Jake
0d703ca3d4 InputChars (#403)
This implements #400
2017-08-15 04:11:51 +09:00
Hajime Hoshi
f08d21866a examples/blocks: Use ebitenutil.DrawRect 2017-08-14 00:33:00 +09:00
Hajime Hoshi
0fc28f6e98 examples/piano: Use ebitenutil.DrawRect 2017-08-14 00:28:10 +09:00
Hajime Hoshi
abd8cb7759 ebitenutil: Add DrawLine and DrawRect
Add new APIs DrawLine and DrawRect mainly for debugging or prototyping purpose. Also add examples/shapes.
2017-08-14 00:16:32 +09:00
Hajime Hoshi
b186bc1e94 ui: Add IsCursorVisible (#377) 2017-08-12 15:45:16 +09:00
Hajime Hoshi
5adfababee examples/audio: Fix comments 2017-08-08 02:09:45 +09:00
Hajime Hoshi
6b8ab59d1f examples/audio: Add comments 2017-08-08 02:06:24 +09:00
Hajime Hoshi
6377ee5006 Add examples/wav 2017-08-08 02:04:37 +09:00
Hajime Hoshi
f0d47312c4 ui: Add IsRunnableInBackground / SetRunnableInBackground (#272) 2017-08-03 03:21:51 +09:00
Hajime Hoshi
3bfb5054af Fix misspelling 2017-07-23 22:50:18 +09:00
Hajime Hoshi
ce126fbcdd examples/ui: Use image.Rectangle as struct members 2017-07-23 03:21:02 +09:00
Hajime Hoshi
ce7dc79697 examples/ui: Adjust text box size 2017-07-23 03:10:45 +09:00
Hajime Hoshi
7607ad1660 Add examples/ui (#367) 2017-07-23 02:38:52 +09:00
Hajime Hoshi
2f6953ff7f examples/font: Refactoring 2017-07-20 02:22:58 +09:00
Hajime Hoshi
b58d8bb996 text: Swap arguments face and text 2017-07-20 02:20:15 +09:00
Hajime Hoshi
20a43a88e8 text: Remove 'lineHeight' argument 2017-07-17 06:42:48 +09:00
Hajime Hoshi
a2adda1ab6 examples/font: Change the import order 2017-07-17 04:58:45 +09:00
Hajime Hoshi
4b4292a856 examples/font: Show more Kanji characters 2017-07-17 01:54:30 +09:00
Hajime Hoshi
1e84e21857 Add 'text' package (#363) 2017-07-17 01:54:24 +09:00
Hajime Hoshi
3cac19d1b8 examples/audio: Remove 'loading' message 2017-07-15 00:55:39 +09:00
Hajime Hoshi
8912563555 examples/audio: Bug fix: Wrong file name 2017-07-09 15:30:21 +09:00
Hajime Hoshi
5cf7b2491a audio: Bug fix: noise on audio 2017-07-09 04:09:21 +09:00
Hajime Hoshi
e596271002 examples/audio: Change the music 2017-07-01 17:04:37 +09:00
Hajime Hoshi
b569eb9c5a ui: Add SetFullscreen / IsFullscreen (#267) 2017-06-30 01:28:00 +09:00
Hajime Hoshi
ba86d37ce8 examples/2048: Add mouse/touch feature (#370) 2017-06-29 01:39:48 +09:00
Hajime Hoshi
9130c490c2 audio: Remove convert.Seeker: mp3.Decoded is now io.Seeker 2017-06-25 23:33:23 +09:00
Hajime Hoshi
1f28c687cf audio: Bug fix: Seeking might block forever when another seeking is not done yet 2017-06-24 23:33:19 +09:00
Hajime Hoshi
09ce575774 audio/mp3: Add sample rate conversion 2017-06-18 22:51:11 +09:00
Hajime Hoshi
bf3f6c9ff6 audio/mp3: Start implementing 2017-06-12 23:32:42 +09:00
Hajime Hoshi
f69639836b examples: List applications when accessing the top page 2017-06-08 00:22:57 +09:00
Hajime Hoshi
d95e2a4437 examples/infinitescroll: Fix the title 2017-06-07 01:59:48 +09:00
Hajime Hoshi
18d23b5931 examples/blocks: gamepad configuration didn't work well with PS4 controllers 2017-06-07 01:38:04 +09:00
Hajime Hoshi
2ec4e31d60 examples/airship: better approximate scaling 2017-06-07 00:41:23 +09:00
Hajime Hoshi
fadbf01826 examples/airship: Refactoring 2017-06-04 19:41:53 +09:00
Hajime Hoshi
5cc7c68698 examples/airship: Refactoring 2017-06-04 19:01:07 +09:00
Hajime Hoshi
3390393014 examples/2048: Improve comments 2017-06-04 18:42:35 +09:00
Hajime Hoshi
242565d629 examples/2048: Bug fix: unneeded imports 2017-06-04 18:03:12 +09:00
Hajime Hoshi
8285950100 examples/2048: Add comments 2017-06-04 18:00:47 +09:00
Hajime Hoshi
4b449bbc75 examples/audio: Change the music 2017-06-04 17:17:32 +09:00
Hajime Hoshi
7f39dc1e8b examples/audio: Improve the seeking message 2017-06-04 17:12:35 +09:00
Hajime Hoshi
ffc6be0c10 examples/2048: Add comments 2017-06-04 16:04:51 +09:00
Hajime Hoshi
e7478b794a audio: Change the spec: Now audio.Player's functions are always concurrent safe 2017-06-04 02:52:11 +09:00
Hajime Hoshi
665e7d5eea examples/life: Refactoring 2017-06-04 01:54:05 +09:00
Hajime Hoshi
035e4d321a examples/audio: Refactoring: Unify channel usages (#302) 2017-06-04 01:34:36 +09:00
Hajime Hoshi
579491afbd audio: Clarify concurrent safety 2017-06-04 01:03:01 +09:00
Hajime Hoshi
250afe97a5 examples/audio: Refactoring: Add Input struct (#302) 2017-06-04 00:01:48 +09:00
Hajime Hoshi
d340a50188 examples/audio: Refactoring: Reduce global variables (#302) 2017-06-03 23:37:00 +09:00
Hajime Hoshi
5ad5b2a8b8 examples/audio: Refactoring (#302) 2017-06-03 23:23:02 +09:00
Hajime Hoshi
91b5d985fe examples: Bug fix: updating audio context should sync with updating logic 2017-06-03 01:46:03 +09:00
Hajime Hoshi
7bb917d4f6 examples/audio: Remove unneeded error handlings 2017-06-03 01:40:22 +09:00
Hajime Hoshi
fb85bcf104 examples: Remove unneeded error handlings 2017-06-03 01:34:17 +09:00
Hajime Hoshi
98c48463d2 audio: NewPlayerFromBytes now never returns errors 2017-06-03 01:12:58 +09:00
Hajime Hoshi
9a4a7fe5ba examples: Remove unneeded error checks 2017-06-03 00:51:15 +09:00
Hajime Hoshi
62b364de2d examples/paint: Refactoring 2017-05-31 00:58:17 +09:00
Hajime Hoshi
5dffe80a1a doc: Update examples/sprites 2017-05-29 22:56:56 +09:00
Hajime Hoshi
8e1d3a151e examples/blocks: Bug fix: applying ColorM (#356) 2017-05-29 22:46:40 +09:00
Hajime Hoshi
3a58bd7f26 examples/sprites: Rotate images (#277) 2017-05-28 04:09:04 +09:00
Hajime Hoshi
7773aff3f7 examples/font: Reimplement DrawTextOnImage for examples/keybaord/keybaord 2017-05-28 03:01:49 +09:00
Hajime Hoshi
522ec0c1bf examples: Temporary compile error fix 2017-05-28 02:43:21 +09:00
Hajime Hoshi
0d1d6cfd85 examples/common: Use SourceRect (#277) 2017-05-28 02:40:23 +09:00
Hajime Hoshi
f88d5ab1ef example: Use SourceRect (#277) 2017-05-28 02:24:23 +09:00
Hajime Hoshi
e84b717c95 examples/sprites: Apply ColorM change only once 2017-05-28 01:02:54 +09:00
Hajime Hoshi
dad427920d affine: Add Reset function 2017-05-28 00:49:44 +09:00
Hajime Hoshi
de7215f3fc graphics: Add DrawImageOptions.SourceRect 2017-05-28 00:49:44 +09:00
Hajime Hoshi
a657cac229 examples: Call IsRunningSlowly (#354) 2017-05-16 10:35:58 +09:00
Hajime Hoshi
e06334c95f examples/keyboard: Add backslash key (#339) 2017-04-14 03:31:13 +09:00
Hajime Hoshi
a6e4cc51a3 examples/keyboard: Add more keys 2017-04-14 03:09:25 +09:00
Hajime Hoshi
b1c0c618b6 examples/pcm: Improve debug messages 2017-03-28 00:56:14 +09:00
Hajime Hoshi
ef8da64680 examples: Remove unnecessary checks of returning values 2017-03-04 23:24:54 +09:00
Hajime Hoshi
6ccd27ee67 graphics: Add TestImageEdge and remove examples/edge instead 2017-02-11 03:32:51 +09:00
Hajime Hoshi
d216a04cb6 examples/edge: Update to use ImageParts 2017-02-06 07:58:14 +09:00
Hajime Hoshi
6929c70c06 examples/edge: Update 2017-02-05 16:05:32 +09:00
Hajime Hoshi
6d2692b0db Add examples/edge to check #315 2017-02-05 05:19:14 +09:00
Hajime Hoshi
71cecea9c9 audio: Auto resampling (#301) 2017-01-15 17:49:57 +09:00
Hajime Hoshi
86966eb22f examples: Fix README to use tag 2016-12-16 17:02:16 +09:00
Hajime Hoshi
fec530ebbc examples/audio: Async seeking 2016-11-29 03:38:08 +09:00
Hajime Hoshi
b3bd0d8596 examples/audio: Change the Ogg file (#270) 2016-11-26 03:48:54 +09:00
Hajime Hoshi
34e85b0041 examples/_server: Don't return map files to make it easier to debug JS 2016-11-02 00:15:12 +09:00
Hajime Hoshi
d93d433514 examples: Add warning for GopherJS building bug 2016-10-31 12:22:18 +09:00
Hajime Hoshi
26e290b2bc examples/spritse: Speed optimization 2016-10-28 00:39:55 +09:00
Hajime Hoshi
bf76e94ad2 examples/sprites: Don't copy receivers 2016-10-27 02:43:43 +09:00
Hajime Hoshi
d66586c890 examples/keyboard: Fix gen.go to use LicenseComment 2016-10-21 00:19:10 +09:00
Hajime Hoshi
7b48ea201c examples/keyboard: Avoid build tags in templates 2016-10-16 03:40:03 +09:00
Hajime Hoshi
908d8aa9f2 examples/keyboard: Add example tags 2016-10-16 01:02:01 +09:00
Hajime Hoshi
237e84d0ea Bug fix: Add example tags 2016-10-16 00:13:31 +09:00
Hajime Hoshi
23b2d086ee example: Add example tags 2016-10-16 00:09:03 +09:00
Hajime Hoshi
417112c586 doc: No need to specify 'example' tag when 'go run' 2016-09-03 18:06:28 +09:00
Hajime Hoshi
7276e47e07 examples: go generate 2016-09-03 16:26:56 +09:00
Hajime Hoshi
730b0d5ff9 input: Add KeyMax 2016-09-03 15:28:37 +09:00
Hajime Hoshi
d62a90dfca input: Add GamepadButtonMax 2016-09-03 15:18:55 +09:00
Hajime Hoshi
12c224c14a examples/blocks: Refactoring 2016-09-03 14:40:40 +09:00
Hajime Hoshi
581fbc4406 examples/blocks: Rename enums and functions 2016-09-03 14:33:45 +09:00
Hajime Hoshi
15a523c42b Remove exp/gamepad 2016-09-03 14:03:41 +09:00
Hajime Hoshi
bb6da8f85c Fix files for 'example' tag 2016-08-26 01:25:28 +09:00
Hajime Hoshi
7410a9d814 Add example tags again
This reverts commit 7a1d63fb02.
2016-08-26 00:40:39 +09:00
Hajime Hoshi
7a1d63fb02 Revert example tags 2016-08-17 23:33:31 +09:00
Hajime Hoshi
12732d3302 examples: Add example tag 2016-08-17 22:52:51 +09:00
Hajime Hoshi
348e11ac1b examples/font: Simplify 2016-08-16 02:42:06 +09:00
Hajime Hoshi
6bab6e1f1d examples/infinitescroll: Remove empty lines 2016-08-13 23:42:45 +09:00
Hajime Hoshi
c685cfb428 examples/infinitescroll: Move the image and add license 2016-08-13 23:38:51 +09:00
Martin Lindhe
41cc17c4da add example/infinitescroll (#255)
This resolved #254
2016-08-13 23:34:25 +09:00
Hajime Hoshi
8f1b7a2d0c examples: Add error checks 2016-08-03 10:57:50 +09:00
Hajime Hoshi
30b521f3b8 Add error checks 2016-08-03 01:02:05 +09:00
Hajime Hoshi
5801bc53df Fix misspellings 2016-08-02 01:49:05 +09:00
Hajime Hoshi
4e329f619f example/2048: Bug fix: Should update the tile when the tile stops 2016-08-01 03:25:03 +09:00
Hajime Hoshi
2c4b9c1dbe examples/2048: Make it smoother 2016-08-01 02:42:20 +09:00
Hajime Hoshi
ced66ff319 examples/2048: Refactoring 2016-08-01 01:23:40 +09:00
Hajime Hoshi
1da3f32715 examples: Embed arcadefont.png 2016-07-31 22:00:45 +09:00
Hajime Hoshi
e5ece83e78 example/2048: Pop tiles when appearing 2016-07-31 20:56:46 +09:00
Hajime Hoshi
1df77c196c examples/4096: Define colors for huge number tiles 2016-07-31 17:55:18 +09:00
Hajime Hoshi
941c24e9fd examples/2048: Pop animation 2016-07-31 17:43:46 +09:00
Hajime Hoshi
c44f2819af examples/2048: Refactoring 2016-07-31 14:57:42 +09:00
Hajime Hoshi
b59649336a examples/2048: Refactoring: Don't animate when all tiles are not to move 2016-07-31 04:25:57 +09:00
Hajime Hoshi
3153720e9a examples/2048: Bug fix: animate tiles correctly 2016-07-31 03:42:59 +09:00
Hajime Hoshi
bdf2919ed0 examples/2048: Animate tiles 2016-07-31 02:49:28 +09:00
Hajime Hoshi
0ec07420f4 examples/2048: Introduce TileData 2016-07-31 01:03:14 +09:00
Hajime Hoshi
3ce0572a81 examples/2048: Add Tile.Draw 2016-07-30 18:15:38 +09:00
Hajime Hoshi
ba8138f69b examples/2048: Refactoring 2016-07-30 17:31:26 +09:00
Hajime Hoshi
ef61e7a568 examples/2048: Bug fix: Should not add a new tile when no tiles are moved 2016-07-29 03:41:55 +09:00
Hajime Hoshi
399d29b1a0 examples/2048: Draw texts 2016-07-29 01:52:21 +09:00
Hajime Hoshi
90b6e3871a examples/2048: Draw colored tiles 2016-07-29 01:26:44 +09:00
Hajime Hoshi
d9ee460b20 examples/2048: Add tests 2016-07-29 00:00:12 +09:00
Hajime Hoshi
0a04ed1c22 examples/2048: Refactoring 2016-07-28 22:34:20 +09:00
Hajime Hoshi
30a16cbcbe examples/2048: Implement the rule 2016-07-28 12:36:31 +09:00
Hajime Hoshi
8daa246da4 Add examples/2048 (#181) 2016-07-28 04:30:10 +09:00
Hajime Hoshi
5e1ed99e2e Use files in examples (#243) 2016-07-28 01:10:40 +09:00
Hajime Hoshi
aa96822ce5 examples/airship: Introduce repeatedGophersImage 2016-07-18 17:44:25 +09:00
Hajime Hoshi
dc159cb37c examples/airship: Remove println 2016-07-18 05:27:56 +09:00
Hajime Hoshi
008b15f61d examples/airship: Add fog 2016-07-18 05:19:22 +09:00
Hajime Hoshi
a3396bd415 examples/airship: Better scaling 2016-07-18 02:53:58 +09:00
Hajime Hoshi
39fd17cdac examples/airship: Adjust parameters 2016-07-17 15:20:57 +09:00
Hajime Hoshi
0933292d30 examples/airship: Better perspective 2016-07-17 07:10:52 +09:00
Hajime Hoshi
6541654746 examples/airship: Remove unexpected blue spots 2016-07-17 06:56:10 +09:00
Hajime Hoshi
847f72f9be Add examples/airship (#246) 2016-07-17 05:36:06 +09:00
Hajime Hoshi
c8ef54ac1d Trivial fixes 2016-07-17 04:41:28 +09:00
Hajime Hoshi
d7c2682c53 examples/sprites: Slower increasing num of sprites 2016-07-16 19:34:36 +09:00
Hajime Hoshi
66f262c80e graphics: Enable to draw unlimited number of sprites (#245) 2016-07-16 19:17:57 +09:00
Hajime Hoshi
87e0948449 examples/sinewave: Add a message 2016-07-10 23:51:16 +09:00
Hajime Hoshi
69497aff41 Remove examples/mobile, which is no longer maintained 2016-07-10 02:59:49 +09:00
Hajime Hoshi
1ec95c896a Add examples/life (#182) 2016-07-08 00:26:38 +09:00
Hajime Hoshi
1fa76b89a3 Make go vet happy 2016-06-28 02:52:06 +09:00
Hajime Hoshi
0ed95031c5 example/audio: More punches 2016-06-27 03:11:10 +09:00
Hajime Hoshi
b02d89cdc3 audio: Add NewPlayerFromBytes (#231) 2016-06-27 02:23:08 +09:00
Hajime Hoshi
bf807799bf examples/windowscale: Use float scale factor 2016-06-25 02:17:08 +09:00
Hajime Hoshi
19d18020ce examples/paint: Fix a float scale to an integer 2016-06-25 01:43:49 +09:00
Hajime Hoshi
bb511b2c13 ui: Scale is now float64 (#236) 2016-06-25 01:26:59 +09:00
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