Commit Graph

2774 Commits

Author SHA1 Message Date
Hajime Hoshi
c79b795e84 text: Cache GlyphAdvance result 2018-02-18 21:38:48 +09:00
Hajime Hoshi
e7f1623001 inpututil: Bug fix: Init prevTouchStates 2018-02-17 04:07:16 +09:00
Hajime Hoshi
d3f573523a inpututil: Add IsTouchJustReleased (#504) 2018-02-17 03:58:19 +09:00
Hajime Hoshi
a7fafc74e7 examples/gamepad: Add usage of inpututil 2018-02-17 03:52:16 +09:00
Hajime Hoshi
debe4735cd inpututil: Add IsGamepadButtonJustReleased (#504) 2018-02-17 03:52:05 +09:00
Hajime Hoshi
381aab0a91 inpututil: Add comments about concurrent safety 2018-02-17 03:12:58 +09:00
Hajime Hoshi
87f207d862 inpututil: Add IsKeyJustReleased and IsMouseButtonJustReleased (#504) 2018-02-17 03:10:53 +09:00
Hajime Hoshi
ed9de264f0 docs: Add filter example 2018-02-14 10:38:26 +09:00
Hajime Hoshi
cf333775f2 Add examples/filter 2018-02-14 03:07:17 +09:00
Hajime Hoshi
aa39c12d28 docs: Update 2018-02-14 03:00:08 +09:00
Hajime Hoshi
5ed5cceb43 examples: Use FilterDefault (#453) 2018-02-14 03:00:00 +09:00
Hajime Hoshi
6ef4bbde2d graphics: Add FilterDefault; Make DrawImageOptions specify Filter (#453) 2018-02-14 02:59:44 +09:00
Hajime Hoshi
929dfa1cfb affine: Implement ColorM.Add for backward compatibility: Don't use this anyway 2018-02-13 03:06:19 +09:00
Hajime Hoshi
f5a283effd ebitenutil: Add comments 2018-02-12 23:54:31 +09:00
Hajime Hoshi
31ae457a8c text: Refactoring 2018-02-12 22:24:25 +09:00
Hajime Hoshi
cc423c276d ui: Avoid creating empty slice at Touches 2018-02-12 20:23:24 +09:00
Hajime Hoshi
7d9b901ab3 ui: Avoid creating empty slice at GamepadIDs 2018-02-12 20:20:39 +09:00
Hajime Hoshi
57dd7db893 text: Use uint32 for map keys instead of color.Color interface 2018-02-12 19:32:21 +09:00
Hajime Hoshi
95480d0644 affine: Separate ColorM impl into two slices
This fix avoids unnecessary allocating arrays.
2018-02-12 19:01:01 +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
c4f02ac07c text: Limit color matrices cache size 2018-02-12 04:07:59 +09:00
Hajime Hoshi
12cef4d27e text: Cache color matrices for performance 2018-02-12 03:33:11 +09:00
Hajime Hoshi
9118772fd1 text: Optimization for browsers 2018-02-12 02:57:51 +09:00
Hajime Hoshi
950219f5b6 text: Remove font struct 2018-02-12 00:57:01 +09:00
Hajime Hoshi
8c1a8b64eb text: Avoid copying structs for browsers 2018-02-12 00:42:35 +09:00
Hajime Hoshi
da51377cc5 text: Optimize speed: Don't use a struct for map keys
Especially for browsers
2018-02-12 00:25:21 +09:00
Hajime Hoshi
a5f9382878 text: Refactoring 2018-02-11 16:17:59 +09:00
Hajime Hoshi
05671e784b text: Reuse font.Face instances if they are DeepEqual-ly same (#498) 2018-02-11 16:05:31 +09:00
Hajime Hoshi
fb7dc53031 ebitenutil: More agressive compression 2018-02-11 04:25:31 +09:00
Hajime Hoshi
0fefd59b24 ebitenutil: Use png2compressedrgba 2018-02-11 04:13:17 +09:00
Hajime Hoshi
e3b99dd081 ebitenutil: Remove RecordScreenAsGIF implementation (#500) 2018-02-11 03:36:45 +09:00
Hajime Hoshi
a253411cb2 docs: Update 2018-02-11 03:32:23 +09:00
Hajime Hoshi
ba53475636 examples: Bug fix: import image/png explicitly (#500) 2018-02-11 03:31:30 +09:00
Hajime Hoshi
a8148b968c ebitenutil: Remove importing image/png (#500) 2018-02-11 03:25:43 +09:00
Hajime Hoshi
ae04c2d680 ebitenutil: Refactoring 2018-02-11 01:56:13 +09:00
Hajime Hoshi
eb2f3cf4f9 ebitenutil: Remove go-bindata usage and use file2byteslice
Fixes #499
2018-02-09 02:46:33 +09:00
Hajime Hoshi
8f8b37066b examples/tiles: Import image/png explicitly 2018-02-09 00:55:56 +09:00
Hajime Hoshi
a131e74596 docs: Add a link to Bluebird of Happiness 2018-02-07 22:51:09 +09:00
Hajime Hoshi
65cea2beac docs: Update bootstrap.css to 4.0.0 2018-02-06 23:27:32 +09:00
Hajime Hoshi
3bdb21a695 docs: Add examples/tiles 2018-02-06 03:59:31 +09:00
Hajime Hoshi
6404d28fe5 Add examples/tiles 2018-02-06 03:52:22 +09:00
Hajime Hoshi
37b27d3a2d inpututil: Bug fix: delete gamepad data that doesn't exist 2018-02-05 23:45:43 +09:00
Hajime Hoshi
8aa72d9576 docs: Update 2018-02-04 23:52:19 +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