Commit graph

1658 commits

Author SHA1 Message Date
Georgios Kaleadis
0d77b36fc4 fixed p2 physics loading format and added the ability to extract a single fixture 2014-03-31 11:19:08 +03:00
Georgios Kaleadis
0a456d81c1 remove physics loader flags in p2 world, fix naming in loader 2014-03-31 10:46:17 +03:00
photonstorm
b01ad969ab Updated tutorial file 2014-03-30 20:52:27 +01:00
clark-stevenson
6041c137af Small additions from the past week. 2014-03-28 16:58:23 +00:00
Ralph Smith
7e9fbd3c27 issue#661 update state before values are cleared
this prevent loosing state values related to physics bodys
and inputs before `state.update` is called.
2014-03-28 09:12:32 -05:00
Georgios Kaleadis
697ba8b35b allow a timer to have a start delay 2014-03-28 13:06:25 +02:00
Richard Davey
10a3706d7a Merge pull request #659 from georgiee/circle-fix-return
Return the result of body#setCircle in p2
2014-03-28 09:27:56 +00:00
Georgios Kaleadis
d2a348f0bb return the result of body#setCircle 2014-03-28 09:48:23 +02:00
photonstorm
76c0913b37 Setting up for 2.0.3 development. 2014-03-28 02:18:58 +00:00
photonstorm
5b73bb21bb Sprite would glitch if it had an ArcadePhysics Body that was re-positioned out of loop.
Sprite would "fly off" if it had an ArcadePhysics Body that was re-positioned during an input handler.
Newly generated docs
2014-03-28 01:42:49 +00:00
Christian Wesselhoeft
de7192320b Split task options into their own files using load-grunt-config. 2014-03-26 18:51:28 -07:00
Richard Davey
f9c1dc575f Merge pull request #616 from Rafarel/dev
Add Astar plugin to the dev branch
2014-03-26 15:50:21 +00:00
Richard Davey
2092a7e360 Merge pull request #653 from bmceldowney/dev
Removing tilemap layer retrieval for object layers in convertCollisionObjects()
2014-03-26 15:48:42 +00:00
Richard Davey
06c953a293 Merge pull request #647 from xtian/grunt-jshint
Run jshint as part of build process and fix jshint errors
2014-03-26 15:46:35 +00:00
Ben McEldowney
2cd538e498 removing erroneous tilemap layer retrieval for object layers in convertCollisionObjects() 2014-03-26 07:48:47 -07:00
photonstorm
953ae83350 Updated TS defs (fix #650) 2014-03-26 13:24:11 +00:00
photonstorm
75cc6a7365 Added World.setBounds to the TypeScript defs (fix #649) 2014-03-26 11:00:15 +00:00
Richard Davey
9aae0dfd85 Merge pull request #648 from keyle/patch-1
Fixed typo in typescript defs
2014-03-26 10:49:47 +00:00
photonstorm
fc0e239719 ArcadePhysics.Body preUpdate has been modified to stop Sprites with non-1 scaling from gaining delta and moving off the screen (fix #644).
Lots of ArcadePhysics.World methods have been marked as private where they shouldn't be called directly (separateX, etc)
2014-03-26 10:48:30 +00:00
keyle
163d8fa964 Fixed typo in typescript defs 2014-03-26 19:05:36 +10:00
Christian Wesselhoeft
0841f77bc8 Add plugins to jshint task. 2014-03-25 14:56:06 -07:00
Christian Wesselhoeft
7aec06910d Add filters to jshint task. 2014-03-25 14:56:06 -07:00
Christian Wesselhoeft
d4beaeafb7 Unsuppress warnings for things that don't appear in the codebase. 2014-03-25 14:56:06 -07:00
Christian Wesselhoeft
428505f600 Enable jshint immed flag. 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
3b4c034452 Constrain Windows Scripting Host env to Loader.js 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
f409a735f0 Fix jshint issues in src/Phaser.js 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
bdbf2783ad Fix jshint issues in src/gameobjects 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
04d88b6c35 Fix jshint issues in src/geom 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
ebad4c1d38 Fix jshint issues in src/input 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
2ea76d1216 Fix jshint issues in src/loader 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
debb6bdcf9 Fix jshint issues in src/core 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
9faa27ce4f Fix jshint issues in src/animation 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
35c24f4ec3 Fix jshint issues in src/utils 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
1c286c1ae5 Fix jshint issues in src/physics/p2 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
b375daa3f6 Fix jshint issues in src/physics/ninja 2014-03-25 14:56:05 -07:00
Christian Wesselhoeft
5f267baeb0 Fix jshint issues in src/physics/arcade 2014-03-25 14:56:04 -07:00
Christian Wesselhoeft
0b08877f76 Fix jshint issues in src/particles/arcade 2014-03-25 14:56:04 -07:00
Christian Wesselhoeft
89a1639952 Fix jshint issues in src/tilemap 2014-03-25 14:56:04 -07:00
Christian Wesselhoeft
61f18b675c Trim trailing whitespace. 2014-03-25 14:56:04 -07:00
Christian Wesselhoeft
12c5a1b534 Run jshint as part of build process. 2014-03-25 14:56:00 -07:00
Christian Wesselhoeft
07498378ca Remove jshint options that contradict coding style. 2014-03-25 14:25:33 -07:00
Christian Wesselhoeft
0d12fcd79a Remove unnecessary .jshintrc flags. 2014-03-25 14:25:33 -07:00
Christian Wesselhoeft
0b9d101a25 Fix .jshintrc whitespace. 2014-03-25 14:25:33 -07:00
photonstorm
344ab46d78 Line.fromSprite now sets "fromCenter" to false by default as Sprite.center is deprecated in 2.x. Documentation and Examples updated to reflect this. 2014-03-25 12:44:20 +00:00
photonstorm
6483b61db7 Tween.generateData would enter an eternal loop if the total resulted in a float. Now wrapped in Math.floor. 2014-03-25 03:08:51 +00:00
photonstorm
6651f6c394 Tutorial updated for Phaser 2 2014-03-24 23:38:52 +00:00
photonstorm
7eee1eac1f Updated docs to 2.0.1. 2014-03-24 12:41:45 +00:00
photonstorm
65e1ae51d8 Fixed small typos in the README. 2014-03-24 12:21:21 +00:00
photonstorm
be57d50bc5 Moved the PhysicsEditor plugin to the resources folder. 2014-03-24 12:17:50 +00:00
photonstorm
87a0fb86b8 All Timer events are now increased by the game time on start. 2014-03-24 12:15:14 +00:00