A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
Commits on master
feat(cocos): a document the creator edited moves from the layer Cocos.Widget to the engine RectAnchors on re-import
aa49500 yhh committed 21 days ago
feat(ui): RectAnchors pins world content to its parent rectangle or the screen in the engine, and the Cocos Widget is a view on it
9b67bcf yhh committed 21 days ago
feat(cocos): a converted project keeps the Cocos fit width of its design, and cc.profiler exists in the compatibility layer
6a87ed1 yhh committed 21 days ago
fix(cocos): a renderer is put in the layer of its Cocos node, so a UI camera that culls by layer draws it
afebc9c yhh committed 21 days ago
feat(cocos): a converted project starts at the game launch scene and runs its global-defining scripts first, reads the editor built-in assets, and the layer components survive a replay
877fe8d yhh committed 21 days ago
feat(cocos): the colour a script sets on a material instance is the renderer tint
eb8ffaa yhh committed 21 days ago
feat(cocos): MeshRenderer, UIMeshRenderer, material properties and cc.geometry in the compatibility layer
321f2c5 yhh committed 21 days ago
feat(cocos): cc.js, ccenum and NodePool exist in the compatibility layer
c1aeb36 yhh committed 21 days ago
feat(bundle): the project script bundle is built again only when a file it read changed, and Cocos scripts that write the same class name each get a component of their own
d3581b7 yhh committed 21 days ago
fix(editor): opening a large project no longer spends seconds on strings that cannot be paths, a model texture the project lacks is left off instead of dangling, and an unlit mesh variant with tangents links
4945d07 yhh committed 21 days ago
feat(cocos): one script that fails to load no longer takes the others with it, a part of cc the layer lacks is a stand-in that survives use, and Director, AssetManager.Cache and the input dispatcher hook exist
37f4792 yhh committed 22 days ago
chore(tools): the owed examples no longer name a probe that is gone
cc1fbbf yhh committed 22 days ago
feat(cocos): a converted project links its source images instead of copying them, so conversion does not store a multi-gigabyte art folder twice
853aee4 yhh committed 22 days ago
feat(cocos): the importer reports its progress by stage, so a long conversion can show a bar
75c3d64 yhh committed 22 days ago
feat(particle): an emitter can release bursts on a schedule (bursts), and the Cocos burst list, repeat count and burst times map onto it
31c87f9 yhh committed 22 days ago
feat(physics3d): a box, sphere or capsule collider can sit off its entity origin (center), and the Cocos BoxCollider centre maps onto it
9a16d4b yhh committed 22 days ago
feat(text): Text can underline its lines and grow its box to its text (ResizeHeight), and the Cocos Label maps onto both
ffc01f2 yhh committed 22 days ago
feat(cocos): a project effect is judged by its fragment stage and the features a material switches on, and a sprite-stencil mask maps to the engine stencil mask
0c2e440 yhh committed 22 days ago
feat(particle): an emitter has its own simulation speed, and the Cocos simulation speed, noise, trail and burst time map onto the emitter
2396c94 yhh committed 22 days ago
feat(cocos): PageView, PageViewIndicator, ScrollBar, SafeArea and WebView components, and the importer maps SpriteRenderer, Spine skeletons, ParticleSystem2D, Terrain and the players and animators whose clip or graph is missing
8cc310d yhh committed 22 days ago
feat(cocos): EditBox is a component over the platform text editor (mode and length rules, hint, password bullets, the four editing events), and the importer maps it
a66980a yhh committed 22 days ago
feat(cocos): Graphics is a component over the engine Draw (rect, circle and stroked paths kept until clear), UIMeshRenderer folds into its host, and a Node has worldScale and worldRotation
3ac95ed yhh committed 22 days ago
feat(animation): an animator state can play at the speed of a float parameter (speedParameter), and the Cocos animation graph is converted to an animator controller
fc333ba yhh committed 22 days ago
feat(cocos): the importer converts Animation clips (.anim) to timelines: position, scale, rotation, sprite and label colour, opacity and active tracks, and plays model-file clips on the node
c541d5d yhh committed 22 days ago
feat(cocos): a MeshRenderer wears the Cocos material it was given (image, tint, blending, culling, lighting), and a mesh is found by its place in the model when its name is not readable
5f3cf14 yhh committed 22 days ago