Commit Graph

46 Commits

Author SHA1 Message Date
Yun Hsiao Wu ff19a901c1 refine details (#5164)
* effect adapt

* restore tslint

* refine math constants
2019-08-15 21:52:32 -05:00
Leslie Leigh 669f89fc9b ignore non-existed module (#5141)
* ignore non-existed  module

* fix
2019-08-09 19:10:53 +08:00
Leslie Leigh 78a0f43181 fix md (#5136)
* fix md

* update
2019-08-09 15:06:00 +08:00
Leslie Leigh b3733bf1c8 md 2.1 (#5122)
* md 2.1

* update
2019-08-09 00:58:00 -05:00
Yun Hsiao Wu 5f651dad6f fix circular ref (#5131)
* fix circular ref

* remove tslint usage
2019-08-08 21:25:54 -05:00
jiaxin.lai 63cc9a78ba refactoring_deprecated (#5039) 2019-08-01 15:03:03 +08:00
jiaxin.lai 0c02eaa69c add latest module && add deprecated framework (#5005) 2019-07-30 10:16:41 +08:00
Arsen Huang 375d7348cb 修复 ts 编译 Object.values 报错 (#5002) 2019-07-29 17:21:18 +08:00
jiaxin.lai 5e2deb2a38 add phyiscs framework module, it need run npm build-rollup cmd in engine repo (#4983) 2019-07-26 11:13:50 +08:00
Leslie Leigh e30883f5ed disallow specify physics module explicitly (#4937)
* disallow specify physics module explicitly

* update

* disable webgl2 if no gfx-webgl2 is found
2019-07-22 18:13:57 +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 39f8b00e21 fix build-engine error (#4822) 2019-07-05 13:01:24 +08:00
Leslie Leigh 9a958514a0 manually sync 3d-v1.0.0 from 3d (#4817) 2019-07-04 16:06:43 +08:00
Yanna 51f51a2e1f build engine (#4802) 2019-07-03 15:49:06 +08:00
jiaxin.lai 94ac0b3bd3 fix build engine args of physics type (#4720) 2019-06-26 16:51:09 +08:00
Leslie Leigh fac20f8df1 bug fix; typing loadres (#4664) 2019-06-21 09:35:20 +08:00
jiaxin.lai 16beedd53e Add physics macros when build engine (#4617) 2019-06-14 09:24:50 +08:00
Leslie Leigh 292584e557 build engine source map (#4615) 2019-06-13 17:10:44 +08:00
Leslie Leigh f79fd3429b optimize for-op compiler (#4596) 2019-06-12 12:29:50 +08:00
Leslie Leigh af95f05f31 support all ValueType lerp; fix errors (#4565) 2019-06-10 12:57:06 +08:00
Leslie Leigh 3ce0c49632 fix build error; re-create animation states when clips are reset (#4374)
* fix build error

* re-create animation states when clips are reset
2019-05-06 13:05:03 +08:00
Knox 0edd4411f4 improve exclude module code (#4353) 2019-05-05 09:59:20 +08:00
Knox e9aa6a95c2 add rollup exclude (#4259)
* add rollup exclude

* refine modules.json
2019-04-19 15:26:33 +08:00
Leslie Leigh 086aab4614 use build engine cli instead of config.js (#4230) 2019-04-17 14:48:15 +08:00
jiaxin.lai 9562e4ae01 add uglify workflow in build engine, modify uglify parameter (#4174) 2019-04-09 17:35:49 +08:00
jiaxin.lai ddc4189ded Fix wechat game (#4155)
* Remove the extra addon

* Fix some errors when publishing WeChat games

* fix image asset nativeData property call error
2019-04-08 14:34:52 +08:00
Leslie Leigh d7aaaa7397 remove webgl-debug (#4083) 2019-03-22 10:44:47 +08:00
Yun Hsiao Wu 23573ad407 performance improves 2019-02-18 15:30:30 +08:00
Leslie bb64cba835 change root index.js to index.ts, add some physics api, transform plane to ts 2019-02-14 18:40:39 +08:00
Leslie b9c93ccf64 fix webgl-debug 2019-01-24 17:06:45 +08:00
Leslie Leigh 855738d49b Rollup build (#3735)
* rollup-build

rename to ts

* add build-engine-cli

* rename rollup result, because cc can be conflict

* tsc not found
2019-01-10 22:27:43 +08:00
Leslie Leigh 3ed9edfbc6 phy framework (#3644)
* phy framework

* phy mat

* framework/index.ts

* a node can have more than one collider

* rename physical to physics

* fix

* fix

* support mix ts js

* fix

* fix problems in issue

* fix

* remove RigidBodyType, add DataFlow

* useGravity, freezeRotation, isKinematic

* raycasts

* fit buildin-world raycast options

* add contact material

* lint

* add rigid-body-component.ts

* some improvements

* improvements

* fix bug
2018-12-27 12:03:10 +08:00
Yun Hsiao Wu 1850cabe7b Effect Improvements (#3599)
* default material

* remove effects

* better builtin effects

* builtin primitives

* fix material

* builtin uniforms

* fix percision
2018-12-07 14:38:53 +08:00
Yun Hsiao Wu 58e59701ba Unified effect/shader assets (#3559)
* modify render piplien p1

* new effect format

* minor refactor

* mod render pipelien p1

* process queues and stages offline

* choose tech on load

* fix second pass

* modify render pipeline p2

* minor

* stage item default

* support render queue below opaque constant

* fix shadow stage in new render pipeline

* unified shader assets

* unified shader assets: parser

* add technique lod

* unified shader assets: pipeline

* fix some defect

* fix some defect

* fix effect asset cid

* game init

* minor fix
2018-12-03 13:59:36 +08:00
Yun Hsiao Wu 4644779ad7 new shader format (#3505)
* new shader format

* neW effect file extension
2018-11-21 10:47:56 +08:00
Yun Hsiao Wu da885ac40a effect improvements (#3480)
* effect (de)serialization

* more GL params to configure in effect

* uniform tags

* material (de)serialization

* switch to json solution

* effect: pass default value to editor too

* minor fix

* use default (de)serialization procedure

* async builtin init only
2018-11-13 15:12:02 +08:00
Yun Hsiao Wu e540797785 new adaptations for gizmos (#3438)
* gizmos adapt

* working texture cube

* misc fixes

* gizmo lighting
2018-10-31 11:54:58 +08:00
Yun Hsiao Wu 4d99992908 new material json format (#3422)
* auto-generate shader infos

* remove define jsons

* program-lib

* new effect format

* first working version

* structure adjust, enable type dependency extraction
2018-10-26 11:47:06 +08:00
Yun Hsiao Wu 8dda58f16b fix shader & effect build (#3352)
* restore effect

* minor fix

* fix shader & effect build
2018-10-09 11:57:22 +08:00
pandamicro 6282af03ba Fix editor running issues (#3286) 2018-09-20 11:44:57 +08:00
Huabing.Xu 164221b5a5 Renderer (#3278)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors
2018-09-19 15:21:06 +08:00
pandamicro 6b1e031dfb ES6 modulize assets (#3221)
* use babel instead of buble

* ES6 modulize assets
2018-09-09 23:49:25 +08:00
pandamicro 11f876f72e Add rollup config and tested commonjs module import (#3220)
* Add basic rollup environment configs

* Fix issues for rollup build

* Import commonjs module, test with assets
2018-09-09 11:32:11 +08:00