Futile (2021 Edition)
Futile is a code-centric 2D framework for Unity.
This is for those of you who want to do everything in code with as little editor integration as possible.
If you've used Cocos2D or Flash you should feel right at home.
It's in development and completely undocumented... but it works.
2021 note from Matt: Futile hasn't been updated a whole lot since I first released it, but it has been used (and continues to be used) in a bunch of real games
http://struct.ca/futile for UnityPackages and instructional videos
Go tohttp://reddit.com/r/futile
Ask questions and share stuff you've made onhttp://github.com/MattRix/Futile/issues
Submit bugs and feature requests toFutile works great with all versions of Unity (but let me know if you have any issues!)
How to try the demo project:
How to open the project
- Grab the project from github and put it somewhere - For the lazy, here's a zip of the whole repo
- Make sure you have Unity installed
- Go into FutileProject/Assets and open FutileScene.unity
Third Party add-ons for Futile
- https://github.com/ManaOrb/FSceneManager (Futile Scene Manager and Parallax Scrolling Layer)
- https://github.com/mattfox12/FutileAdditionalClasses (including animated sprites and TMX tilemaps)
- https://github.com/Grizzlage/Futile-SpineSprite (for using animations made with Spine)
- https://gist.github.com/jpsarda/4573831 (FDrawingSprite.cs, for drawing lines)
Legal stuff
Futile contains many ideas from Prime 31's UIToolkit: github.com/Prime31/UIToolkit
The MiniJSON parser is by http://github.com/darktable
The demo project also uses Prime31's fantastic GoKit tweening library: github.com/Prime31/GoKit
The code and art assets (except for the font) can be used for anything, however the sound effects and music are not to be used in anything else
https://github.com/prime31/GoKit
GoKit's license is here:Franchise
The font isMIT License
Source code for Futile is Copyright ยฉ 2019 Matt Rix and contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the โSoftwareโ), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED โAS IS,โ WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.