Commit Graph

45 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) db885e32d1 Warn if morph target count is overflow (#6622) 2020-04-28 14:48:01 +08:00
jiaxin.lai aa0eb1bdaf cylinder collider (#6416)
* stash

* stash

* stash

* stash

* fix z direction

* impl cannon cylinder

* stash

* stash

* stash

* fix memory leak

* update @cocos/ammo

* add error map

* update package-lock

* tweaks
2020-03-25 18:35:27 +08:00
Leslie Leigh (李的序) ebf45b15ae Bump eslint; Optimize an error string; Add assert functions (#6398)
* Bump eslint; Optimize an error string; Add assert functions

* Add comment

* Add license
2020-03-23 19:08:16 +08:00
ChiaNing 644218fd09 Sprite Frame change (#6336)
* sprite-frame change

* spriteframe update

* set texture fix

* can render fix

* spriteframe textureLoaded fix

* update

* update

* texture loaded update

* refresh texture add

* format fix
2020-03-20 19:37:50 +08:00
jiaxin.lai a4af34630f integrate trimesh shape of ammo & cannon (#6232)
* stash

* cannon impl

* ammo mesh collider

* finish ammo mesh collider

* cannon trimesh shape

* tweaks

* tweaks

* tweaks

* update @cocos/ammo &  @cocos/cannon

* fix ci

* naming norm

* use config object

* renaming

* naming norm

* naming norm

* tweaks

* stash

* stash

* stash

* add error map

* export impl

* update package-lock

* export impl of world

* tweaks
2020-03-15 19:41:16 +08:00
Leslie Leigh (李的序) c394f27923 Fix compatibility with old-school cc.Class() (#5936) 2019-12-20 15:01:59 +08:00
Yun Hsiao Wu 10c49e68f6 [chore] misc opts (#5898)
* pipeline linter fix

* instance support

* reuse render obejcts

* fix ci

* fix model ID
2019-12-18 14:35:34 +08:00
Lelie Leight (李的序) ce99665e6e Convert vertex index to short if platform does not support int (#5837)
* Convert vertex index to short if platform does not support int

* Circular reference
2019-12-04 17:21:13 +08:00
JoneLau b92d852e73 fix buffer overflow in ui static component (#5775) 2019-11-29 13:46:47 +08:00
JoneLau e4f0efd2cc remove uicomponent's priority to uitransform and canvas sort in event (#5762) 2019-11-26 10:02:01 +08:00
Lelie Leight (李的序) d446a357ce Warn on explicit undefined type (#5770) 2019-11-23 18:17:45 +08:00
Lelie Leight (李的序) ef1b6582ef standalone decorators (#5640) 2019-10-30 17:41:30 +08:00
pandamicro 0e9567b5e3 Forbidden adding component to scene (#5622)
* Fix typo in event listener

* Fix Scheduler.schedule parameter issue

* Move event processing from Node to BaseNode

* Scene inherit from BaseNode instead of Node

* Forbidden adding component to scene
2019-10-25 19:02:42 +08:00
Lelie Leight (李的序) 1e62004e12 add extendsEnum() to support extending of enumerations (#5454)
typo


update


update
Update button-component.ts
Update toggle-component.ts
Update toggle-component.ts
Update toggle-component.ts
Update button-component.ts
Update toggle-component.ts
Update button-component.ts
2019-10-17 09:57:17 +08:00
pandamicro 224cea23ab Improve error maps (#5527)
# Conflicts:
#	cocos/core/platform/debug.ts
2019-10-12 14:29:48 +08:00
Santy-Wang d9c903de5b adjust warning information about load resouces 2019-09-26 14:18:05 +08:00
Yun Hsiao Wu a7fa5916f9 effect: indirect property (#5449)
* better texture size check

* effect: indirect property

* change to error ID
2019-09-24 11:22:24 +08:00
ChiaNing 3af7e4d9ce fix widget target haven't UITransformComponent error (#5427) 2019-09-19 19:35:52 +08:00
Lelie Leight (李的序) fb77e09720 export what should be exported (#5346)
* export what should be exported

* fix

* fix
2019-09-06 15:13:45 +08:00
pandamicro 9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00
pandamicro 8367e8b036 Fix EventManager listener order issue (#5127)
* Remove useless base node apis to reduce properties

* Add BaseNode _siblingIndex to avoid indexOf check

* Fix EventManager listener order issue

* Fix  ci

* Fix node removal issue

* Fix siblingIndex for deserialized node
2019-08-09 16:58:45 +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
Yun Hsiao Wu af2789ffd9 pass 2019-01-02 18:19:17 +08:00
Yun Hsiao Wu 367ae4ad3c render to texture (#3662) 2018-12-21 14:16:24 +08:00
Leslie Leigh 4da594d906 impl texture2d using imageasset (#3488)
* impl texture2d using imageasset

* texture-cube

* fix issue comment

* remove initWithElement and initWithData; fix issue comment

* define TextureUpdateOpts in gfx/texture-2d.js

* optimize some `new ImageAsset`; optimize image-asset; add updateMipmaps() to Texture2D

* use onLoaded, remove hack
2018-11-14 22:29:37 +08:00
pandamicro e77527763f Support loading ttf with loader, adapt Label & RichText (#3170)
* Make ttf font occupied by loader

* Remove font downloader

* Add font loader

* Support loading ttf with loader, adapt Label & RichText

* Fix log functions before resetDebugSetting

* fix loader unit test

* Fix load font with md5 cache

* Fix Label & RichText lazy loading
2018-08-31 13:29:40 +08:00
Jare Guo 07ec50ebab Merge pull request #3161 from cocos-creator/v1.10-release
sync branch
2018-08-29 19:56:18 +08:00
ColinCollins bd6cceaf6b remove the emoji (#3148) 2018-08-28 10:18:04 +08:00
pandamicro 1ec38cc239 Fix beta user reported issues (#3004)
* Fix doc, error & cleanup code

* Fix render component nested in mask issue

* Fix multiple spine textures rendering issue

* Box2d stability

* Upgrade renderer.js to 1.8.6

* Avoid particle default values override custom issue

* Fix ParticleSystem restore issue in editor

* Fix enumerate scene.active issue

* Fix error map with new ids
2018-07-23 17:25:54 +08:00
pandamicro efaf0c5d4d Merge remote-tracking branch 'fireball/master' into next 2018-05-24 19:04:55 +08:00
pandamicro 45cf7dc1e1 Fix issues of animation state and private node (#2717)
* Fix private node position update issue

* Fix animation state event API issues

* Remove useless constant

* Improve PrivateNode doc and fix its zIndex
2018-05-23 09:56:36 +08:00
knox e98d176f36 refine EngineErrorMap.md 2018-05-09 11:51:19 +08:00
knox 3419688d1d fix ParticleSystem and update EngineErrorMap 2018-05-09 11:27:43 +08:00
pandamicro e597e34f4f Remove __instanceId from Node and Component (#2627)
* Add Scheduler.enableForTarget and change to use  _id

* Use _id instead of __instanceId in Texture2D

* Fix ParticleSystem __instanceId usage

* Use _id instead of __instanceId in ActionManager

* Fix usage of Scheduler in InputManager

* Use _id instead of __instanceId in EventManager

* Totally remove ClassManager and __instanceId

* Fix initialization process

* Fix touch & mouse listener off check issue

* Fix id not generated issue

* Fix touch & mouse listener being removed by rejected persist node

* Improve logic
2018-05-04 13:51:21 +08:00
pandamicro e4bdd1edc3 Merge remote-tracking branch 'fireball/master' into next 2018-05-02 16:16:33 +08:00
PP b08233c801 TiledMapAsset: reimplement RawAsset to Asset (#2575)
* TiledMapAsset: reimplement RawAsset to Asset

* deprecated errorID 7220

* push sourceTSX to tsxFileNames

commit2

* remove Path.normalize()

* tiledmap: change arg tsxMap


commit
2018-04-26 21:50:04 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
Jare Guo c2368128aa minor update 2018-04-13 23:10:42 +08:00
Jare Guo 39fb31c24d not support loading sprite frame in atlas via loadRes 2018-04-11 23:26:30 +08:00
PP a733e7c10c add error id 2018-04-11 15:05:50 +08:00
PP f594daeeb1 reimplement debugInfos workflow
debugInfos


debuginfos


README updated


debugInfos workflow


reimplement debugInfos workflow
2018-03-26 17:11:53 +08:00
pandamicro b29a92f7e4 Fix docs 2017-07-07 11:54:53 +08:00
zilongshanren b7da540af7 remove warning msg from md 2017-05-11 17:17:47 +08:00
Jare Guo 4351f7c82c add progress callback for loadRes 2017-01-13 15:56:58 +08:00
Nan Wang 4dea8e7a8a move all error logs to DebugInfos.js and only show error id in release build 2016-12-15 17:07:01 +08:00