UNPKG

5.67 kBMarkdownView Raw
1# Change Log
2All notable changes to this project will be documented in this file.
3This project adheres to [Semantic Versioning](http://semver.org/).
4
5## [Unreleased]
6
7## [7.0.0] - 2016-08-23
8### Added
9- Multiple scenes can run at the same time. This can be used to draw a UI scene
10 on top of a game scene.
11- Scenes now have a `speed` that effects how fast time passes
12### Changed
13- Systems have been separated into `simulation` and `renderer` folders
14- Upgraded to
15 [`entity-component-system`](https://github.com/ericlathrop/entity-component-system/blob/master/README.md)
16 v4.x, which is a breaking change that passes through to your game via
17 `game.entities`.
18- Convert the `match-center-x` and `match-center-y` systems to just
19 `match-center`.
20
21## [6.1.0] - 2016-07-02
22### Added
23- `importTilemap` can now import "collection of images" tilesets
24
25## [6.0.1] - 2016-06-27
26### Fixed
27- Handle nonexistant tileset properties on Tiled importer
28
29## [6.0.0] - 2016-06-04
30### Changed
31- Update renderer systems to only have 2 arguments
32### Removed
33- Old touch button support. Not needed since entities can now be buttons
34
35## [5.5.1] - 2016-06-04
36### Changed
37- Updated `entity-component-system` module.
38
39## [5.5.0] - 2016-05-20
40### Added
41- Entities can act as virtual buttons now with the `setVirtualButtons` system.
42
43## [5.4.0] - 2016-04-23
44### Added
45- `applyEasing` system
46
47## [5.3.0] - 2016-04-16
48### Fixed
49- `matchParent` system now also matches the z property on the `position` component
50### Added
51- `decayLifeSpan` system
52- `particles` module
53
54## [5.2.0] - 2016-04-05
55### Added
56- `importTilemap` function for importing [Tiled](http://www.mapeditor.org/) tilemaps.
57- `timer` component now has a `loop` flag to make it repeat
58- `applyAcceleration` system
59- `random.inRange()` & `random.from()`
60- `apply-shake` and `revert-shake` systems
61- Use `"all"` in `systems.json` for a system to apply to all scenes. This replaces the array.
62
63### Changed
64- Improved the look of the FPS counter
65
66### Fixed
67- `game.sounds.setVolume` now works
68
69## [5.1.2] - 2016-03-23
70### Fixed
71- Updated `html5-gamepad` to fix crash in Safari
72
73## [5.1.1] - 2016-03-17
74### Fixed
75- Mouse button should default to not pressed
76
77## [5.1.0] - 2016-03-13
78### Fixed
79- Mouse bug where input sometimes doesn't register
80- Make draw ordering stable when entities are on the same Y position
81
82### Added
83- Add `game.registerPrefab` and `game.registerPrefabs` to create new prefabs at runtime.
84- Suppport `alpha` transparency in `image` component.
85
86## [5.0.0] - 2016-03-05
87### Removed
88- `match-center` system, you should use `match-center-x` and `match-center-y` to achieve the same thing.
89
90### Added
91- Gamepad support!
92
93## [4.1.1] - 2016-02-29
94### Fixed
95- Fix `constrainPosition` system
96- Fix more places in game.js where `input` needed to be `inputs`.
97
98## [4.1.0] - 2016-02-29
99### Fixed
100- Fix bug in game.js where `input` needed to be `inputs`.
101
102### Added
103- Add `matchCenterX` and `matchCenterY` systems
104
105## [4.0.0] - 2016-02-28
106### Changed
107- Change `contstrain-to-playable-area` to `constrain-position`, and make the system use an entity for the area.
108- Renamed `game.input` to `game.inputs`.
109- Moved `zindex` component into the `position` component's `z` property.
110
111## [3.2.0] - 2015-01-30
112### Added
113- Inputs support mouse buttons
114
115## [3.1.1] - 2015-01-30
116### Fixed
117- allow `game.switchScene()` during scene enter script
118
119## [3.1.0] - 2015-01-30
120### Added
121- match-center system
122
123## [3.0.2] - 2015-12-30
124### Fixed
125- Fix soundloader bug.
126- Default rotation.x and rotation.y to the center of the entity.
127
128## [3.0.1] - 2015-12-30
129### Fixed
130- Remove deleted entities from collision lists.
131
132## [3.0.0] - 2015-12-30
133### Added
134- Add `instantiatePrefab` function to instantiate new entities from prefabs
135
136### Changed
137- `Game` constructor now loads all the json files by itself. Now it only needs 2 arguments.
138
139### Fixed
140- animation frame splitting now copies all animation properties, and doesn't lose any
141
142## [2.0.0] - 2015-12-28
143### Removed
144- remove magical "splatjs:" way of loading systems.
145
146## [1.0.0] - 2015-12-28
147### Changed
148- automatically size the canvas based on a selectable algorithm.
149
150### Added
151- matchCanvasSize system to make an entity the same size as the canvas
152- matchAspectRatio system to make an entity match the aspect ratio of another entity
153
154## [0.7.0] - 2015-12-21
155### Added
156- add `Input.buttonPressed()` and `Input.buttonReleased()`
157
158## [0.6.2] - 2015-12-21
159### Added
160- add warnings about bad image component values and provide defaults for unset values
161
162### Fixed
163- fix bug where animations wouldn't work
164
165## [0.6.1] - 2015-12-20
166### Fixed
167- mouse coordinates scale correctly when no css is applied to canvas
168
169## [0.6.0] - 2015-12-20
170### Changed
171- use box-intersect module for faster collision detection
172
173## [0.5.0] - 2015-12-19
174### Added
175- window.timeSystems() to log timings of ECS systems
176
177### Changed
178- Speed up advanceAnimations system
179
180## [0.4.2] - 2015-12-19
181### Fixed
182- applyMovement2d never found entities
183
184## [0.4.1] - 2015-12-17
185### Fixed
186- Readme typo
187- Format changelog
188
189## [0.4.0] - 2015-12-17
190### Changed
191- Upgrade to entity-component-system 2.0.0
192
193## [0.3.2]
194- Add method to reset box collider cache
195
196## [0.3.1]
197- Un-scale the viewport when it is reset
198
199## [0.3.0]
200- Support scaling of viewport through camera
201- Draw custom buffer for an entity if it is specified
202
203## [0.2.0]
204- Support rotation when drawing images.
205
206## [0.1.1]
207- Log more info on no such image error
208
209## [0.1.0]
210- Add matchParent system.
211- Allow sound loop start and end settings
212
213## [0.0.1]
214- Add a way to remove a deleted entity from the collision detection cache.
215
216## [0.0.0]
217- Fork from original splatjs project.