Commit Graph

266 Commits

Author SHA1 Message Date
jiaxin.lai 1d14c0bc93 refactor_tween (#5794) (#5943)
* refactor_tween (#5794)

* copy from master branch cocos2d actions

* tweaks & stash

* tweaks

* stash

* stash

* tweaks

* fix repeatForever init

* fix repeat、repeatForever、reverseTime

* add elastic out in to easing

* add typing

* add adapter & checker;
add api doc;

* tweaks

* fix tween number

* tweaks

* tweaks

* remove tween.js

* rename actions to tween

* export Tween

* allow mutiple remove action

* using new api

* remove deprecated from tween

* add deprecated to tweenUtil

* fix ci test
2019-12-23 16:22:48 +08:00
jiaxin.lai 1a99b886b6 refactor physics framework & wrapper (#5667)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* cannon wrapper import tweaks

* remve unneeded code

* group mask tweaks

* hiding, wait for 1.0.3

* builtin tweaks

* delete unneed code

* export CANNON

* update @cocos/cannon to 1.0.3

* using hasTigger property

* fix remove cannon body

* rebase

* update cannon version to 1.0.4

* rename stash

* rename I-rigid-body to i-rigid-body
2019-12-13 16:00:22 +08:00
Leslie Leigh (李的序) 3e40d68a1f Add type check to test stage (#5849) 2019-12-12 19:08:42 +08:00
Leslie Leigh (李的序) 66b01c565b Bump gift to 1.2.1 to being rescued from some declaration generate errors (#5882)
* Bump gift to 1.2.1 to being rescued from some declaration generate errors

* Continue bump
2019-12-12 17:19:29 +08:00
pandamicro 3bffb3f48a Merge remote-tracking branch 'origin/3d' into 3d-v1.0.2
# Conflicts:
#	cocos/core/pipeline/render-view.ts
2019-12-12 16:59:17 +08:00
Lelie Leight (李的序) 62a3ed7b2b Scripting 2.0-Part 1 (#5781)
* Scripting 2.0-Part 1

* Bump typescript to 3.7.2

* use event for EditorExtends

* update
2019-12-11 17:39:47 +08:00
pandamicro 6a6dfa43c9 Update engine version (#5867) 2019-12-09 11:31:22 +08:00
ChiaNing 095e115413 rollup build update (#5864) 2019-12-07 17:12:50 +08:00
Yun Hsiao Wu f47cea1422 better playground framework (#5805)
* better playground framework

* remove redundant memops

* minor

* linter

* restore memops
2019-11-29 13:26:34 +08:00
jiaxin.lai f30a4b7b2d update @cocos/cannon to 1.0.2 (#5621)
- fix trigger exit overlap tick may not execute
2019-10-25 16:27:13 +08:00
jiaxin.lai 44e6915279 update cannon.js source to @cocos/cannon (#5573) 2019-10-21 16:37:00 +08:00
jiaxin.lai 3e28aeb310 - update cannon version to cc1.0.2 (#5545)
- emit events after transform sync in cannon physics
2019-10-21 12:00:45 +08:00
Lelie Leight (李的序) 80f8be21f7 Bump package gift (#5544) 2019-10-15 16:07:19 +08:00
Lelie Leight (李的序) a722483d2d fix typing errors (#5538)
* fix typing errors

* disable eslint rule: prefer-readonly
2019-10-14 22:58:15 +08:00
jiaxin.lai 851b52a8f7 - update cannon.js to cc1.0.1 (#5417)
- fix typing
- fix bug of collision event
2019-09-19 17:58:19 +08:00
Lelie Leight (李的序) 435543930f scripting-2 (#5335)
* scripting-2
support build as various module formats
fix

* Update build-engine.ts
2019-09-06 14:49:23 +08:00
jiaxin.lai 4244378d5d remove @types/cannon from package.json (#5279) 2019-08-29 06:12:00 -05:00
Leslie Leigh 397168d122 update gen decls (#5166) 2019-08-16 00:34:25 -05:00
ChiaNing e5b875da28 build-api-default delete (#5107) 2019-08-06 18:39:38 +08:00
ChiaNing fa46670fda typedoc plugin update (#5095) 2019-08-05 19:07:38 +08:00
Yun Hsiao Wu c100ad41e9 fix node dirty bit (#5083) 2019-08-05 14:52:16 +08:00
Leslie Leigh b0df97b04c use ESLint + @typescript-eslint instead of deprecated TSLint (#4976) 2019-07-26 10:12:57 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
Leslie Leigh c17f28201d module division 2 (#4907)
* module division

* update

* update

* small fix

* allow co-existing of physics modules

* update

* upgrade rollup-plugin-node-resolve

* refine build engine cli

* fix

* upgrade rollup plugin commonjs

* fix

* mark physics module as required
2019-07-19 16:12:45 +08:00
Weiliang Wang db12f03059 Revert "module division (#4897)" (#4906)
This reverts commit 78247a0d2f.
2019-07-18 10:45:44 +08:00
Leslie Leigh 78247a0d2f module division (#4897)
* module division

* add animation component

* fetch changes

* dev

* typo
2019-07-18 09:27:02 +08:00
jiaxin.lai fc178a2fdd Add cc tween (#4847)
* add tween.js

* add CCTween
2019-07-10 09:52:38 +08:00
Leslie Leigh 9a958514a0 manually sync 3d-v1.0.0 from 3d (#4817) 2019-07-04 16:06:43 +08:00
Leslie Leigh a3ce76271f update tfig (#4785) 2019-07-02 11:17:56 +08:00
Leslie Leigh 4b802a9273 sync ccclass from creator v2.2.0 (#4719)
* sync ccclass from creator v2.2.0

* ccclass fixes
2019-07-01 14:54:15 +08:00
JoneLau 2b56b8c37b adjust core to avoid babel packing errors (#4731) 2019-06-27 17:56:54 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
Leslie Leigh a5955b1c70 update tfig (#4702) 2019-06-25 17:25:58 +08:00
jiaxin.lai cb2786a789 Physics enegine event refactor (#4675)
* update cannon.js & cannon.js declaration

* plugin cannon.js collsion event & provide contacts(testing for now)

* wrap cannon body impl

* add linear\angular factor to rigidbody component

* add awake sleepy sleeping state query get property

* add apply local force/impulse function to rigidbody component

* add builtin macro protection

* add linear/angular veloctiy function to rigidbody component

* delete some unneed code, enable allowSleep by default

* event refactor, trigger emit by shape, collision emit by rigidBody

* Builtin system also need 'beforeStep'
2019-06-24 18:32:00 +08:00
ChiaNing 8eb45b5819 typedoc-plugin update (#4662) 2019-06-20 16:18:39 +08:00
Leslie Leigh c8aa3e560c rename EventType to SystemEventType; optimize EventListener's method … (#4496)
* rename EventType to SystemEventType; optimize EventListener's method declarations in derived class

* fix

* line break

* line

* update tfig
2019-05-24 16:56:40 +08:00
Leslie Leigh 3b887c202f remove unused setter (#4471)
* remove unused setter

* fix import

* update tfig
2019-05-22 13:32:51 +08:00
Yun Hsiao Wu 2985392d34 fix pass (#4435) 2019-05-16 17:44:25 +08:00
gameu3d 6447713586 export macro (#4429)
* export macro

* upgrade tfig version
2019-05-16 11:35:23 +08:00
Arsen Huang d7b678f777 增加生成 d.ts 到 declarations 目录 (#4398) 2019-05-09 18:09:13 +08:00
Leslie Leigh 594f151f16 export animation, update gift (#4379) 2019-05-07 14:12:43 +08:00
Leslie Leigh 91be7ed497 .d.ts bundle (#4376) 2019-05-06 14:48:12 +08:00
JoneLau cbeec544be adjust code and fix error in document creation (#4368) 2019-05-06 12:59:11 +08:00
ColinCollins 1ea12992e4 adjust 3d-api-docs generate function name and content (#4360) 2019-05-05 09:59:45 +08:00
ColinCollins 4927584e45 fixed catch grammar error and increase a default build command (#4333) 2019-04-28 17:44:44 +08:00
ColinCollins a2d9dbff38 3d-docs building workflow (#4300) 2019-04-26 14:17:26 +08:00
Leslie Leigh 91572a616c fix typing problems (#4275) 2019-04-23 16:29:40 +08:00
Yun Hsiao Wu 2e27981e35 misc fix (#4269) 2019-04-22 14:51:07 +08:00
ColinCollins 78e9a3d13f create the docs-3d build workflow (#4232) 2019-04-17 19:29:38 +08:00
Leslie Leigh 086aab4614 use build engine cli instead of config.js (#4230) 2019-04-17 14:48:15 +08:00