Skip to content

Releases: mitchwadair/sidescroller-framework

SFramework v0.4.0

07 Apr 01:21
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.3...v0.4.0

SFramework v0.3.3

12 Sep 05:28
1169a72
Compare
Choose a tag to compare

Minor bugfix in AddPhysics to reference correct path to Physics component.

Minor (very) optimization to SpriteRenderer component

SFramework v0.3.2

09 Mar 22:46
78d9cbc
Compare
Choose a tag to compare

Big Changes

  • Adds friction to physics
    • Adds friction coefficient to Physics component
      • related getter/setter
    • Incorporates friction coefficient into collision resolution

Minor changes

  • Fix some doc errors
  • Add license headers to source files

SFramework v0.3.1

03 Mar 02:02
cd44c1d
Compare
Choose a tag to compare
  • Adds Triangle collider
    • Physics component now has colliderType public property
      • robust, case-insensitive but must take BOX, TRIANGLE, or CIRCLE
      • defaults to BOX
    • GameObject:AddPhysics now takes colliderType arg
  • 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

24 Feb 01:31
8bab8b2
Compare
Choose a tag to compare
  • Adds Physics component
    • Box and Circle Colliders
    • Gravity
  • Refactoring to have separated modules for different libraries

SFramework v0.2.2

16 Feb 22:28
Compare
Choose a tag to compare

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

15 Feb 23:27
5aa2728
Compare
Choose a tag to compare
  • 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

14 Feb 03:53
b9f2a19
Compare
Choose a tag to compare

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