Remove Clipping Remove Code Remove Sprite Remove Texture
article thumbnail

[CC 3.8.1] AnimationClip.createWithSpriteFrames not working

Cocos

hi, I am leaning CC, I am more interested write code than using tool CC, but that is not working. I am using CC version 3.8.1 I am using CC version 3.8.1 createAnimationArray(bien,['23020_0_8', '23020_0_9', '23023_3_6'], 0.1, createAnimationArray(bien,['23020_0_8', '23020_0_9', '23023_3_6'], 0.1,

article thumbnail

Making shaders more accessible

Mircosoft Game Dev

To explain the idea of how shaders work, let's consider a very simple shader for drawing a sprite to the screen. Our sprite is 32x32 pixels in size, and it must be drawn at some position. The following OpenGL code sends the sprite to the shader for drawing: OpenGL Commands. Configuration parameters are sent via uniforms.

Shaders 52
article thumbnail

Godot's 2D engine gets several improvements for upcoming 4.0

Mircosoft Game Dev

Additionally, all 2D shadows and light textures use a single atlas, resulting in improved performance. the new CanvasTexture texture type has been introduced. x is that, several times, sprites are separated in many nodes in order to be animated or assembled. 2D Masking / Clipping. Improved 2D materials. For Godot 4.0,

Engine 55