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
chore: the API stability page counts match the surface without the Cocos layer
a5695ae yhh committed 17 days ago
chore: the Cocos project importer and the cc compatibility layer are held on the cocos-import branch and are not part of this release
2973611 yhh committed 17 days ago
fix(cocos): macros the code only reads are baked into a converted shader, and effects written as GLSL main() programs convert: 17 of the 22 effects that were not converted now are
960605e yhh committed 17 days ago
feat(cocos): a converted effect's ambient parameters start at what most of the project's game scenes set, so a fake-lit material is not brighter than the game draws it
a8edd98 yhh committed 17 days ago
fix(cocos): a converted effect encodes its output for the display in the gamma colour space, and a converted material is not tinted twice by the renderer
6e12dc6 yhh committed 17 days ago
feat(cocos): a material put on a part of a model instance reaches that part: the part is told by the id of its renderer, read from the editor library
115da5b yhh committed 17 days ago
chore: desktop submodule — close a play session's sockets when it ends
34f50c5 yhh committed 17 days ago
fix(assets): a model texture named by a path on the artist machine is found by its name beside the model, instead of left as a path that is not there
4d8711d yhh committed 18 days ago
chore: desktop points at the commit where an Outliner drop lands even when it beats the hover's render
b487f24 yhh committed 18 days ago
feat(render): TextureCanvas — a blank texture textures are pasted into at pixel positions, then shown on a Sprite; with an example and docs
dd6e258 yhh committed 18 days ago
fix(cocos): a node answers _components with its script instances, so a project that prepares a new instance's nodes before parenting it reaches them
acb0c7e yhh committed 18 days ago
feat(cocos): a scene's linear fog becomes a global distance-fog volume, and the scene settings report counts only those that are switched on
def4f85 yhh committed 18 days ago
feat(cocos): recompileShaders makes the material take the permutation of its shader that has the macros applied, now, instead of only recording them
f8a6513 yhh committed 18 days ago
fix(assets): shrinking a texture to its Max Size keeps the colour of a footprint that is clear all through, instead of black: a weight map holds its numbers under a clear alpha
6c83f75 yhh committed 18 days ago
fix(cocos): only a map-sized texture that is clear and coloured is kept as data, and the meta an earlier import wrote for one that is not is taken away
0588341 yhh committed 18 days ago
fix(cocos): only a texture a material samples, whose clear texels hold several colours, is kept as data: a sprite's white or black bleed is not numbers
7ad55e7 yhh committed 18 days ago
fix(cocos): a texture that keeps its colour under a clear alpha holds numbers, and is imported uncompressed and not as sRGB, so a terrain's weight map reaches its shader as it was painted
7e0e48a yhh committed 18 days ago
fix(assets): a texture made smaller to fit its budget keeps the colour under its clear texels: the resize was left to premultiply, which turned a terrain's weight map black
a19b517 yhh committed 18 days ago
fix(assets): a decoded bitmap is read back through a texture instead of a 2D canvas, so the colour of a texel whose alpha is clear survives: a terrain's weight map came out black everywhere it was clear
b1ed8da yhh committed 18 days ago
fix(cocos): a mesh whose converted material blends is imported as not opaque, so the engine draws it with blending: a fog that fades out was drawn black where it should have been clear
04b4d3b yhh committed 18 days ago
fix(assets): the plane of Cocos imports as builtin:cocos-plane, 10 across like the one effects were written against, so what an effect reads of its position in the mesh's own space has the scale it expects
89e3bde yhh committed 18 days ago
fix(cocos): a material's property that is a lane of a vec4 uniform (fogLayerBlend is fogParams.x) is written under the uniform, so the values an artist set reach the shader instead of the effect's defaults
8edc9e2 yhh committed 18 days ago
feat(assets): builtin:map-plane is the plane with its texture's v running along +z, and a Cocos plane imports as it, so a map laid over one lands where it was drawn
b49fd4c yhh committed 18 days ago