Commit Graph

368 Commits

Author SHA1 Message Date
SijieWang 4d0c9c0249 Replace methods that cannot be used (#6743) 2020-05-27 17:35:34 +08:00
Leslie Leigh (李的序) 5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
SijieWang b215a60e3e Delete some of the Editor references (#5345)
* Delete some of the Editor references

* review code

* test case
2019-09-09 09:58:31 +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
Yun Hsiao Wu ff19a901c1 refine details (#5164)
* effect adapt

* restore tslint

* refine math constants
2019-08-15 21:52:32 -05:00
Yun Hsiao Wu 5f651dad6f fix circular ref (#5131)
* fix circular ref

* remove tslint usage
2019-08-08 21:25:54 -05:00
ChiaNing c855545cf3 BaseNode cleanup remove (#5011)
* BaseNode cleanup remove

* BaseNode cleanup remove
2019-07-30 15:51:07 +08:00
pandamicro 2c5dfc03ca Remove 2d legacy (#4796)
* Remove 2d codes

* Remove CCCamera
2019-07-02 19:10:07 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
Yun Hsiao Wu ab20e4fe2b vmath docs (#4620)
* mat4 vec4

* minor

* vec3, mat3, quat

* color4, vec2
2019-06-14 11:25:48 +08:00
Leslie Leigh 1c967ed52f modify CCNodePool, change rigidbodycomponent implement (#3979) 2019-03-07 15:19:57 +08:00
Yun Hsiao Wu e130583211 node pool (#3976) 2019-03-07 12:47:44 +08:00
Knox 747b74ae0f fix spine display bug in mask (#3223)
* fix spine display bug in mask

* refine code

* refine code
2018-09-10 17:19:26 +08:00
ColinCollins 1d8f3bb5f9 remove cc.info (#3128) 2018-08-21 19:29:48 +08:00
pandamicro ffc98f9fb2 Fix spine debug draw not showing in release (#3118) 2018-08-20 16:00:32 +08:00
pandamicro 328ca0fea7 Support skeleton debug draw in release mode (#3099) 2018-08-16 14:13:38 +08:00
pandamicro 2a43707cae Upgrade Mask with new graphics implementation (#3096) 2018-08-16 00:52:47 +08:00
pandamicro 411e52b580 Fix user reported issues (#3081)
* Upgrade render engine to fix some issues

* preserve drawing buffer in qqplay

* Fix label issue when using system font and fontFamily is not set

* Secure Editbox _impl access

* Fix Joint.getReactionForce

* Remove cc.director.getProjection usage

* Fix particle system color type issue in editor

* Apply Skeleton frame when changing animation in editor

* Fix docs, improve deprecation
2018-08-14 10:25:21 +08:00
yinkaile e1b213592f improve graphics (#3060)
* improve graphics

* fixed spine debug draw

* refine graphics
2018-08-10 19:08:06 +08:00
pandamicro 82ce09cf67 Fix spine issues for v2.0 (#3058)
* Fix Texture2D API deprecation message

* Fixed spine render data being overwritten issue

* Fix Skeleton update modify node status during rendering

* Fix spine setMix usage
2018-08-09 00:28:51 +08:00
pandamicro c02cfd206c Remove deprecated setAnimationListener in spine 2018-08-02 13:40:01 +08:00
pandamicro f41979ac69 Issue fixes (#3038)
* Secure PrivateNode _updateLocalMatrix

* Fix Label not responding to node size change issue

* Fix spine skeleton API usage issue

* Support lazy load texture for bmfont
2018-07-31 20:31:19 +08:00
pandamicro 985479e766 Fix user reported issues in spine & editbox (#3019)
* Fix spine null material issue caused by empty frame

* Secure label access in Editbox
2018-07-26 20:23:19 +08:00
yinkaile 5fcc88ada2 fixed change armatureName has no effect (#3006) 2018-07-24 21:51:12 +08:00
pandamicro c4593dd23b Fix beta user reported issues in Label & Spine (#3008)
* Fix label dark border issue

* Secure Skeleton listener setting
2018-07-24 09:47:13 +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
yinkaile edf97a422d fixed mesh buffer usage (#2996) 2018-07-19 11:13:27 +08:00
pandamicro 1102e50750 Fix user reported issues (#2995)
* Cleanup code & fix api doc

* Fix plist parser require issue

* Fix spine null material issue

* Fix Sprite null material issue

* Fix uninit editbox updateString issue
2018-07-19 00:01:20 +08:00
pandamicro eeac56e7cc Merge pull request #2989 from cocos-creator/next
Merge next to v2.0 release
2018-07-17 16:52:06 +08:00
pandamicro 4180152cdf Fix beta users reported issues (#2979)
* Fix node API docs

* Fix debug panel appear in release mode issue

* Do not alert rotation inconsistency, avoid alert in 3d

* Fix skew not updated issue

* Fix EventTarget not inited in SpriteFrame

* Added Animation.EventType

* Add getQuat & setQuat for 3d node

* do not alert normalize zero vector

* Fix spine assembler rendering issue

* Improve node hitTest & fix mask hitTest

* Add missing Node.once implementation

* Fix EventTarget.once callback parameters

* Improve event API docs

* Fix return type should be vec2 instead of simple object

* Improve showFPS parse
2018-07-16 11:26:17 +08:00
pandamicro 88e58d39b7 Add forceCanvas build option, rearrange modules for canvas renderer (#2969)
* Remove useless requires

* Build engine support forceCanvas to use canvas version render engine

* Rearrange modules, separate webgl & canvas renderer

* Do not create material in canvas

* Cleanup canvas renderers

* Improve modules.json

* Fix unit test

* Fix wechat sub domain build issues

* Make Camera working for canvas render mode

* Fix canvas renderer issues

* Reenable camera in Canvas

* Fix label colorizing issue
2018-07-13 14:13:48 +08:00
pandamicro f1cc4bd5aa Merge remote-tracking branch 'fireball/master' into next 2018-07-02 10:27:46 +08:00
pandamicro c7603a1c63 Refactor engine & game scripts loading process (#2922)
* Remove cc.game.CONFIG_KEY

* Remove cc.game.CONFIG_KEY

* Refactor engine and game scripts loading process

- Make cc.view & cc.director ready when engine loaded
- Load game script before renderer initialize
- Emit EVENT_ENGINE_INITED instead of EVENT_RENDERER_INITED

* Remove cc.macro. ENABLE_GC_FOR_NATIVE_OBJECTS

* Remove cc.loader.resPath usage in VideoPlayerImpl

* deprecated cc.director.getWinSize

* Improve game doc
2018-06-29 16:37:06 +08:00
Knox a4eb3ba811 fix dragonBones parseDragonBonesData bug in jsb (#2892)
* fix dragonBones parseDragonBonesData bug in jsb

* refine code
2018-06-26 16:42:39 +08:00
pandamicro 3e4171ef63 Fix components undo issue in editor (#2871) 2018-06-19 11:29:20 +08:00
pandamicro 03e2af76a5 Merge remote-tracking branch 'fireball/master' into merge 2018-06-15 18:37:33 +08:00
pandamicro 2a3a75e7fb Fix unit test and circle ci (#2858)
* fix test-animation bug (#2787)

* fix unit test (#2840)

* Improve Sprite & SpriteFrame impl

* Add Sprite inset function deprecation

* Fix unit tests

* fixed the circleci failed test but still pass the commit problem (#2814)

* CircleCI test failed but build successfully problem fixed (#2816)

* Fix Skeleton require

* Another Skeleton mistyping

* Fix phantom environment issues
2018-06-14 14:32:23 +08:00
yinkaile e95575c481 move blend factor to CCRenderComponent (#2854)
* move blend factor to CCRenderComponent

* refine code
2018-06-13 16:17:00 +08:00
Jare Guo 67d46d8b69 remove all export method of metas (#2851) 2018-06-12 12:42:45 +08:00
yinkaile cd0178cbaa fixed dragonbones color (#2842)
* fixed dragonbones color

* refine code

* refine code
2018-06-11 18:14:24 +08:00
pandamicro d90d1b8a7e Remove unsupported es6 syntax (#2811) 2018-06-06 15:30:41 +08:00
yinkaile d8ff99eb53 fixed render issues (#2798) 2018-06-04 18:17:58 +08:00
feijing566 bf06617b85 remove log (#2784) 2018-05-31 17:22:13 +08:00
yinkaile 74f1d560d9 fixed error when switch scene in editor (#2758)
* fixed error when switch scene in editor

* refine comment
2018-05-30 10:00:49 +08:00
pandamicro 8aea3b8be6 Small fixes for ParticleSystem reimplementation (#2729)
* Refactor vfmtPosColorUv to vfmtPosUvColor

* Fix Node getNodeToWorldTransform

* Reset quad buffer during walker reset

* Fix affine transform api doc

* Remove useless uintbuf
2018-05-24 15:57:43 +08:00
PP 820f22f32d load spine url with hashValue (#2711) 2018-05-23 11:51:07 +08:00
yinkaile bd2dd76826 move webgl stuff into webgl folder (#2690) 2018-05-16 10:44:33 +08:00
Knox 8ba1cd29db fix spine debugBones and debugSlots bug for fireball/issues/7286 (#2680)
* fix spine debugBones and debugSlots bug for fireball/issues/7286

* improve graphics color setting
2018-05-15 12:05:43 +08:00
pandamicro 314b0b55c0 Issue fixes for 2.0 (#2656)
* Generate component _id with uuid in editor

* Fix issues
2018-05-09 18:10:04 +08:00
yinkaile e4325577ad Next vertex format (#2645)
* restructure vertex format

* update render-engine.js

* refine vertex format

* refine sprite vertex property name
2018-05-08 21:51:27 +08:00