Commit Graph

72 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) be794583bb Optimize build-engine to not generate source map for NPM scripts (#7760)
* Optimize again


@cocos/build-engine@4.0.0-beta.1

* Update lock file

* Fix jail
2020-11-11 19:12:05 +08:00
Leslie Leigh (李的序) a3e1487375 Remove comments even in debug build; Suppress babel compact warnings. (#7755)
@cocos/build-engine@4.0.0-beta.0
2020-11-11 15:22:53 +08:00
cary 9c4bb9fd9d Add default prefab of ParticleSystem2D. (#7687)
* Add default prefab of ParticleSystem2D.

* add module export
2020-11-04 22:13:38 +08:00
Leslie Leigh (李的序) 782b7d2b78 @cocos/build-engine@4.0.0-jsb.alpha.15: Fix bug (#7656) 2020-11-02 12:54:05 +08:00
Leslie Leigh (李的序) 5efb13e8e1 V4.0.0-jsb.alpha.14; Dynamic import support (#7641) 2020-10-30 17:54:54 +08:00
媛媛 5f3ebf344f add native property in division-config.json (#7611)
* add native in engine module config

* update
2020-10-30 13:42:51 +08:00
江战 a933edb94f Merge TiledMap from 2.x (#7610)
* Save all

* fix uv

* fix object groups

* fix tintcolor

* add method modifier

* tslint

* replace ccCOlor

* add import warning

* rename

* add comments

* add comments

* update zlib

* Save

* pixel offset

* update tests/general/sealed-global-variables.json

* exclude from cc

* remove _walkGen

* update setScale & setRotationFromEuler
2020-10-30 10:35:52 +08:00
Jare Guo df5fc6c9a1 fix merge error 2020-10-28 23:51:55 +08:00
Jare Guo b7c56393d5 Merge remote-tracking branch 'fireball/3d' into 3d-v1.2
# Conflicts:
#	EngineErrorMap.md
#	cocos/core/assets/image-asset.ts
#	cocos/core/data/class.ts
#	cocos/core/data/deserialize.ts
#	package.json
2020-10-28 18:37:39 +08:00
Leslie Leigh (李的序) 5c3e8883b5 @cocos/build-engine@4.0.0-jsb.alpha.12: Fix wrong SUPPORT_JIT constant (#7616) 2020-10-28 17:29:19 +08:00
pandamicro 02dbf00bb4 Fix wrong SUPPORT_JIT check (#7614) 2020-10-28 17:12:58 +08:00
Leslie Leigh (李的序) f99240f664 @cocos/build-engine: add option to remove deprecated features (#7603) 2020-10-27 18:28:58 +08:00
Leslie Leigh (李的序) 9b4afb2983 @cocos/build-engine now accepts the loose option (#7601) 2020-10-27 11:10:30 +08:00
Leslie Leigh (李的序) 4262bf097a Bump @cocos/build-engine to 4.0.0-jsb.alpha.9 (#7594) 2020-10-27 09:13:26 +08:00
Leslie Leigh (李的序) 1b31da202f Expose build-time-constants interfaces (#7545) 2020-10-21 11:14:52 +08:00
Jare Guo 54021a9bb0 Update PR 2020-10-19 12:02:48 +08:00
Leslie Leigh (李的序) 82f66b4e54 Add ccconfig.json for module overrides(alpha) (#7508) 2020-10-13 09:54:28 +08:00
yinkaile 96a735b2ff 3d v1.2 physics 2d (#7357)
* Squashed commit of the following:

add physics 2d

* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {

revert box2d version

* add mask param to raycast

* refine code
2020-10-12 11:49:49 +08:00
pandamicro 7481303268 Merge branch '3d-v1.2' into 3d
# Conflicts:
#	cocos/core/3d/framework/camera-component.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/components/component-event-handler.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/pipeline/define.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/instanced-buffer.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/pipeline/shadow/shadow-flow.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/shadows.ts
#	cocos/core/renderer/scene/skybox.ts
#	cocos/core/splash-screen.ts
#	cocos/ui/components/button.ts
#	cocos/ui/components/editbox/edit-box-impl.ts
#	editor/assets/primitives.fbx
#	package-lock.json
#	package.json
2020-09-30 18:01:33 +08:00
Jare Guo e050e668bb move babel-plugin-const-enum to babel-preset-cc 2020-09-29 16:25:39 +08:00
Jare Guo 4e08e87e4d fix ci 2020-09-28 19:00:04 +08:00
Jare Guo 43b565153f remove unneeded rollup plugins 2020-09-28 16:37:24 +08:00
Jare Guo 0b1fa249da bug fixes and sync remain codes
fuck
2020-09-28 16:37:24 +08:00
Jare Guo 6a2cdf7e66 export declarations for editor 2020-09-27 19:25:00 +08:00
Jare Guo 066bcf7bb3 customize rollup compiler to reduce code size 2020-09-27 19:25:00 +08:00
Leslie Leigh (李的序) abf46aaed3 Bump rollup@2.26.6(fixed); bump @cocos/build-engine@3.0.8 (#7382) 2020-09-15 18:11:37 +08:00
Leslie Leigh (李的序) c47a88b18c Bump rollup; @cocos/build-engine 3.0.6 (#7379) 2020-09-15 15:56:01 +08:00
Knox 2d1acb58e9 sync 2d webview (#7318) 2020-09-08 14:19:42 +08:00
pandamicro 1d2a82d957 Merge branch '3d-v1.2' into merge1.2
# Conflicts:
#	cocos/core/3d/framework/mesh-renderer.ts
#	cocos/core/components/ui-base/ui-renderable.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/forward/scene-culling.ts
#	cocos/core/pipeline/render-additive-light-queue.ts
#	cocos/core/pipeline/render-stage.ts
#	cocos/core/pipeline/shadow/shadow-flow.ts
#	cocos/core/renderer/core/memory-pools.ts
#	cocos/core/renderer/scene/camera.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/render-scene.ts
#	cocos/core/root.ts
#	cocos/particle/billboard.ts
#	cocos/terrain/terrain.ts
#	cocos/ui/components/button.ts
#	package-lock.json
#	package.json
#	tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
Knox 3d9cd319ee add video player component (#7226)
* add video player component

* refine code

* refine code

* refine code

* refine code

* refine code

* refine code

* refine code
2020-09-02 15:42:33 +08:00
jiaxin.lai 8ff8363eac Using physics group (#7259)
* using physics group

* tweaks

* rename

* remove time reset

* rename

* change emit events order
2020-09-01 10:20:11 +08:00
Leslie Leigh (李的序) 0c5c52e3be Support tsconfig.compilerOptions.paths (#7234) 2020-08-27 16:31:57 +08:00
Leslie Leigh (李的序) f289fa7a43 Bump tfig^2.0.2 (#7189) 2020-08-20 21:38:04 +08:00
SB 00a5d3a6ca @cocos/build-engine@3.0.4: force to make "cc.wait-for-ammo-instantiation" to be standalone 2020-08-17 19:20:31 +08:00
Leslie Leigh (李的序) 1cdacdee80 @cocos/build-engine 3.0.3(1.2 + ByteDance support) (#7129) 2020-08-13 15:56:14 +08:00
pandamicro 3b66332823 Merge remote-tracking branch 'origin/3d-v1.1.1' into 3d-v1.2
# Conflicts:
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/pipeline/instanced-buffer.ts
#	cocos/core/pipeline/render-instanced-queue.ts
#	cocos/core/platform/event-manager/input-manager.ts
#	cocos/core/platform/view.ts
#	cocos/core/renderer/core/pass.ts
#	cocos/core/renderer/scene/planar-shadows.ts
#	cocos/core/splash-screen-webgl.ts
#	cocos/core/utils/profiler/profiler.ts
#	cocos/particle/renderer/trail.ts
#	cocos/terrain/terrain.ts
#	package-lock.json
#	package.json
#	predefine.ts
#	scripts/build-engine/package-lock.json
#	scripts/build-engine/package.json
#	scripts/build-engine/src/index.ts
2020-08-12 15:53:52 +08:00
Leslie Leigh (李的序) d0c276c941 @cocos/build-engine@3.0.2(bug fix update) (#7087)
* @cocos/build-engine@3.0.2(bug fix update)

* Update
2020-08-07 10:47:42 +08:00
Leslie Leigh (李的序) 419f8c0286 @cocos/build-engine for 1.2 (#6735)
* Build engine V3.0.0

Ammo.js wasm support; Multi-module engine support; Remove physics macros
Lock

* 3.0.1
2020-08-06 10:26:52 +08:00
Leslie Leigh (李的序) 59c46c66af Add platform macro for ByteDance (#6982) 2020-07-15 11:37:47 +08:00
ChiaNing 1c54beb91a sys browser type add (#6939)
* sys browser type add

* change JSB
2020-07-06 11:31:46 +08:00
Leslie Leigh (李的序) 583f1e941e Integrate ammo.js of WebAssembly edition (#6872)
* Ammo initiantiation

* Add to division-config

* Fix

* Fix
2020-06-28 12:20:21 +08:00
Leslie Leigh (李的序) fc07359b46 Add build-engine option "targets" (#6709) 2020-05-25 17:59:27 +08:00
jiaxin.lai e68bee6cc7 en api docs of tween (#6468)
* rebase

* fix comma
2020-04-12 19:59:08 +08:00
Leslie Leigh (李的序) aba3d15953 Reduce @babel/plugin-transform-classses (#6465) 2020-04-01 12:52:39 +08:00
Leslie Leigh (李的序) 744812c4e5 Bump @cocos/build-engine to 2.0.0 (#6444) 2020-03-30 12:22:56 +08:00
Leslie Leigh (李的序) e8cd8ddf4b Bump @cocos/build-engine from 1.0.8 to 1.0.9 to update typescript support (#6397) 2020-03-23 19:08:56 +08:00
Leslie Leigh (李的序) 74e6eb02a2 Bump @babel/preset-env to 7.9.0; Bump @cocos/build-engine from 1.0.7 to 1.0.8 (#6392) 2020-03-23 15:42:58 +08:00
Leslie Leigh (李的序) 284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
jiaxin.lai 87c6b9bda4 Ammo-Wrapper (#5954)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* hiding, wait for 1.0.3

* delete unneed code

* export CANNON

* rebase

* rename stash

* rename I-rigid-body to i-rigid-body

* stash

* stash

* cannon refactor

* cannon wrapper & framework tweaks

* remve unneeded code

* wrap,....hack

* demo impl

* stash

* stash, complete dynamics update

* dynamic update center

* stash, size + center

* tweaks, fix share trigger shape

* tweaks

* stash

* ammo events stash

* tweaks

* stash

* complete ammo events

* tweaks

* stash

* body property, stash

* body , stash...

* tweaks

* tweaks

* tweaks

* ammo tweaks

* stash

* stash

* tweaks

* tweaks

* stash,complete tirgger,body、 ghost etc.

* tweaks

* remove unneeded code

* fix api of angluar velocity

* physic material for single body for now

* ray test stash

* stash

* update ammo version

* impl raycast

* impl group mask

* update ammo version

* update ammo package

* add onDestroy to ammo rigid body

* add protected for temporary

* fix allow sleep

* remove unneed code

* shape tweaks

* stash

* rename spahe to shape

* tweaks

* fix damping

* adapt

* reset state after disable & enable

* export ammo.js

* Revert "cannon wrapper & framework tweaks"

This reverts commit e59ea98c0bd8c23b23e9ee428ddce45d0271f1eb.

* update @cocos/ammo version

* fix applyLocalTorque

* tweaks

* beta version

* fix import i-rigid-body

* delete unused file

* Specification function name
2019-12-25 17:34:12 +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