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.
This site uses cookies to improve your experience. By viewing our content, you are accepting the use of cookies. To help us insure we adhere to various privacy regulations, please select your country/region of residence. If you do not select a country we will assume you are from the United States. View our privacy policy and terms of use.
Cocos
APRIL 12, 2023
Hi, in my game I used alot of spine animation. But the render overhead is quite high compare to sprite even when I set timeScale = 0 and cache to SHARE_CACHE. I don’t want to create separate for that spine to save memory usage. So how can I optimize this? Thanks in advance.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Cocos
JANUARY 2, 2024
I’m attempting to make a UI mask with a sprite stencil. I have a shader that I’ve made that essentially takes the sprite and adds a glitchy effect to it… (like a static glitch on a hologram display) It works great with sprites and does exactly what I want it to do.
Cocos
JANUARY 18, 2024
I’m attempting to make a UI mask with a sprite stencil. I have a shader that I’ve made that essentially takes the sprite and adds a glitchy effect to it… (like a static glitch on a hologram display) It works great with sprites and does exactly what I want it to do.
Game Development for Beginners
MARCH 14, 2023
Unity is a very powerful Game development tool and in recent years Unity has put some efforts to help developers animate and model their game assets inside Unity. Unity 2D animation has grown a lot, now you can animate a 2D sprite using skeletal animation in Unity. In this tutorial, we will see how to. Read more
Yotes Games
APRIL 13, 2023
It took about a month and a half, but ALL the pony sprite pieces have finally been drawn and as of right now I can begin the frame-by-frame animation process! Should be done and in-game by April's end (but given how that estimate's measured in gamedev time, we'll see how that goes ?).
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 ". start () {. this.collider.on(Contact2DType.BEGIN_CONTACT, code for the “key”.
Cocos
FEBRUARY 13, 2023
Hi, i want to apply a sprite as a tiled background and apply to it an animation like a movement. I want to give this effect changing the “offset” of the texture/sprite of it. This Node has a sprite set as Tiled I don’t want to make a script that calculate position and if at certain value must to set the start position.
Cocos
APRIL 25, 2023
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. I know I can change the sprite frame image in the timeline, but it needs to pull from an array. I’ve already accomplished that.
PreMortem.Games
MAY 10, 2023
look with fluid animations in a sports game. Their solution was a unique blend of hand-drawn 2D sprites and animations in a 3D environment. Julien explains: “For a fast-paced sports game such as ours, we wanted the sprites to move and animate in 8 directions.
Cocos
MAY 3, 2024
Label text getting from JSON file using key and download multilingual sprite and skeleton animation in runtime using assetManager.loadRemote. I created a language manager.
Cocos
APRIL 12, 2023
SHARED_CACHE should be the best way, especially when you play the animation multiple times.
Game From Scratch
DECEMBER 19, 2023
Released Earlier this month the popular sprite painting an animation application Aseprite released version 1.3. GameFromScratch.com Aseprite 1.3 This is a milestone release, as the last point release Aseprite 1.2 was released all the way back in 2017. Released Read More The post Aseprite 1.3
Cocos
MAY 20, 2023
When playing the game on an Android device, button animations don’t function properly (at least both Sprite and Scale transition types are affected). Hi, The Github post I created for this problem is available here ( link to the issue ). After some testing, it seems like this problem has started with Cocos Creator v3.7.0
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
I am using CC version 3.8.1 this is images of my code: let getImg = async (name : string, path : string = 'int04') => { return new Promise((res,fai) => { cc.resources.load(path+"/"+name+"/spriteFrame", cc.spriteFrame ,(err, texture) => { res(texture); }); }) } let createAnimationArray = async(parent, list: any, speed:number = 0.1,
Game From Scratch
MAY 1, 2023
This massive bundle of assets features fully animated heroes, sprites for monsters and robots, … RPG Asset Mega Bundle Read More The post RPG Asset Mega Bundle appeared first on GameFromScratch.com. The bundle is described as: Create the 2D fantasy RPG or sci-fi adventure you’ve been dreaming of!
Cocos
FEBRUARY 16, 2023
By dynamically changing this value, a simple animation effect can be achieved. More applications of UV in Shader UV can be widely used in effects such as frame animation and water ripples. _pass = this.node.getComponent(Sprite).material.passes[0]; the RGB of the color will be multiplied by 0.5 to make the color in bottom darker.
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
Cocos
AUGUST 2, 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
Cocos
JULY 26, 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
Game Development for Beginners
AUGUST 13, 2023
In this tutorial, we are going to create an explosion effect and we will be using a Flipbook animation for this. A Flipbook is nothing but a sprite sheet. In our last tutorials on VFX graph, we learned the basics of Unity VFX graph and how to create a portal using the inbuilt VFX system. Read more
Game Designing
SEPTEMBER 1, 2023
Easing Into Code Summary In this tutorial, we dive into GameMaker Studio 2 and learn the basics of creating a sprite, an object, and writing our first line of code. So over on the resources, you can right click and create Sprite. You can also do that with the shortcut Alt S, or you can come up to resources and click on create Sprite.
Cocos
AUGUST 23, 2023
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.
Cocos
JANUARY 27, 2023
I’m using the AnimationController to control my sprites animation and it works perfectly fine inside the engine. But when I try to build or run a browser preview, I get the following error: Am I missing something?
Cocos
OCTOBER 28, 2023
The prefab contains an Empty node(called “unit”) and a sprite (called “body”) as a child Then I gave the unit a script that has a function that receives a mission containing start and end point now a mission is carried on as follows: instantiate and rotate the march plain to align the march path.
Radiator Blog
NOVEMBER 14, 2023
But now imagine a mom complaining about a lack of animal protein -- obviously a real grievance that requires attention because she's probably right. Instead, I leaned heavily on Unity UI and Unity Events for all my game implementation, playing with different button sprites that would disable each game object ("level") in sequence.
Cocos
JANUARY 10, 2024
Hello, I’m working on a custom material/effect with a USE_INSTANCING branch that works on sprites, but does not work on a spine character. I’ve tried the different animation cache modes, and enable/disable batch. The effect is a duplicate of builtin-spine , with the instancing branches added and the two_color branch removed.
Mircosoft Game Dev
JANUARY 10, 2023
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 ). Animation: Add animation_started/finished signals to AnimationTree and fix time accuracy in StateMachine ( GH-70278 ).
DameDev.tv
NOVEMBER 21, 2022
However, when it comes to pixel art, changing light direction on flipped sprites/characters isn’t that important. Pixel art is a cartoony aesthetic, it’s more important to create sprites that are familiar and consistent. Players will mainly be focused on idle, walk, run and attack animations.
iXie gaming
AUGUST 17, 2023
Advanced animation techniques Explore Unity’s animation system to create complex and visually appealing character and object animations. Use features like blend trees, inverse kinematics (IK), and animation events to achieve lifelike movement and interactions.
Logic Simplified
NOVEMBER 29, 2023
This AI character is a way of Unity showing how its platform can be used not only to create and animate characters but also to dynamically interact with them. Using this feature, we could quickly create 2D sprite assets, instantly generate realistic textures, and do so much more with minimal coding.
Mircosoft Game Dev
JANUARY 10, 2023
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 ). Animation: Add animation_started/finished signals to AnimationTree and fix time accuracy in StateMachine ( GH-70278 ).
Cocos
AUGUST 10, 2023
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.
Big Games
JANUARY 8, 2024
Sketch a rough concept, set some parameters, and Dimensions will generate 3D models, textures, and animations. Free 3D Asset Libraries Sketchfab: This vast platform hosts a staggering collection of free and paid 3D models, textures, and animations from various creators. It can even help define core loops and progression systems.
Awesome Tuts
NOVEMBER 28, 2022
We always say the best way to learn is by practice, so your assignment is to create the input action for spriting that is going to be triggered by pressing the Left Shift key. Character Animation Blueprint. To animate the character we need to create the animation blueprint.
PreMortem.Games
APRIL 29, 2024
It’s like an eighties anime comes alive. “I I always liked Japanese anime and arcade fast gameplay”, says Martinello. “So So Mullet MadJack is like a kickass Japanese anime, but playable! And Jack is your typical action hero from that era.” “I always liked Japanese anime from the VHS era. And those visuals really do pop.
Brand Game Development
SEPTEMBER 16, 2019
In short, Root is a wargame wrapped in a theme about adorable animals. You can read about that in-depth in this great article on Sprites and Dice. Join my community of over 2,000 game developers, artists, and passionate creators. Clearly, they’re doing something right here. So what exactly is Root ?
The Liquid Fire
NOVEMBER 9, 2023
The first thing to download will be the sprites and textures from the original tutorial. This is a resized and scaled version from this CC0 art set from OpenGameArt.org [link] Create Materials As with the animation scripts, I’ll put off slicing the sprites until we need it for the UI portion.
Mircosoft Game Dev
APRIL 22, 2019
FPS snapping in the Animation player was added to the engine, along with other quality of life improvements. OS.get_unique_id() was fixed on Android. A HeightMapShape was added to the Bullet physics engine implementation. New audio features for 3.2 were backported.
The Liquid Fire
SEPTEMBER 20, 2023
We will add animated sprites to represent both a hero and monster. It includes a collection of prefabs, scripts and sprites that we can use to play with. New Sprites There are three new sprites included. Both the warrior (hero) and rat (monster) are animated. I found them at [link] courtesy of Calciumtrice.
Mircosoft Game Dev
JULY 22, 2018
This can make the code more concise: var direction_vector : = Vector2(1, 0) # direction_vector is of type Vector2 because of the assigned constant var my_sprite := $MySprite as Sprite # my_sprite is of type Sprite because of casting. Something very common is to tell an animation player to start like this: $AnimationPlayer.play("walk").
Mircosoft Game Dev
APRIL 26, 2019
FPS snapping in the Animation player was added to the engine, along with other quality of life improvements. OS.get_unique_id() was fixed on Android. A HeightMapShape was added to the Bullet physics engine implementation. New audio features for 3.2 were backported.
Expert insights. Personalized for you.
We have resent the email to
Are you sure you want to cancel your subscriptions?
Let's personalize your content