Commit graph

5794 commits

Author SHA1 Message Date
Richard Davey
52d769fc89 The rest of the Point functions. 2017-01-03 22:22:16 +00:00
samme
d54478d82f Reject zero-length lines in Line.intersectsRectangle
Because it worked that way before.
2017-01-03 13:24:57 -08:00
samme
9954130b40 Line.intersectsRectangle should not reject horizontal/vertical lines
Fixes #2942

Rule 1 also implied that zero-length lines should pass when inside the
rectangle.
2017-01-03 12:45:53 -08:00
Rodrigo Diaz
12de270c3f Fixed typings install source URL. 2017-01-03 20:26:11 +00:00
samme
15a695a80f Describe time units in Phaser.Sound
Fixes #2926
2017-01-03 12:14:19 -08:00
samme
1dc1dacb35 Merge remote-tracking branch 'photonstorm/master' 2017-01-03 11:52:47 -08:00
Richard Davey
88344d095c Merge pull request #2939 from nervestaple/patch-1
undefined-checking skipframes
2017-01-03 14:09:11 +00:00
Richard Davey
5d280a6078 Merge pull request #2938 from samme/docs-group-exists
Clarify `group.exists`
2017-01-03 14:08:30 +00:00
Jim McGee
7a554fe2de undefined-checking skipframes
the way it it works currently it's not really optional. i noticed a behavior change upgrading from 2.6.2, where i would leave off the last 3 args to `cache.addSpriteSheet` and it worked fine -- now in 2.7.2 need to zero them all out as that func calls this one leaving `skipFrames` undefined, so when it's added to `frameMax` it's NaN and everything goes to hell.
2017-01-02 23:22:09 -05:00
Richard Davey
ade48e64fd Added the start of the Point functions. 2017-01-02 22:25:40 +00:00
samme
864ce9e0b6 Correct group.exists documentation 2017-01-02 12:59:40 -08:00
samme
42d592a0a0 Merge remote-tracking branch 'photonstorm/master' 2017-01-02 12:28:50 -08:00
Richard Davey
3554975249 Exposed Geom.Intersects 2017-01-02 00:53:18 +00:00
Richard Davey
55c26bb158 Added lots of new Ellipse functions. 2017-01-02 00:47:16 +00:00
Richard Davey
0203f5c83e Adding in the Ellipse geometry functions. 2017-01-01 18:23:19 +00:00
Richard Davey
5805adf214 Added Intersection functions and PointsAABB. 2017-01-01 15:30:54 +00:00
Richard Davey
b5b86595d9 Circle.isEmpty and Circle Intersection functions. 2017-01-01 14:33:41 +00:00
Richard Davey
14fe0b1713 Merge pull request #2937 from tengbao/patch-1
Fix PIXI.DisplayObject::generateTexture method
2017-01-01 13:54:57 +00:00
Teng
fae7c7eaf9 Update DisplayObject.js 2017-01-01 06:34:45 +08:00
Teng
29cea5b4ac Update DisplayObject.js
`Phaser.RenderTexture` needs a reference to game as the first parameter
2017-01-01 06:29:02 +08:00
Richard Davey
8dae244076 Added all the Circle functions. 2016-12-29 00:17:20 +00:00
Richard Davey
8c132571fa Updated Rectangle functions. 2016-12-28 23:41:02 +00:00
Richard Davey
ecffffc0e6 Added Circle class. 2016-12-28 23:40:47 +00:00
Richard Davey
f49a229727 Added Rectangle class, Geom structure, and fixed a few functions. 2016-12-22 01:32:21 +00:00
samme
c686bd9235 Merge remote-tracking branch 'photonstorm/master' 2016-12-21 15:16:20 -08:00
Felipe Alfonso
be7159762f Merge branch 'master' of https://github.com/photonstorm/phaser 2016-12-21 16:19:47 -03:00
Felipe Alfonso
17e8f30c0d Added color hints when using multi texture sprite batching for detecting common errors like out of memory, vertex data corruption or bounding textures outside of hardware limits. 2016-12-21 16:15:04 -03:00
Richard Davey
4dd2f9a93e Merge pull request #2927 from nickaversano/master
add limit method on Phaser.Point
2016-12-21 14:28:18 +00:00
photonstorm
5696dd1d47 Updated BitmapData get/set pixel docs to make it clear you need to pass integer values. 2016-12-21 14:13:10 +00:00
Nick Aversano
9757d8341d add limit function to Point 2016-12-21 03:16:46 -05:00
Felipe Alfonso
2c41814496 Added threshold for max texture unit allocation depending of the bounded texture size and the max texture size allowed by the hardware 2016-12-20 18:52:28 -03:00
photonstorm
5a89c8d8ad Merged in Lazer Rectangle functions. 2016-12-20 17:07:16 +00:00
photonstorm
6b1895e8ed worldAlpha is now calculated in the read, not in preUpdate all the time. 2016-12-20 16:35:20 +00:00
photonstorm
f2ca83a143 Fixed export issues. 2016-12-20 16:34:47 +00:00
Richard Davey
0753bf58a5 Merge pull request #2918 from mdutra/patch-1
Enable delta scroll rendering by default for tilemaps
2016-12-18 13:50:35 +00:00
Richard Davey
b1aaf9dbd7 Merge pull request #2921 from samme/changelog-clean-whitespace
Remove trailing spaces in CHANGELOG
2016-12-18 13:47:31 +00:00
Richard Davey
03d517401d Merge pull request #2919 from jeremyBass/master
[PR] resolves #2911
2016-12-18 13:47:00 +00:00
Richard Davey
3ec8e8dadf Merge pull request #2920 from vicsparkz/master
Added Feature: JustPressed and JustReleased for keyboard input
2016-12-18 13:46:25 +00:00
Felipe Alfonso
44c87b16d5 Merge branch 'master' of https://github.com/photonstorm/phaser 2016-12-16 23:24:20 -03:00
Felipe Alfonso
5ed40ae7a8 Shape Texturing 2016-12-16 23:23:42 -03:00
samme
5b924b75c5 Remove trailing whitespace in Changelog 2016-12-15 16:26:24 -08:00
samme
829a1017b0 Merge branch 'photonstorm/master' 2016-12-15 15:54:56 -08:00
photonstorm
d557d13d25 Added in new Util functions, and fixed some left-over ES6 values. 2016-12-15 17:15:47 +00:00
Felipe Alfonso
b9be1dfb23 pixel shader masking and gaussian blur 2016-12-15 03:39:16 -03:00
Robin Poirier
b6dcfaa8c2 Adding justPressed and justReleased functions for keys. 2016-12-14 15:51:32 -04:00
Felipe Alfonso
633098cf88 Merge branch 'master' of https://github.com/photonstorm/phaser 2016-12-14 12:38:52 -03:00
Felipe Alfonso
2bbfb50b56 Canvas GL implementation 2016-12-14 12:38:36 -03:00
photonstorm
275badf1ed Removed Phaser global use from modules. 2016-12-13 16:38:47 +00:00
photonstorm
6585297fbf Lots of Math component exports added.
Restructured Phaser export file, finally removing it out of the Boot folder.
Fixed several broken math functions.
2016-12-13 16:12:25 +00:00
Jeremy Bass
e2bf940c22 suggested config for editors based on PR #2919
using .editorconfig as source at base branch
2016-12-12 21:27:39 -08:00