article thumbnail

[CC 3.7.3] Shader Error?

Cocos

I’m just learning how a shader works. So, I just copied from the built-in sprite effect file to mine. Edit: mySprite.effect contents: // Copyright (c) 2017-2020 Xiamen Yaji Software Co., But, everything stopped working as intended. o.r = o.g = o.b = gray; #endif #endif o *= color; ALPHA_TEST(o); return o; } }%

Shaders 40
article thumbnail

Noob question about scripting animation

Cocos

Most of my time working in cocos has been devoted to shader work. Currently, my client engineer has 5 cards being dealt and each card sprite pulls from a random card image on an atlas. I would like to put the image of the card’s back as the default sprite frame. So, I am trying to create a card flip effect.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Annoying feature/bug?

Cocos

Sorry to litter up the forums with a question like this but I couldn’t find anything about it anywhere online… So… I have made some shaders that use time to essentially animate themselves. Whenever I attach them to a material, and then a sprite in the engine, I can see them moving in the editor as expected.

Bug 40
article thumbnail

Maintenance release: Godot 3.4.1

Mircosoft Game Dev

Editor: Expose ScriptEditor::edit to scripting ( GH-55709 ). Import: Fix texture atlas generation when source sprite is larger than generated atlas ( GH-55094 ). Particles: Fix for double use of seed in random shader variables ( GH-55607 ). Rendering: GLES3: Fix incompatible addition in auto exposure shader ( GH-55983 ).

Tile 52
article thumbnail

Release candidate: Godot 3.4.1 RC 3

Mircosoft Game Dev

Please test it on Windows (any version) to confirm that editing a project from the project manager, and running a project from the editor, both work fine. Editor: Expose ScriptEditor::edit to scripting ( GH-55709 ). Import: Fix texture atlas generation when source sprite is larger than generated atlas ( GH-55094 ).

Tile 52
article thumbnail

Dev snapshot: Godot 4.0 beta 11

Mircosoft Game Dev

This beta includes a few big changes which may interest a lot of users: Animated sprites, both 2D and 3D, now support options for more precise timing of individual frames ( GH-65609 ). GUI: Fix inconsistent state of Controls when editing and running scenes ( GH-70882 ). get_root() ). GUI: Fix errors when TabBar is empty ( GH-70611 ).

Beta 104
article thumbnail

Godot Tactics RPG – 01. Intro & Setup

The Liquid Fire

We’re not really doing anything with shaders or post processing in the tutorial, so depending on where you want to take the tutorial later, its really up to you which you choose. The first thing to download will be the sprites and textures from the original tutorial. Download Icon.svg and replace the original file with it.