Commit graph

75 commits

Author SHA1 Message Date
Richard Davey
a86b68e361 Removed un-needed WorldToCamera, implemented GetWorldPoint across the board 2017-11-29 22:23:58 +00:00
Felipe Alfonso
3b296162cf Camera input transform update 2017-11-28 19:18:05 -03:00
Richard Davey
f9cda636c5 Added Camera.screenToCamera and setAngle methods. 2017-11-28 11:15:22 +00:00
Richard Davey
8cf60b4c3e Tidying-up the namespace. 2017-10-11 17:06:13 +01:00
Richard Davey
39140d28bf Small bounds tweak 2017-10-10 00:38:05 +01:00
Richard Davey
4c075c9fe9 Fixed init functions. 2017-10-06 18:42:53 +01:00
Richard Davey
757c9a0bbc Fixed typo. 2017-09-25 13:05:14 +01:00
Richard Davey
c0d70252d6 Tidying up 2017-09-20 11:18:34 +01:00
Richard Davey
32786ac2db Added x, y, z getters and setters and removed some test code. 2017-09-19 15:49:24 +01:00
Richard Davey
42e792e076 Added createRect method 2017-09-19 01:35:01 +01:00
Richard Davey
a90e788528 Added createMultiple and refactored randomCube, etc to take optional arrays of Sprite3Ds 2017-09-19 00:45:32 +01:00
Richard Davey
d6fe678966 Added Sprite3D.fastHide option and tidied up the Camera3D matrix transform 2017-09-19 00:00:24 +01:00
Richard Davey
df0c457b0d Added randomisation options 2017-09-18 21:48:38 +01:00
Richard Davey
696da1dcfb Fix #3059 2017-09-18 20:52:01 +01:00
Richard Davey
8f0fb7029e Added pixelScale property and updated child removal functions. Removed z-index visibility check from Sprite3D. 2017-09-18 14:44:45 +01:00
Richard Davey
14e6f9f067 Added Sprite3D Game Object and ability for Camera3D to manage them 2017-09-18 01:58:26 +01:00
Richard Davey
5e583ccce4 Moved Scene Camera Manager to the cameras folder, split it all up and tidied everything up 2017-09-18 00:21:41 +01:00
Richard Davey
413d50ca1d Fixed rotateAround method 2017-09-16 04:00:45 +01:00
Richard Davey
2062b625d7 Fixed divide by zero error in Camera projection 2017-09-16 03:36:39 +01:00
Richard Davey
39d1f64030 Removed Camera3D folder and merged into cameras folder and namespace. 2017-09-16 03:07:57 +01:00
Richard Davey
01df434a72 Moving from using the name 'components' to 'inc' where it's a case of the method being spllit into its own file to keep things clean, rather than an actual component. 2017-09-13 14:17:38 +01:00
Felipe Alfonso
25630f2af5 Static Tilemap Culling added 2017-08-23 19:27:51 -03:00
Richard Davey
898348a177 Added zoom in and zoom out ability to the Camera key controls 2017-08-16 22:10:04 +01:00
Felipe Alfonso
9856200fdf Added camera gameobject filtering 2017-08-15 16:42:04 -03:00
photonstorm
52bb355429 Removing old and incorrect jsdoc blocks ready for first documentation pass. 2017-08-01 13:10:08 +01:00
Richard Davey
0f553c275f Added Camera.setScroll 2017-07-29 02:56:45 +01:00
Richard Davey
3e3599d03f Added Camera.setName method for chaining. 2017-07-29 01:53:31 +01:00
photonstorm
486e80f0a9 Added Camera.setRotation method for chaining. 2017-07-28 17:59:50 +01:00
photonstorm
a4b197b71d Added Camera.setZoom method for chaining. 2017-07-28 17:53:19 +01:00
photonstorm
a41503979b Move vars lower if we bail sooner 2017-07-18 13:54:42 +01:00
photonstorm
c9acae689d ESLint 2017-07-18 13:54:42 +01:00
Richard Davey
9a34ce71ac Added Camera Hit Test specific cull 2017-07-18 02:35:55 +01:00
photonstorm
b82e4afa1d Added missing component. 2017-07-17 11:23:11 +01:00
photonstorm
2405160cd1 Added continuous polling feature to the Input Manager. 2017-07-14 18:00:15 +01:00
photonstorm
8cefdaea8b Camera broken into components. 2017-07-14 16:46:11 +01:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00
photonstorm
26ef04c827 Removed un-used vars and added inputEnabled flag. 2017-07-13 15:48:31 +01:00
Richard Davey
b53c3a265a Added ability to round Text bounds 2017-07-12 17:32:45 +01:00
Richard Davey
abb16fbf75 Camera culling can be disabled 2017-07-12 13:21:51 +01:00
Felipe Alfonso
b88a3e962c Camera culling working with camera and game objects transforms 2017-07-10 23:36:12 -04:00
Felipe Alfonso
a3ee32cef4 Point Screen To World Hit test now works with multiple cameras and camera transforms 2017-07-10 22:27:24 -04:00
Felipe Alfonso
ebea116809 PointScreenToWorldHitTest added to Global Input Manager 2017-07-07 15:59:17 -04:00
Felipe Alfonso
7eaa45673c Simple camera culling 2017-07-06 21:17:27 -04:00
Felipe Alfonso
bd6dd41135 transform point to camera space 2017-07-03 22:09:02 -04:00
Felipe Alfonso
9b7b075a9f center camera 2017-07-03 22:00:46 -04:00
Richard Davey
066ae6e825 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-07-04 01:59:38 +01:00
Richard Davey
f770712c2a Huge refactoring of States, plugins and object factories 2017-07-04 01:59:31 +01:00
Felipe Alfonso
8e9aea8301 Set Camera Position 2017-07-03 16:49:05 -04:00
photonstorm
e119e3a3fc Huge update to move all classes to common Phaser Class format. Tidying up lots. Removing un-needed files. 2017-06-30 15:47:51 +01:00
photonstorm
b6e9d42f11 Added backgroundColor to Camera config. 2017-06-29 16:55:55 +01:00