Releases: mitchwadair/sidescroller-framework
Releases · mitchwadair/sidescroller-framework
SFramework v0.4.0
What's Changed
- Update table.length, fix doc bug by @mitchwadair in #14
- fix bug in table.length by @mitchwadair in #15
- #6: Create Vector2 Class by @mitchwadair in #16
Full Changelog: v0.3.3...v0.4.0
SFramework v0.3.3
Minor bugfix in AddPhysics
to reference correct path to Physics
component.
Minor (very) optimization to SpriteRenderer
component
SFramework v0.3.2
Big Changes
- Adds friction to physics
- Adds friction coefficient to Physics component
- related getter/setter
- Incorporates friction coefficient into collision resolution
- Adds friction coefficient to Physics component
Minor changes
- Fix some doc errors
- Add license headers to source files
SFramework v0.3.1
- Adds Triangle collider
- Physics component now has
colliderType
public property- robust, case-insensitive but must take
BOX
,TRIANGLE
, orCIRCLE
- defaults to
BOX
- robust, case-insensitive but must take
- GameObject:AddPhysics now takes
colliderType
arg
- Physics component now has
- Updates SAT algorithm to be a little more robust
- Generalizes OBBs (box, triangle)
- uses vertex-based axes now that there aren't just boxes
- add
table.length
- gets the length of any table, whether number-indexed or not
- pretty inefficient, has to go through every single table entry
- should really only be used for tables of small size
- includes collider visualization sprites in build
SFramework v0.3.0
- Adds Physics component
- Box and Circle Colliders
- Gravity
- Refactoring to have separated modules for different libraries
SFramework v0.2.2
Bugfixes:
- SpriteRenderer
- SetAnimation error handling had syntax error, fixed.
- Added return when error caught in StartAnimationPlayback
Doc updated in source to include contribution and basic sprite tutorials
SFramework v0.2.1
- Small fix to SetAnimation:
- sets current animation counter to 0 to ensure full frame duration
- Error checking in some functions
- Doc Updates in source
SFramework v0.2.0
Adds SpriteRenderer component
- Extends GameObject API to have two new functions
- CreateSpriteRenderer
- GetSpriteRenderer
- Adds SpriteRenderer API
- Initial API documentation in source code
- Missing spritesheet setup tutorial