Physics and sprite animation dont works
Cocos
DECEMBER 26, 2023
Hi, I have a small problem when i use Physics with animation. Basically the problem is here: sprite->runAction(RepeatForever::create(animate)); If i comment this line, it works.
Cocos
DECEMBER 26, 2023
Hi, I have a small problem when i use Physics with animation. Basically the problem is here: sprite->runAction(RepeatForever::create(animate)); If i comment this line, it works.
Logic Simplified
MAY 7, 2024
Whoever thought Spine 2D animation reminds you of a paper doll craft, where you move all the body parts to create animations, was right! Spine is a 2D skeletal animation tool for game development and other animation projects. One, how Spine works as a great 2D animation software. How does it work? They create!
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Cocos
DECEMBER 25, 2022
I’m trying to handle the collision of two sprites, i added BoxCollider2D to the sprites. One sprite can jump (changing the y coordinate through animation), named "character ", the other is a static object, named “key”. code for the "character ". code for the “key”. code for the "character ".
Cocos
APRIL 25, 2023
That being said, I’m trying to determine if I can do something a certain way, and, if so, can someone provide a basic example of what the code would look like? Currently, my client engineer has 5 cards being dealt and each card sprite pulls from a random card image on an atlas. So, I am trying to create a card flip effect.
Febucci
MAY 31, 2019
In this “Unity Sprite Outline” tutorial we’ll discover how to create both a “Sprite Innerline” and a “Outer Sprite Outline”. Simply, the Inner Sprite Outline shader is drawn “inside” the sprite, while “Outer” is the opposite. Inner Sprite Outline HLSL. Outer Sprite Outline HLSL. Show me the games.
Cocos
NOVEMBER 28, 2023
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,
Cocos
SEPTEMBER 12, 2023
Hi, I am writing a simple shader for spine, and use ts code to animate that shader by setProperty function. The same logic work with sprite, but not Spine. How can I make setProperty work inside a tween? Here is my demo TestShaderSpine.zip (5.3
Let's personalize your content