Commit graph

5965 commits

Author SHA1 Message Date
Lauri Härsilä
a2da3c46d3 Fixed declarations of Phaser.Plugin.AStar in phaser.d.ts. 2017-01-09 05:51:31 +02:00
Richard Davey
9aa52b5c0a Keyboard Input functions. 2017-01-08 14:14:21 +00:00
Richard Davey
e260536f3c Added GetAABB and Reverse. Trying alternative Area calculation. 2017-01-07 01:42:09 +00:00
Richard Davey
6d3ddfa5f1 Added Polygon functions. 2017-01-07 01:06:57 +00:00
Richard Davey
1569775835 Starting Polygon class. 2017-01-06 23:59:45 +00:00
JayceTDE
9b63134b45 Fixed floating button values 2017-01-06 12:47:46 -07:00
photonstorm
d8b7797e35 Quote. 2017-01-05 17:06:57 +00:00
Richard Davey
05aff94195 Merge pull request #2945 from samme/fix-issue-2942
Don't reject horizontal and vertical lines in Line.intersectsRectangle()
2017-01-05 15:47:49 +00:00
Richard Davey
3b0facec1a Merge pull request #2944 from samme/docs-sound-currenttime
Describe time units in Phaser.Sound
2017-01-05 15:47:32 +00:00
Richard Davey
3c76457470 Merge pull request #2943 from r2d2rigo/patch-1
Fixed typings install source URL.
2017-01-05 15:47:20 +00:00
photonstorm
bec8345573 Added Hermite class and functions. 2017-01-05 15:46:47 +00:00
photonstorm
7338e5448a More tweaks. 2017-01-05 14:36:49 +00:00
photonstorm
b9e2045672 Typo fixes. 2017-01-05 14:15:35 +00:00
photonstorm
c98b576f83 Lots of updates :) 2017-01-05 14:07:44 +00:00
photonstorm
9bc9dfaf72 New guide on working with Phaser 3. 2017-01-05 12:57:07 +00:00
Richard Davey
fa14825473 Added Line Clone, CopyFrom and Equals and fixed some build errors. 2017-01-05 00:20:11 +00:00
Richard Davey
1deac35550 Added in more intersection functions and line functions. 2017-01-04 23:53:27 +00:00
Richard Davey
4f7ed5cba8 Added in Line geometry functions. 2017-01-04 00:21:42 +00:00
Richard Davey
425252627f Renamed from Vs to To. 2017-01-04 00:21:26 +00:00
Richard Davey
196f57c869 Added RotateAroundDistance and tidied up other Rotate functions. 2017-01-03 22:47:26 +00:00
Richard Davey
1712560c6e Added Point.GetCentroid. 2017-01-03 22:31:02 +00:00
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