Skip to content

Commit

Permalink
Updated QNX lua libraries to release versions.
Browse files Browse the repository at this point in the history
Updated ai.lua animations to be IN_OUT variants.
  • Loading branch information
seanpaultaylor committed Jul 25, 2012
1 parent fd276f9 commit 43adf35
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- Fixes RenderState::StateBlock::bindNoRestore() issue where blend function was not restored to the proper defaults.
- Fixes some inconsistencies in Game event method names for menuEvent. (breaks compat. in Game)
- Fixes some inconsistencies with AnimationClip::getID() to be same as Node::getId() and other classes. (breaks compat. in AnimationClip)
- Fixes to gameplay-encoder and PhysicsRigidBody for heightmaps which adds height precision into generated heightmap png's.

## v1.3.0

Expand Down
Binary file modified external-deps/lua/lib/qnx/arm/liblua.a
Binary file not shown.
Binary file modified external-deps/lua/lib/qnx/x86/liblua.a
Binary file not shown.
4 changes: 2 additions & 2 deletions gameplay-samples/sample05-lua/res/ai.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ _stateMachine:setState("spinning")
-- Create animations
_slidingClip = _modelNode:createAnimation("sliding", Transform.ANIMATE_TRANSLATE(), 6, { 0, 250, 750, 1250, 1750, 2000 }, { 0,0,0, 2,0,0, 2,0,-4, -2,0,-4, -2,0,0, 0,0,0 }, Curve.LINEAR):getClip()
_slidingClip:setRepeatCount(AnimationClip.REPEAT_INDEFINITE())
_bouncingClip = _modelNode:createAnimation("bouncing", Transform.ANIMATE_TRANSLATE_Y(), 3, { 0, 500, 1000 }, { 0, 0.75, 0 }, Curve.LINEAR):getClip()
_bouncingClip = _modelNode:createAnimation("bouncing", Transform.ANIMATE_TRANSLATE_Y(), 3, { 0, 500, 1000 }, { 0, 0.75, 0 }, Curve.CUBIC_IN_OUT):getClip()
_bouncingClip:setRepeatCount(AnimationClip.REPEAT_INDEFINITE())
_scaleClip = _modelNode:createAnimation("scale", Transform.ANIMATE_SCALE(), 3, { 0, 750, 1500 }, { 1,1,1, 2,2,2, 1,1,1 }, Curve.LINEAR):getClip()
_scaleClip = _modelNode:createAnimation("scale", Transform.ANIMATE_SCALE(), 3, { 0, 750, 1500 }, { 1,1,1, 2,2,2, 1,1,1 }, Curve.QUADRATIC_IN_OUT):getClip()
_scaleClip:setRepeatCount(AnimationClip.REPEAT_INDEFINITE())

-- Called by game.lua to toggle AI state
Expand Down

0 comments on commit 43adf35

Please sign in to comment.