Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated QNX lua libraries to release versions.

Updated ai.lua animations to be IN_OUT variants.
  • Loading branch information...
commit 43adf3555de29cf208722f418de655c83be95e25 1 parent fd276f9
@seanpaultaylor seanpaultaylor authored
View
1  CHANGES.md
@@ -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
View
BIN  external-deps/lua/lib/qnx/arm/liblua.a
Binary file not shown
View
BIN  external-deps/lua/lib/qnx/x86/liblua.a
Binary file not shown
View
4 gameplay-samples/sample05-lua/res/ai.lua
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.