Skip to content

Commit 8bad64f

Browse files
committed
Flixel v2.56
This version fixes many of Flixel's older bugs, while staying reverse compatible with projects that use Flixel v2.55 (the current version in [AdamAtomic/flixel](https://github.com/AdamAtomic/flixel)). For complete changes, see CHANGELOG.md
2 parents 8989e50 + 064b978 commit 8bad64f

File tree

214 files changed

+1436
-23757
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+1436
-23757
lines changed

Diff for: .gitignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
### ACTIONSCRIPT ###
3+
4+
# Build and Release Folders
5+
bin/
6+
bin-debug/
7+
bin-release/
8+
9+
# Project property files
10+
.actionScriptProperties
11+
.flexProperties
12+
.settings/
13+
.project
14+
15+
16+
### OS SPECIAL FILES ###
17+
18+
# Windows
19+
Thumbs.db
20+
ehthumbs.db
21+
Desktop.ini
22+
$RECYCLE.BIN/
23+
24+
# OSX (MAC)
25+
.DS_Store
26+
.AppleDouble
27+
.LSOverride
28+
Icon
29+
._*
30+
.Spotlight-V100
31+
.Trashes
32+
33+
# Linux
34+
.*
35+
!.gitignore
36+
*~
37+

Diff for: CHANGELOG.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Flixel v2.56
2+
3+
This version fixes many of Flixel's older bugs, while staying reverse compatible with projects that use Flixel v2.55 (the current version in [AdamAtomic/flixel](https://github.com/AdamAtomic/flixel)).
4+
5+
#### New Features
6+
7+
Add properties `numFrames` and `maxFrames` to `FlxSprite` ([#174](https://github.com/FlixelCommunity/flixel/issues/174))
8+
Add new `FlxTween` class ([#114](https://github.com/FlixelCommunity/flixel/issues/114))
9+
Add function to trigger full-screen support ([not complete](https://github.com/FlixelCommunity/flixel/issues/93)) ([#74](https://github.com/FlixelCommunity/flixel/issues/74))
10+
Make `FlxG.log()` able to split out arrays using `FlxU.formatArray()` ([#74](https://github.com/FlixelCommunity/flixel/issues/74))
11+
Add optional `ColorMap` parameter to `FlxTilemap.bitmapToCSV()` ([#74](https://github.com/FlixelCommunity/flixel/issues/74))
12+
13+
#### Improvements
14+
15+
Prevent being able to set a `FlxSprite` to an invalid frame ([#174](https://github.com/FlixelCommunity/flixel/issues/174))
16+
Prevent errors if `destroy()` is called twice ([#153](https://github.com/FlixelCommunity/flixel/issues/153))
17+
Log error if invalid Bitmap passed to `FlxG.addBitmap()` ([#127](https://github.com/FlixelCommunity/flixel/issues/127))
18+
`FlxG.sort()` won't crash if a property is not found ([#116](https://github.com/FlixelCommunity/flixel/issues/116))
19+
Log error if invalid custom particle class is passed to `FlxEmitter` ([#95](https://github.com/FlixelCommunity/flixel/issues/95))
20+
Prevent being able to pass `null` to `FlxObject.add()` ([#87](https://github.com/FlixelCommunity/flixel/issues/87))
21+
`FlxObjects` will now stop when they reach the end of a path ([#85](https://github.com/FlixelCommunity/flixel/issues/85))
22+
Remove several FlashBuilder/FDT warnings
23+
Remove migration warnings if published with Flash IDE ([#76](https://github.com/FlixelCommunity/flixel/issues/76))
24+
Add `super.destroy()` to all overridden `destroy()` methods ([#73](https://github.com/FlixelCommunity/flixel/issues/73))
25+
Add `http://` prefix if user did not in `FlxPreloader.goToMyURL()` ([#71](https://github.com/FlixelCommunity/flixel/issues/71))
26+
27+
#### Performance Improvements
28+
29+
No need to fill a camera twice if not blending alpha ([#143](https://github.com/FlixelCommunity/flixel/issues/143))
30+
Remove small performance issue in `FlxG.addBitamp()` ([#96](https://github.com/FlixelCommunity/flixel/issues/96))
31+
Refactored `FlxObject::preUpdate()` to remove uneccessary code ([#82](https://github.com/FlixelCommunity/flixel/issues/82))
32+
33+
#### Bugfixes
34+
Fix `FlxGroup#maxSize` ([#184](https://github.com/FlixelCommunity/flixel/issues/184))
35+
Fix documentation for `FlxText#moves` ([#180](https://github.com/FlixelCommunity/flixel/issues/180))
36+
Fix `FlxSprite.drawLine()` incorrect behavior when full transparency set in color ([#173](https://github.com/FlixelCommunity/flixel/issues/173))
37+
Fix `FlxTilemap.overlapsWithCallback` calls callback when no overlapping ([#166](https://github.com/FlixelCommunity/flixel/issues/166))
38+
Fix `FlxCamera` "jitters" when following a target ([#134](https://github.com/FlixelCommunity/flixel/issues/134))
39+
Fix `FlxText` and problem with camera zoom ([#119](https://github.com/FlixelCommunity/flixel/issues/119))
40+
Fix `Mouse.as` doesn't like negative cursor offsets mixed with native Flash ([#117](https://github.com/FlixelCommunity/flixel/issues/117))
41+
_Major_ cleanup and bug fixing of `FlxSound` ([#114](https://github.com/FlixelCommunity/flixel/issues/114)) , ([#103](https://github.com/FlixelCommunity/flixel/issues/103)) , ([#101](https://github.com/FlixelCommunity/flixel/issues/101)) , ([#92](https://github.com/FlixelCommunity/flixel/issues/92)) , ([#80](https://github.com/FlixelCommunity/flixel/issues/80))
42+
Fix `FlxObject#(overlaps|overlapsAt)` checking only first element of `FlxGroup` ([#109](https://github.com/FlixelCommunity/flixel/issues/109))
43+
Fix `FlxTilemap` not clearing variables before `loadMap` ([#102](https://github.com/FlixelCommunity/flixel/issues/102))
44+
Fix `overlapProcessed` isn't properly cleared in `FlxQuadTree` ([#100](https://github.com/FlixelCommunity/flixel/issues/100))
45+
Fix `FlxTilemap` ignoring last tiles if `startingIndex > 0` ([#99](https://github.com/FlixelCommunity/flixel/issues/99))
46+
Add missing usage of `particleClass` in `FlxEmitter` ([#95](https://github.com/FlixelCommunity/flixel/issues/95))
47+
Fix `FlxTilemap.ray()` result value always `null` ([#84](https://github.com/FlixelCommunity/flixel/issues/84))
48+
Fix `FlxU.round()` giving incorrect results for negative numbers ([#79](https://github.com/FlixelCommunity/flixel/issues/79))
49+
Fix `FlxU.formatArray()` includes first element twice ([#77](https://github.com/FlixelCommunity/flixel/issues/77))
50+
Fix health only initialized in `FlxSprite`, should have been in `FlxObject` ([#74](https://github.com/FlixelCommunity/flixel/issues/74))
51+
Fix incorrect value for `moves` in `FlxTileblock` and `FlxTilemap` ([#70](https://github.com/FlixelCommunity/flixel/issues/70))
52+
53+
#### Repository changes
54+
55+
Move source to `src` folder
56+
Remove documentation (only include it in release builds)
57+
Add `generate-asdoc.sh` and `generate-swc.sh` utilities
58+
Add `.gitignore`
59+
Add `CHANGELOG.md`
60+

Diff for: CONTRIBUTING.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## How you can help
2+
3+
Any help is welcome, even the smallest one! Start by choosing the way you want to contribute:
4+
5+
* **Fixing bugs**. Browse the [issues list](https://github.com/FlixelCommunity/flixel/issues?page=1&state=open) and pick one labeled as **OPEN**. If the issue is associated with another developers, then someone is already working on that bug.
6+
* **Testing bug fixes and new features**. Every time a bug gets fixed or a new feature is added, we need to test it. Browse the [list of open pull-requests](https://github.com/FlixelCommunity/flixel/pulls), choose one and test if it's ok.
7+
* **Writing a tutorial**. If you know how to use Flixel, help others by teaching them. Check the [writting a tutorial guide](http://deadlink).
8+
9+
## Fixing bugs
10+
11+
Right now the focus is on releasing a stable version of Flixel `2.56`, **containing bug fixes and performance improvements only**. This release should be reverse-compatible with Flixel `2.55` and able to be dropped in to an existing Flixel game without breaking any existing code.
12+
13+
All issues that must be addressed for the current release are under the [**Flixel v2.56** milestone](https://github.com/FlixelCommunity/flixel/issues?milestone=1&state=open). Any new features or changes that break existing code are saved for the next version of Flixel under the [**Future release** milestone](https://github.com/FlixelCommunity/flixel/issues?milestone=2&state=open).
14+
15+
### Branches
16+
17+
The code is organized in two branches:
18+
19+
* `FlixelCommunity/master`: the current, stable release; currently at Flixel `v2.55` (Adam Atomic's version).
20+
* `FlixelCommunity/dev` the developmental version containing all the fixes for the next release.
21+
22+
Only "finished" bug fixes should be merged into the `FlixelCommunity/dev` branch; no "half-finished" code or code that doesn't compile. After all bugs are fixed and all changes are implemented, the `dev` branch will be merged into the `master` branch. From that point on, the `master` will have a stable release and the development activity will start again at the `dev` branch.
23+
24+
### Finding an issue to work on
25+
26+
If you don't already know of a bug and want to find something to work on, you can [browse the existing issues](https://github.com/FlixelCommunity/flixel/issues?page=1&state=open).
27+
28+
Pay attention to the labels:
29+
30+
* **bug**: the issue is a confirmed bug;
31+
* **OPEN**: the issue is active and there is no fix (check a [list of open issues](https://github.com/FlixelCommunity/flixel/issues?labels=OPEN&milestone=1&page=1&state=open));
32+
* **has fix**: the issue has a pending pull request that fixes the problem
33+
34+
35+
### Creating a pull request
36+
37+
As usual, be clear in your pull request's description, and follow the coding conventions used by the surrounding Flixel code (e.g. open brackets start on the next line, camel case naming).
38+
39+
To avoid merge conflicts, start your pull requests from the `FlixelCommunity/dev` branch. If you are on a system that supports Bash (usually MAC or Linux), you can use the following [GIT alias](https://git.wiki.kernel.org/index.php/Aliases) to assist:
40+
41+
```
42+
dev = "!git fetch FlixelCommunity && git checkout FlixelCommunity/dev -b "
43+
```
44+
45+
To use the alias, make sure `FlixelCommunity` is added as a remote repository, and run the following command when you want to start working on an issue, which will create a new branch with the specified name:
46+
47+
```
48+
$ git dev fix-some-issue
49+
```
50+

Diff for: license.txt renamed to LICENSE.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Copyright (c) 2009 Adam 'Atomic' Saltsman
1+
2+
**Copyright (c) 2009 Adam 'Atomic' Saltsman and other contributors.**
3+
Full list at http://github.com/FlixelCommunity/flixel/contributors
24

35
Permission is hereby granted, free of charge, to any person
46
obtaining a copy of this software and associated documentation
@@ -21,7 +23,7 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2123
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2224
OTHER DEALINGS IN THE SOFTWARE.
2325

24-
NOTE FROM THE AUTHOR: As far as I know, you only have to include
25-
this license if you are redistributing source code that includes
26-
the Flixel library. There is no need (or way, afaik) to include
27-
it in your compiled flash games and apps!
26+
_NOTE FROM THE AUTHOR: As far as I know, you only have to include_
27+
_this license if you are redistributing source code that includes_
28+
_the Flixel library. There is no need (or way, afaik) to include_
29+
_it in your compiled flash games and apps!_

Diff for: README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Flixel Community #
2+
3+
[Flixel Community](http://flixelcommunity.github.com) is an open source game-making library that is completely free for personal or commercial use. Written entirely in ActionScript 3, and designed to be used with free development tools, it's easy to learn, extend and customize.
4+
5+
## Features ##
6+
7+
**Basic**
8+
9+
* Display thousands of moving objects
10+
* Basic collisions between objects
11+
* Group objects together for simplicity
12+
* Easily generate and emit particles
13+
* Create game levels using tilemaps
14+
* Text display, save games, scrolling
15+
* Mouse & keyboard input
16+
* Math & color utilities
17+
18+
**Advanced**
19+
20+
* Record and play back replays
21+
* Powerful interactive debugger
22+
* Camera system for split screen
23+
* Pathfinding and following
24+
* Easy object recycling
25+
26+
27+
##Quick start##
28+
Check [Flixel Community](http://flixelcommunity.github.com) website for tutorials.
29+
30+
##Contributing##
31+
32+
If you want to contribute with Flixel Community, be welcome! You can help us with code, testing, tutorials and much more. Take a look at the [CONTRIBUTING](https://github.com/FlixelCommunity/flixel/blob/master/CONTRIBUTING.md) file for more.
33+
34+
## License ##
35+
36+
Flixel Community is licensed under the [MIT](http://opensource.org/licenses/MIT) license.
37+
38+
## About Flixel and Flixel Community##
39+
40+
[Flixel](http://flixel.org) is a well known open source and free game engine created by [Adam “Atomic” Saltsman](https://github.com/AdamAtomic/flixel). Flixel has been used in hundreds of games, including IGF nominees, Adult Swim games, and avant-garde experiments. Many Flixel users make their first game ever in Flixel.
41+
42+
Flixel Community was born as a healthy fork of Flixel. It is not supposed to replace Flixel or to compete with it, but to co-exist. [Adam](http://twitter.com/AdamAtomic) (Flixel's author) encouraged us to grow a community version and maintain it to our heart's content, even offering it as an alternative to Flixel.
43+
44+

Diff for: build_docs.sh

-2
This file was deleted.

Diff for: docs/AC_OETags.js

-129
This file was deleted.

0 commit comments

Comments
 (0)