mirror of
https://github.com/wassname/phaser.git
synced 2026-08-15 12:45:11 +08:00
Tilemap had the wrong @method signatures so most were missing from the docs.
This commit is contained in:
+65
-168
@@ -182,6 +182,10 @@
|
||||
<a href="Phaser.Group.html">Group</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="Phaser.Image.html">Image</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="Phaser.Input.html">Input</a>
|
||||
</li>
|
||||
@@ -398,6 +402,36 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b
|
||||
class="caret"></b></a>
|
||||
|
||||
<ul class="dropdown-menu ">
|
||||
|
||||
<li>
|
||||
<a href="global.html#canUseNewCanvasBlendModes">canUseNewCanvasBlendModes</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="global.html#getNextPowerOfTwo">getNextPowerOfTwo</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="global.html#hex2rgb">hex2rgb</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="global.html#hitTest">hitTest</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="global.html#rgb2hex">rgb2hex</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -436,9 +470,9 @@
|
||||
|
||||
<section>
|
||||
<article><p><img src="http://www.photonstorm.com/wp-content/uploads/2013/09/phaser_10_release.jpg" alt="Phaser Logo"></p>
|
||||
<h1>Phaser 1.1.4</h1>
|
||||
<h1>Phaser 1.2-dev</h1>
|
||||
<p>Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses <a href="https://github.com/GoodBoyDigital/pixi.js/">Pixi.js</a> internally for fast 2D Canvas and WebGL rendering.</p>
|
||||
<p>Version: 1.1.4 "Kandor" - Released: February 5th 2014</p>
|
||||
<p>Version: 1.2 "Shienar" - Released: -in development-</p>
|
||||
<p>By Richard Davey, <a href="http://www.photonstorm.com">Photon Storm</a></p>
|
||||
<ul>
|
||||
<li>View the <a href="http://phaser.io">Official Website</a></li>
|
||||
@@ -469,175 +503,44 @@
|
||||
<p>There is a comprehensive <a href="http://gamedevelopment.tutsplus.com/articles/how-to-learn-the-phaser-html5-game-engine--gamedev-13643">How to Learn Phaser</a> guide on the GameDevTuts+ site which is a great place to learn where to find tutorials, examples and support.</p>
|
||||
<p>There is also an <a href="http://www.antonoffplus.com/coding-an-html5-game-for-30-minutes-or-an-introduction-to-the-phaser-framework">un-official Getting Started Guide</a>.</p>
|
||||
<h2>Change Log</h2>
|
||||
<p>Version 1.1.4 - "Kandor" - February 5th 2014</p>
|
||||
<p>Version 1.2 - "Shienar" - -in development-</p>
|
||||
<p>Significant API changes:</p>
|
||||
<ul>
|
||||
<li>Loader.tileset has been removed as it's no longer required, this was as part of the Tilemap system overhaul.</li>
|
||||
<li>TilemapLayers are now created via the Tilemap object itself: map.createLayer(x, y, width, height, tileset, layer, group) and no longer via the GameObjectFactory.</li>
|
||||
<li>Tilemap.createFromObjects can now turn a bunch of Tiled objects into Sprites in one single call, and copies across all properties as well.</li>
|
||||
<li>Tween.onStartCallback and onCompleteCallback have been removed to avoid confusion. You should use the onStart, onLoop and onComplete events instead.</li>
|
||||
<li>Button.forceOut default value has changed from true to false, so Buttons will revert to an Up state (if set) when pressed and released.</li>
|
||||
<li>The way the collision process callback works has changed significantly and now works as originally intended.</li>
|
||||
<li>The World level quadtree is no longer created, they are now built and ripped down each time you collide a Group, this helps collision accuracy.</li>
|
||||
<li>A SAT system has been integrated for Body collision and separation.</li>
|
||||
<li>Bodies are no longer added to a world quadtree, so have had all of their quadtree properties removed such as skipQuadtree, quadTreeIndex, etc.</li>
|
||||
<li>Body.drag has been removed. Please use the new Body.linearDamping value instead (which is a number value, not a Point object)</li>
|
||||
<li>Body.embedded and Body.wasTouching have been removed as they are no longer required.</li>
|
||||
<li>Body.customSeparateX/Y have been removed as you should now use Body.customSeparateCallback.</li>
|
||||
<li>Body.maxVelocity defaults have been removed from 10,000 to 2000.</li>
|
||||
<li>Body.customSeparateCallback allows you to set your own callback when two Bodies need to separate rather than using the built-in method.</li>
|
||||
<li>Body.collideCallback allows you to set a callback that is fired whenever the Body is hit on any of its active faces.</li>
|
||||
<li>Body.allowCollision has been renamed to Body.checkCollision.</li>
|
||||
<li>Body.rebound is a boolean that controls if a body will exchange velocity on collision. Set to false to allow it to be 'pushed' (see new examples).</li>
|
||||
<li>Removed Body.deltaAbsX and deltaAbsY as they are no longer used internally.</li>
|
||||
<li>Body.screenX and screenY moved to getters, no longer calculated every frame.</li>
|
||||
<li>ArcadePhysics now has setBounds and setBoundsToWorld, and you can specify which walls are created or not (left, right, up, down)</li>
|
||||
<li>Removed: Debug.renderSpriteTouching, Debug.renderLocalTransformInfo, Debug.renderWorldTransformInfo, Debug.renderSpriteCollision and Debug.dumpLinkedList.</li>
|
||||
<li>Body.setSize has been removed. Please use Body.setCircle, setRectangle or setPolygon instead.</li>
|
||||
<li>Upgraded to Pixi.js 1.4.4</li>
|
||||
<li>Group now extends PIXI.DisplayObjectContainer, rather than owning a _container property, which makes life a whole lot easier re: nesting.</li>
|
||||
<li>Removed Sprite.group property. You can use Sprite.parent for all similar needs now.</li>
|
||||
<li>PIXI.Point is now aliased to Phaser.Point - saves on code duplication and works exactly the same.</li>
|
||||
<li>PIXI.Rectangle is now aliased to Phaser.Rectangle - saves on code duplication and works exactly the same.</li>
|
||||
<li>PIXI.Circle is now aliased to Phaser.Circle - saves on code duplication and works exactly the same.</li>
|
||||
<li>Sprite.deltaX and deltaY swapped to functions: Sprite.deltaX() and Sprite.deltaY()</li>
|
||||
<li>Sprite.crop() now takes a Phaser.Rectangle instead of explicit parameters.</li>
|
||||
<li>PixiPatch no longer needed, all features that it patched are now native in Pixi :)</li>
|
||||
<li>Removed: Sprite.offset, center, topLeft, topRight, bottomRight, bottomLeft and bounds as no longer needed internally. Use Sprite.getBounds() to derive them.</li>
|
||||
<li>Button now extends Phaser.Image not Phaser.Sprite, all the same functionality as before remains, just no animations or physics body.</li>
|
||||
</ul>
|
||||
<p>New features:</p>
|
||||
<ul>
|
||||
<li>Phaser.Timer is now feature complete and fully documented. You can create Phaser.TimerEvents on a Timer and lots of new examples have been provided.</li>
|
||||
<li>Gamepad API support has been added with lots of new examples (thanks Karl Macklin)</li>
|
||||
<li>Phaser.Game constructor can now be passed a single object containing all of your game settings + Stage settings. Useful for advanced configurations.</li>
|
||||
<li>The width/height given to Phaser.Game can now be percentages, i.e. "100%" will set the width to the maximum window innerWidth.</li>
|
||||
<li>Added a stage.fullScreenScaleMode property to determine scaling when fullscreen (thanks oysterCrusher)</li>
|
||||
<li>Added support for margin and spacing around a frame in Loader.spritesheet.</li>
|
||||
<li>Added Device.vibration to check if the Vibration API is available or not.</li>
|
||||
<li>Added Device.trident and Device.tridentVersion for testing IE11.</li>
|
||||
<li>Added Device.silk for detecting a Kindle Fire and updated desktop OS check to exclude Kindles (thanks LuckieLordie)</li>
|
||||
<li>TilemapLayers now have debug and debugAlpha values, this turns on the drawing of the collision edges (very handy for debugging, as the name implies!)</li>
|
||||
<li>Tweens have a new event: onLoop.</li>
|
||||
<li>You can now load any binary file via the Loader: game.load.binary(key, url, callback) - the optional callback allows for post-load processing before entering the Cache.</li>
|
||||
<li>Group.set will let you deep set a new propery on a single child of the Group.</li>
|
||||
<li>Stage.display property added. A direct reference to the root Pixi Stage object (very useful for RenderTexture manipulation)</li>
|
||||
<li>Added Ejecta detection to Device (thanks endel)</li>
|
||||
<li>Tweens can now work with relative + and - values. You can do: <code>tween(sprite).to( { x: '+400' })</code> and it will add 400 to the current sprite.x value.</li>
|
||||
<li>Buttons now properly use their upFrame if set.</li>
|
||||
<li>InputHandler now has snapOffsetX and snapOffsetY properties so your snap grid doesn't have to be 0,0 aligned (thanks srmeier)</li>
|
||||
<li>Loader.progressFloat contains the actual non-rounded progress value, where-as Loader.progress contains a rounded value. Use progressFloat if you've > 100 files to load.</li>
|
||||
<li>Groups can now be added to other Groups as children via group.add() and group.addAt()</li>
|
||||
<li>Groups now have an 'alive' property, which can be useful when iterating through child groups with functions like forEachAlive.</li>
|
||||
<li>Added a new Project Template "Full Screen Mobile" which you can find in the resources folder. Contains html / css / layout needed for a deployed Phaser game.</li>
|
||||
<li>Body.speed - the current speed of the body.</li>
|
||||
<li>Body.angle - the current angle the Body is facing based on its velocity. This is not the same as the Sprite angle that may own the body.</li>
|
||||
<li>Body.linearDamping - This now replaces Body.drag and provides for a much smoother damping (friction) experience.</li>
|
||||
<li>Body.minBounceVelocity - If a Body has bounce set, this threshold controls if it should rebound or not. Use it to stop 'jittering' on bounds/tiles with super-low velocities.</li>
|
||||
<li>QuadTree.populate - you can pass it a Group and it'll automatically insert all of the children ready for inspection.</li>
|
||||
<li>Input.setMoveCallback allows you to set a callback that will be fired each time the activePointer receives a DOM move event.</li>
|
||||
<li>Math.distancePow(x1,y1,x2,y2,power) returns the distance between two coordinates at the given power.</li>
|
||||
<li>Physics.collide now supports the 2nd parameter as an array, for when you want to collide an object against a number of sprites that aren't all in the same Group.</li>
|
||||
<li>Physics.overlap now supports the 2nd parameter as an array, for when you want to overlap test an object against a number of sprites that aren't all in the same Group.</li>
|
||||
<li>Math.reverseAngle - reverses an angle (in radians).</li>
|
||||
<li>Math.normalizeAngle - normalises an angle, now in radians only.</li>
|
||||
<li>Math.normalizeLatitude - Normalizes a latitude to the [-90,90] range.</li>
|
||||
<li>Math.normalizeLongitude - Normalizes a longitude to the [-180,180] range.</li>
|
||||
<li>Phaser.Line added to the geometry classes, with full point on line/segment and intersection tests (see new examples)</li>
|
||||
<li>Phaser.CANVAS_PX_ROUND is a boolean. If 'true' the Canvas renderer will Math.floor() all coordinates before drawImage, stopping pixel interpolation. Defaults to false.</li>
|
||||
<li>Phaser.CANVAS_CLEAR_RECT is a boolean. If 'true' (the default) it will context.clearRect() every frame. If false this is skipped (useful if you know you don't need it)</li>
|
||||
<li>Collision now works between Sprites positioned via sprite.x/y, sprite.body.x/y or sprite.body.velocity.</li>
|
||||
<li>If you are tweening a sprite and still want physics collision, set <code>sprite.body.moves = false</code> otherwise it will fight against the tween motion.</li>
|
||||
<li>Game.enableStep will enable core game loop stepping. When enabled you must call game.step() directly (perhaps via a DOM button?), very useful for debugging!</li>
|
||||
<li>Game.disableStep turns core update loop stepping off.</li>
|
||||
<li>Debug.renderPhysicsBody(body, color) is extremely useful for debugging the new physics bodies. Will draw the outline + points in the color given.</li>
|
||||
<li>Debug.renderBodyInfo(sprite, x, y, color) will display lots of Sprite body data.</li>
|
||||
<li>Sprite.events.onBeginContact will be fired when a Body makes contact with another Body. Once contact is over an onEndContact event will be dispatched.</li>
|
||||
<li>Phaser.Image is a brand new display object perfect for logos, backgrounds, etc. You can scale, rotate, tint and blend and Image, but it has no animation, physics body or input events.</li>
|
||||
<li>You can now use the hitArea property on Sprites and Image objects. hitArea can be a geometry object (Rectangle, Circle, Polygon, Ellipse) and is used in pointerOver checks.</li>
|
||||
<li>InputManager.getLocalPosition(displayObject, pointer, output) will return the local coordinates of the specified displayObject and pointer.</li>
|
||||
<li>InputManager.hitTest will test for pointer hits against a Sprite/Image, its hitArea (if set) or any of its children.</li>
|
||||
</ul>
|
||||
<p>New Examples:</p>
|
||||
<ul>
|
||||
<li>Physics - Bounce by Patrick OReilly.</li>
|
||||
<li>Physics - Bounce with gravity by Patrick OReilly.</li>
|
||||
<li>Physics - Bounce accelerator (use the keyboard) by Patrick OReilly.</li>
|
||||
<li>Physics - Bounce knock (use the keyboard) by Patrick OReilly.</li>
|
||||
<li>Physics - Snake (use the keyboard to control the snake like creature) by Patrick OReilly and Richard Davey.</li>
|
||||
<li>Physics - Launcher - Angry Birds style ball launcher demo by Patrick OReilly.</li>
|
||||
<li>Physics - Launcher Follow - throw the sprite anywhere in the world by Patrick OReilly.</li>
|
||||
<li>Physics - Launcher Follow World - an advanced version of the Launcher Follow example by Patrick OReilly.</li>
|
||||
<li>Input - Touch Joystick example showing how to use the clay.io virtual game controller (thanks gabehollombe)</li>
|
||||
<li>Games - Matching Pairs by Patrick OReilly.</li>
|
||||
<li>Games - Simon Says by Patrick OReilly.</li>
|
||||
<li>Games - Wabbits by Patrick OReilly.</li>
|
||||
<li>Tweens - Example showing how to use the tween events, onStart, onLoop and onComplete.</li>
|
||||
<li>Display - Pixi Render Texture. A Phaser conversion of the Pixi.js Render Texture example.</li>
|
||||
<li>Input - 5 new examples showing how to use the Gamepad API (thanks Karl Macklin)</li>
|
||||
<li>Animation - Group Creation, showing how to create animations across all Group children in one call.</li>
|
||||
<li>Particles - Rain by Jens Anders Bakke.</li>
|
||||
<li>Particles - Snow by Jens Anders Bakke.</li>
|
||||
<li>Groups - Nested Groups - showing how to embed one Group into another Group.</li>
|
||||
<li>Time - Lots of new examples showing how to use the updated Phaser.Timer class.</li>
|
||||
</ul>
|
||||
<p>Updates:</p>
|
||||
<ul>
|
||||
<li>Updated to latest Pixi.js dev branch build (pre 1.4 release)</li>
|
||||
<li>When a Sprite is destroyed any active filters are removed at the same time.</li>
|
||||
<li>Updated Pixi.js so that removing filters now works correctly without breaking the display list.</li>
|
||||
<li>Phaser.Canvas.create updated so it can be given an ID as the 3rd parameter (can also be set via new Game configuration object).</li>
|
||||
<li>Updated display/fullscreen example to reflect new full screen change.</li>
|
||||
<li>Loads of updates to the TypeScript definitions files - games fully compile now and lots of missing classes added :) (thanks Niondir)</li>
|
||||
<li>Removed 'null parent' check from Group constructor. Will parent to game.world only if parent value is undefined.</li>
|
||||
<li>The tutorials have now been translated into Spanish - thanks feiss :)</li>
|
||||
<li>separateY updated to re-implement the 'riding platforms' special condition (thanks cocoademon)</li>
|
||||
<li>SoundManager.onSoundDecode now dispatches the key followed by the sound object, also now dispatched by the Cache when doing an auto-decode on load.</li>
|
||||
<li>Switch method of using trimmed sprites to support scaling and rotation (thanks cocoademon)</li>
|
||||
<li>Most of the GameObjectFactory functions now have a group parameter, so you can do: game.add.sprite(x, y, frame, frameName, group) rather than defaulting to the World group.</li>
|
||||
<li>Group.countLiving and countDead used to return -1 if the Group was empty, but now return 0.</li>
|
||||
<li>Text can now be fixedToCamera, updated world/fixed to camera example to show this.</li>
|
||||
<li>ArcadePhysics.overlap and collide now recognise TileSprites in the collision checks.</li>
|
||||
<li>Lots of documentation fixes in the Tween class.</li>
|
||||
<li>Tweens fire an onLoop event if they are set to repeat. onComplete is now only fired for the final repeat (or never if the repeat is infinite)</li>
|
||||
<li>Pointer used to un-pause a paused game every time it was clicked/touched (this avoided some rogue browser plugins). Now only happens if Stage.disableVisibilityChange is true.</li>
|
||||
<li>Input doesn't set the cursor to default if it's already set to none.</li>
|
||||
<li>You can now collide a group against itself. This will check all children against each other, but not themselves (thanks cocoademon)</li>
|
||||
<li>RenderTexture.render / renderXY has a new parameter: renderHidden, a boolean which will allow you to render Sprites even if their visible is set to false.</li>
|
||||
<li>Added in prototype.constructor definitions to every class (thanks darkoverlordofdata)</li>
|
||||
<li>Group.destroy has a new parameter: destroyChildren (boolean) which will optionally call the destroy method of all Group children.</li>
|
||||
<li>Button.clearFrames method has been added.</li>
|
||||
<li>Device.quirksMode is a boolean that informs you if the page is in strict (false) or quirks (true) mode.</li>
|
||||
<li>Canvas.getOffset now runs a strict/quirks check and uses document.documentElement when calculating scrollTop and scrollLeft to avoid Chrome console warnings.</li>
|
||||
<li>The Time class now has its own Phaser.Timer which you can access through game.time.events. See the new Timer examples to show how to use them.</li>
|
||||
<li>Added StateManager.getCurrentState to return the currently running State object (thanks Niondir)</li>
|
||||
<li>Removed the console.log redirect from Utils as it was messing with Firefox.</li>
|
||||
<li>Body.acceleration is now much smoother and less eratic at high speeds.</li>
|
||||
<li>Removed ArcadePhysics binding to the QuadTree, so it can now be used independantly of the physics system.</li>
|
||||
<li>Removed ArcadePhysics.preUpdate and postUpdate as neither are needed any more.</li>
|
||||
<li>Body.bottom and Body.right are no longer rounded, so will give accurate sub-pixel values.</li>
|
||||
<li>Fixed lots of documentation in the Emitter class.</li>
|
||||
<li>The delta timer value used for physics calculations has had its cap limit modified from 1.0 to 0.05 in line with the core updates.</li>
|
||||
<li>Phaser.Math.min enhanced so you can now pass in either an array of numbers or lots of numbers as parameters to get the lowest.</li>
|
||||
<li>Phaser.Math.max added as the opposite of Math.min.</li>
|
||||
<li>Phaser.Math.minProperty and maxProperty added. Like Math.min/max but can be given a property an an array or list of objects to inspect.</li>
|
||||
<li>Added 'full' paramter to Body.reset, allowing you to control if motion or all data is reset or not.</li>
|
||||
<li>Exposed Group.pivot and Sprite.pivot to allow you to directly set the pivot points for rotation.</li>
|
||||
<li>Swapped to using the native and faster Array.isArray check.</li>
|
||||
<li>Added callback context parameter to Tween.onUpdateCallback(callback, context) to avoid having to bind or create anonymous functions.</li>
|
||||
<li>Updated TweenManager.removeAll so it flags all tweens as pendingDelete rather than nuking the array, to avoid tween callback array size errors (thanks DarkDev)</li>
|
||||
<li>Debug.renderRectangle has a new parameter: filled. If true it renders as with fillRect, if false strokeRect.</li>
|
||||
<li>Phaser.AnimationParser now sets the trimmed data directly for Pixi Texture frames. Tested across JSON Hash, JSON Data, Sprite Sheet and XML.</li>
|
||||
<li>Game.add.renderTexture now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getTexture(key).</li>
|
||||
<li>Game.add.bitmapData now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getBitmapData(key).</li>
|
||||
<li>The InputManager now sets the canvas style cursor to 'inherit' instead of 'default'.</li>
|
||||
</ul>
|
||||
<p>Bug Fixes:</p>
|
||||
<ul>
|
||||
<li>Cache.getImageKeys returned __missing in the array, now excluded.</li>
|
||||
<li>Fixed Group.scale so you can now scale a Group directly.</li>
|
||||
<li>Removed World.scale as it was preventing Group.scale from working - you can still scale the world, but you'll need to factor in Input changes yourself.</li>
|
||||
<li>Moved 'dirty' flag for Tilemap to a per-layer flag. Fixes #242</li>
|
||||
<li>Group.length now returns the number of children in the Group regardless of their exists/alive state, or 0 if the Group has no children.</li>
|
||||
<li>Switch Camera.setBoundsToWorld to match world.bounds instead of world (thanks cocoademon)</li>
|
||||
<li>Fixed an issue where passing null as the Group parent wouldn't set it to game.world as it should have (thanks tito100)</li>
|
||||
<li>Fixed Pixi bug (#425) incorrect width property for multi-line BitmapText (thanks jcd-as)</li>
|
||||
<li>Tween.onStart is now called when the tween starts AFTER the delay value, if given (thanks stevenbouma)</li>
|
||||
<li>Sprites that are fixedToCamera can now be input dragged regardless of world position (thanks RafaelOliveira)</li>
|
||||
<li>RenderTexture now displays correctly in Canvas games.</li>
|
||||
<li>Canvas.addToDOM is now more robust when applying the overflowHidden style.</li>
|
||||
<li>Fixed Pixi.StripShader which should stop the weird TileSprite GPU issues some were reporting (thanks GoodboyDigital)</li>
|
||||
<li>Patched desyrel.xml so it doesn't contain any zero width/height characters, as they broke Firefox 25.</li>
|
||||
<li>Cache.addSound now implements a locked attribute (thanks haden)</li>
|
||||
<li>Sound now checks for CocoonJS during playback to avoid readyState clash (thanks haden)</li>
|
||||
<li>Buttons now clear previously set frames correctly if you call setFrames.</li>
|
||||
<li>Sounds will now loop correctly if they are paused and resumed (thanks haden)</li>
|
||||
<li>InputHandler.checkBoundsRect and checkBoundsSprite now take into account if the Sprite is fixedToCamera or not.</li>
|
||||
<li>Removed the frame property from TileSprites as it cannot use them, it tiles the whole image only, not just a section of it.</li>
|
||||
<li>Fixed WebGLRenderer updateGraphics bug (thanks theadam)</li>
|
||||
<li>Removed duplicate Timer.create line (thanks hstolte)</li>
|
||||
<li>Fixed issue with the camera being slightly out of sync with 'fixedToCamera' sprites.</li>
|
||||
<li>1px camera jitter issue fixed where map is same size, or smaller than the game size.</li>
|
||||
<li>Explicitly paused Timer continues if you un-focus and focus the browser window (thanks georgiee)</li>
|
||||
<li>Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)</li>
|
||||
<li>Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)</li>
|
||||
<li>Previously if you used Sprite.crop() it would crop all Sprites using the same base image. It now takes a local copy of the texture data and crops just that.</li>
|
||||
<li>Tilemap had the wrong @method signatures so most were missing from the docs.</li>
|
||||
</ul>
|
||||
<p>You can view the Change Log for all previous versions at <a href="https://github.com/photonstorm/phaser/changelog.md">https://github.com/photonstorm/phaser/changelog.md</a></p>
|
||||
<h2>How to Build</h2>
|
||||
@@ -705,14 +608,6 @@ Sprites also have full Input support: click them, touch them, drag them around,
|
||||
<p><img src="http://www.photonstorm.com/wp-content/uploads/2013/10/phaser_fruit_particles-640x480.png" alt="FruitParty"></p>
|
||||
<h2>Road Map</h2>
|
||||
<p>Here is what's on our road map for the coming months:</p>
|
||||
<p>Version 1.1.5 ("Saldaea")</p>
|
||||
<ul>
|
||||
<li>A fast turn-around point release that will focus on addressing any bugs that occured as a result of the large changes that took place in 1.1.4.</li>
|
||||
</ul>
|
||||
<p>Version 1.2 ("Shienar")</p>
|
||||
<ul>
|
||||
<li>Update to Pixi 1.4 - this newly released build has lots of internal changes and new features we want to take advantage of.</li>
|
||||
</ul>
|
||||
<p>Version 1.3 ("Tarabon")</p>
|
||||
<ul>
|
||||
<li>Enhance the State Management, so you can perform non-destructive State swaps and persistence.</li>
|
||||
@@ -738,6 +633,8 @@ Sprites also have full Input support: click them, touch them, drag them around,
|
||||
<li>Look at HiDPI Canvas settings.</li>
|
||||
<li>Multiple Camera support.</li>
|
||||
</ul>
|
||||
<h2>Nadion</h2>
|
||||
<p><a href="https://github.com/jcd-as/nadion">Nadion</a> is a set of powerful enhancements for Phaser that makes level building even easier. It includes features such as Trigger, Area, Alarms and Emitters, debug panels, state machines, parallax layer scrolling, 'developer mode' short-cuts and more.</p>
|
||||
<h2>Contributing</h2>
|
||||
<p>We now have a full <a href="https://github.com/photonstorm/phaser/blob/master/CONTRIBUTING.md">Contributors Guide</a> which goes into the process in more detail, but here are the headlines:</p>
|
||||
<ul>
|
||||
@@ -778,7 +675,7 @@ Sprites also have full Input support: click them, touch them, drag them around,
|
||||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Wed Feb 05 2014 06:28:24 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Sat Feb 08 2014 07:19:41 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user