Commit Graph

49 Commits

Author SHA1 Message Date
ChiaNing c31e03e599 divide fix & API add (#5082) 2019-08-05 13:30:37 +08:00
Weiliang Wang d9fba5fb8a remove divideScalar() (#5080)
* remove divideScalar()
2019-08-05 10:00:11 +08:00
ChiaNing 9da70cce0b math function add (#5076)
* math function add

* rebase
2019-08-05 09:44:25 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +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
ChiaNing 634aefb50f EventManger update (#4919) 2019-07-20 11:23:11 +08:00
pandamicro e66f54cfd1 ValueTypes: remove out parameter for class functions (#4799) 2019-07-03 11:27:54 +08:00
pandamicro ec9e639293 Refactor valuetypes (#4798)
* Some value-types change

* value-type change

* Refactor valuetypes
2019-07-03 09:31:43 +08:00
pandamicro 2c5dfc03ca Remove 2d legacy (#4796)
* Remove 2d codes

* Remove CCCamera
2019-07-02 19:10:07 +08:00
JoneLau 261f6a15c4 remove eventlistener in node being destroyed (#4752) 2019-07-01 09:36:38 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00
gameu3d 2a594855ae 3d system events declaration (#4633)
* add mouse event

* add touch events declaration
2019-06-17 10:01:45 +08:00
ChiaNing 6ee7107a32 Format adjustment for api doc (#4625) 2019-06-14 14:43:21 +08:00
JoneLau 4767be9e82 add ui api (#4567) 2019-06-06 19:25:28 +08:00
jiaxin.lai 6928a417ed Fix function signature of SystemEvent class (#4563) 2019-06-06 19:15:08 +08:00
Santy-Wang b10ef766b5 adjust deferred loading (#4521)
* remove deferred loading

refine

support deferred loading

adjust deferred loading

refine

* adjust syntax of export

use built-in image to initialize

refine
2019-05-30 16:00:17 +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
pandamicro c02cca1ef4 Fix event issues (#4483) 2019-05-22 22:54:48 +08:00
gameu3d 6447713586 export macro (#4429)
* export macro

* upgrade tfig version
2019-05-16 11:35:23 +08:00
gameu3d f7db3108ab 1.fix systemEvent bug and export systemEvent (#4423)
2.fix import problem in ts
2019-05-15 19:07:34 +08:00
JoneLau 1095bbeac1 reject ui module (#4354)
* reject ui module

* replenish
2019-05-05 09:58:27 +08:00
JoneLau 965be04e6f add DebugCanvasComponent for profiler (#4283)
because canvascomponent will set designResolution
2019-04-24 10:49:44 +08:00
JoneLau 40d4077dd5 event object reuse (#4272) 2019-04-22 20:04:56 +08:00
pandamicro 04cb8bfd66 Support PointLock on desktop mouse event (#4273) 2019-04-22 19:10:08 +08:00
jiaxin.lai 3166dbdba3 fix touch event on weixin platform (#4179) 2019-04-10 15:41:07 +08:00
pandamicro 8e3024927b Force emit all touch events for system event listeners (#4140) 2019-04-04 00:09:13 +08:00
JoneLau 4edd2a6ead implementing mask with graphics(#4138) (#4138)
exclude image_stencil
2019-04-03 18:24:13 +08:00
pandamicro f88af10abd Fix touch move and end not responding (#4137) 2019-04-03 17:28:52 +08:00
JoneLau 6c52969826 fix global event and other bug (#4032)
* components such as event-target to ts

* divide CCEvent and CCTouch into game coordinates and ui coordinate mod

* repair editor environment where mask does not take effect bug

* fix render component blendState modification does not take effect bug

* fix bug

* fix ts tip
2019-03-14 11:36:43 +08:00
Leslie Leigh 8b62cab289 Support generate .d.ts (#4024)
* Support generate .d.ts

* change tsc error to console.error

* Remove ch comment

* js to ts
2019-03-13 18:25:20 +08:00
Leslie Leigh e03c1c8586 Support non-printable key (#3980) 2019-03-07 17:08:18 +08:00
JoneLau ed93473d67 fix error (#3969)
* fix error

* repair overridePipelineState bug per Fram
2019-03-06 09:15:22 +08:00
Leslie 16a74d471f fix multi-vertex-buffers mesh bug; remove _cc, use cc.internal instead; fix wireframed() function; fix component's onDisable bug. 2019-02-18 18:20:01 +08:00
Jone 93f7d67767 add node event 2019-01-28 17:14:23 +08:00
Leslie 3af729681b fix eventlistener this undefined 2019-01-21 17:05:57 +08:00
Leslie 0a7e293c5e udpate events related file 2019-01-18 16:05:08 +08:00
Jone c39a390590 commit ui 2019-01-17 15:29:10 +08:00
Yun Hsiao Wu 4dd415342b node, light, texture-cube (#3460)
* node, light, texture-cube

* skybox

* flipY issue

* mouse data when locked

* fix init info
2018-11-05 18:51:22 +08:00
Huabing.Xu f02e0a6f05 fix cctouch error 2018-09-20 16:30:25 +08:00
pandamicro 6282af03ba Fix editor running issues (#3286) 2018-09-20 11:44:57 +08:00
Huabing.Xu b717d9148f Renderer (#3282)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors

* renderer can clear now
2018-09-19 19:24:16 +08:00
pandamicro 7cdbfaf5f8 Fix build issues 2018-09-19 10:20:46 +08:00
pandamicro b90fbe9233 ES6 modulize load-pipeline (#3226)
* Fix super calls

* Improve Asset name access

* ES6 modulize load-pipeline
2018-09-10 19:29:20 +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
pandamicro cf812b0a6b ES6 modulize core/platform (#3216)
* ES6 modulize core/platform

* Fix some syntax issues
2018-09-07 17:19:41 +08:00
pandamicro 3dc82886dc ES6 modulize core/event (#3206)
* Move vmath to core

* ES6 modulize core/event
2018-09-06 15:07:49 +08:00
pandamicro 6285147014 Reorganize modules 2018-08-30 23:10:27 +08:00