Commit graph

38 commits

Author SHA1 Message Date
Chris Andrew
f70f92b038 Fixed explicit check for undefined GraphicsCanvasRenderer's parentMatrix, which meant null could not be passed as an argument. 2018-04-05 21:07:45 +01:00
Chris Andrew
9293891c82 Fixed renderCanvas() call in Graphics.generateTexture().
Introduced by altering the signature of the Canvas renderers (c232642a).
2018-04-05 19:08:54 +01:00
Felipe Alfonso
c232642a52 Parent matrix is applied to canvas context on each draw function 2018-04-04 14:05:59 -03:00
Felipe Alfonso
eafb488e25 Merge branch 'master' into containers 2018-04-04 13:15:42 -03:00
Felipe Alfonso
96b8db4685 Added parentMatrix to all canvas rendering functions 2018-04-04 13:14:55 -03:00
Felipe Alfonso
bea7ca36ad Merge branch 'master' into containers
# Conflicts:
#	src/renderer/webgl/pipelines/TextureTintPipeline.js
2018-04-04 12:07:41 -03:00
Richard Davey
c251eceaf6 jsdoc fixes 2018-04-04 14:43:53 +01:00
Richard Davey
dac030dd3e Graphics.slice allows you to easily draw a Pacman, or slice of pie shape to a Graphics object. 2018-04-04 11:13:19 +01:00
Felipe Alfonso
e0f678d1ff Merge branch 'master' into containers 2018-03-28 20:49:00 -03:00
Richard Davey
747f09af86 jsdoc fixes 2018-03-28 15:04:09 +01:00
Felipe Alfonso
b23ad3b130 Fixed issue with creating containers and graphics with scene.make. 2018-03-27 17:32:33 -03:00
Felipe Alfonso
d544701495 parentMatrix added to individual game object render function 2018-03-27 14:49:09 -03:00
orblazer
87633fdfad Fix multiple types on GameObjects 2018-03-20 15:56:31 +01:00
orblazer
90def456f2 Update JSDoc on GameObjects 2018-03-19 12:54:31 +01:00
Richard Davey
c2f25b3742
Merge pull request #3240 from Twilrom/arc-fix
Update WebGL Graphics.arc to work more like on Canvas
2018-03-05 21:54:46 +00:00
Richard Davey
50dac412be eslint fixes and console removal 2018-02-16 19:08:50 +00:00
Twilrom
d45784f3c9 Remove some unnecessary calls to closePath. 2018-02-16 16:13:48 +01:00
Richard Davey
79520bfdc4 Added jsdoc 2018-02-15 14:33:36 +00:00
Richard Davey
353dba4d5e Added missing Target camera back, fixing Graphics.generateTexture in the process. 2018-02-13 08:08:48 +00:00
Richard Davey
d578e89828 Moved Mesh out of core and into its own Graphics extension. 2018-02-12 16:59:27 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Richard Davey
36229eee79 Added jsdocs 2018-02-06 01:08:43 +00:00
Richard Davey
d838f4cfcd Added jsdocs 2018-02-06 00:56:09 +00:00
Richard Davey
d457373287 Added Depth component and tidied up redundant parts of Transform 2018-02-01 00:50:15 +00:00
Felipe Alfonso
71a6360a7b Pipeline components added 2018-01-29 18:46:48 -03:00
Felipe Alfonso
7b3c2c6b1c Removed old code 2018-01-25 02:27:30 -03:00
Felipe Alfonso
5170784338 Graphics WebGL Rendering 2018-01-24 00:03:43 -03:00
Felipe Alfonso
2b043fff65 Removed RenderTarget and Shader from components 2018-01-22 18:53:15 -03:00
Richard Davey
bae63901d7 fillPoint draws the rect in the center of the x/y coordinates instead of the top-left 2018-01-17 15:01:24 +00:00
Antriel
3348f5bd16 Added support for drawing filled ellipse to Graphics. 2018-01-17 11:36:28 +01:00
Richard Davey
f9a7939812 Lots of work migrating to the new plugin system, fixing references and exposing on the namespace 2018-01-16 22:28:29 +00:00
Richard Davey
be756ed7fc Renamed folder camera to cameras and split up the contents into proper namespaces. Merged inc files back into classes. 2018-01-16 15:07:04 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Richard Davey
0d90f75b5f Splitting the dev branch up into versions. 2016-11-22 01:36:56 +00:00
Richard Davey
0af16817a5 Refactored GameObjects to GameObject. 2016-10-09 22:27:58 +01:00
Richard Davey
380e717e52 Finished off missing factories. Moved over the docs. Changed rogue @returns to @return everywhere. 2016-10-08 16:17:46 +01:00
Richard Davey
729020477a New Game Objects structure in place, and starting to take shape.
Moved BitmapData and RenderTexture into the textures folder for now.

All Game Objects now have their own sub-folder, with their Factory and renderer functions alongside them, plus any other files they need.

New Factory class added. Currently hooked into `game.factory` for testing, but will swap to `game.add` when complete.
2016-10-08 03:05:42 +01:00