Commit Graph

75 Commits

Author SHA1 Message Date
Hajime Hoshi
843b0d8621 Remove the struct DrawImageAt; Add a method (*Image).DrawImageAt 2014-12-26 03:46:25 +09:00
Hajime Hoshi
cdc84567ca Rename At -> DrawImageAt 2014-12-26 03:00:40 +09:00
Hajime Hoshi
f2fbd991d2 Rename ImageDrawOptions -> DrawImageOptions (#43) 2014-12-26 01:39:48 +09:00
Hajime Hoshi
90665944b9 Rename ImageDrawOption -> ImageDrawOptions 2014-12-24 23:38:04 +09:00
Hajime Hoshi
494d07387d Remove DrawImage.+ function (#41) 2014-12-24 23:17:58 +09:00
Hajime Hoshi
b39df50979 Introduce ImageDrawOption 2014-12-24 22:46:00 +09:00
Hajime Hoshi
373371d1b2 Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
Hajime Hoshi
6cb8dac860 Add DrawImage* functions (#40) 2014-12-24 03:05:45 +09:00
Hajime Hoshi
604c0d095f Remove ImagePart 2014-12-24 02:04:56 +09:00
Hajime Hoshi
84f2e8aad2 Remove ebiten.Rect (#37) 2014-12-24 01:15:16 +09:00
Hajime Hoshi
0f8ac49055 Unify RenderTarget and Image into Image (#34) 2014-12-22 11:10:08 +09:00
Hajime Hoshi
99434fa9d3 Bug fix: Consider color.Color.RGBA returns alpha-premultiplied values 2014-12-22 01:05:21 +09:00
Hajime Hoshi
d34c94aa09 examples: Rename texture -> image 2014-12-21 03:08:01 +09:00
Hajime Hoshi
3a9a7fed87 Rename Texture -> Image (#29) 2014-12-21 02:55:15 +09:00
Hajime Hoshi
146c1db44a Rename RenderTarget.Texture -> .Image 2014-12-21 02:45:50 +09:00
Hajime Hoshi
6a2cfab839 Rename TexturePart -> ImagePart 2014-12-21 02:42:55 +09:00
Hajime Hoshi
40c763724f Rename NewTexture -> NewImage 2014-12-21 02:29:04 +09:00
Hajime Hoshi
ee61db3478 Rename DrawTexture -> DrawImage 2014-12-21 02:24:57 +09:00
Hajime Hoshi
991adb7449 Change RenderTexture to interface 2014-12-21 00:36:27 +09:00
Hajime Hoshi
01e0d42451 Remove GraphicsContext; Add rendering methods to RenderTarget (#26) 2014-12-20 23:24:15 +09:00
Hajime Hoshi
c49937519e Change GraphicsContext.Fill to use color.Color 2014-12-20 06:18:28 +09:00
Hajime Hoshi
6673a39fa2 Introduce Photoshop-like alpha blending 2014-12-20 05:57:18 +09:00
Hajime Hoshi
49bcf8bb32 Remove Drawer; Add GraphicsContext.DrawTexture 2014-12-18 22:24:27 +09:00
Hajime Hoshi
c8007a6252 Change TexturePart int -> float64 2014-12-18 20:48:36 +09:00
Hajime Hoshi
9c18aef725 Change TexturePart 2014-12-18 20:04:40 +09:00
Hajime Hoshi
0e673670c0 Replace DrawWhole with DrawWholeTexture and DrawWholeRenderTarget 2014-12-17 23:06:14 +09:00
Hajime Hoshi
bac4317fc5 Replace RenderTargetID with RenderTarget 2014-12-17 22:04:33 +09:00
Hajime Hoshi
eb11831585 Replace TextureID with Texture 2014-12-17 21:50:58 +09:00
Hajime Hoshi
a95ed2cd2a Simplify Run and Remove Game 2014-12-17 17:45:06 +09:00
Hajime Hoshi
3cf449c52c Change the algorithm of RotateHue 2014-12-15 09:37:44 +09:00
Hajime Hoshi
6eaec92a4e Change ColorMatrix's methods to functions 2014-12-15 02:04:33 +09:00
Hajime Hoshi
2c67a71a53 Change GeometryMatrix's methods to functions 2014-12-15 01:58:52 +09:00
Hajime Hoshi
d25d5f39b0 Move example files 2014-12-14 23:15:18 +09:00
Hajime Hoshi
d0c0dea2be Remove GameContext 2014-12-14 17:28:19 +09:00
Hajime Hoshi
4addf8f9af Rename PushOffscreen -> PushRenderTarget 2014-12-13 14:53:53 +09:00
Hajime Hoshi
54509e42cf Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
Hajime Hoshi
d5529d4351 Add ebitenutil/debugprint.go 2014-12-11 01:59:38 +09:00
Hajime Hoshi
a39f0e904d Remove some methods; Add Game.Initialize 2014-12-11 01:12:46 +09:00
Hajime Hoshi
225f1fa7b1 Add license comments (#18) 2014-12-09 23:16:04 +09:00
Hajime Hoshi
164b320170 Unify packages to ebiten (#19) 2014-12-09 22:19:30 +09:00
Hajime Hoshi
7311369a07 Revert main.go as blocks.go 2014-12-09 01:35:35 +09:00
Hajime Hoshi
60e4d6f6ff Bug fix: can't call canvas.use recursively 2014-12-09 01:08:47 +09:00
Hajime Hoshi
0d78f9937f Move main.go; Change the package name blocks -> main 2014-12-08 23:14:20 +09:00
Hajime Hoshi
ca99e94b5c Remove TODOs; Hide some structs 2014-12-08 00:19:46 +09:00
Hajime Hoshi
7fd54f6bb3 Add input 2014-12-07 22:10:04 +09:00
Hajime Hoshi
c039c13acd Change API 2014-12-07 19:25:49 +09:00
Hajime Hoshi
9b05640ddf Refactoring 2014-12-07 18:25:28 +09:00
Hajime Hoshi
4eb6c8d131 Rename Id -> ID 2014-12-07 05:21:20 +09:00
Hajime Hoshi
b27ba795df Change APIs to return errors 2014-12-07 04:14:35 +09:00
Hajime Hoshi
53cb2fbce8 Add global function to create textures / render targets 2014-12-07 03:28:50 +09:00