Mon.Dec 25, 2023

article thumbnail

Game Developer's 2023 Wrap-Up: Danielle Riendeau's favorite games of the year

Game Developer

From Dredge to Jusant to Cocoon, these are the games that provided a bright spark in a tough year.

article thumbnail

SRP Batcher: Does it "Truly Suck"?

The GameDev Guru

As many so called "game devs" say: does the SRP batcher truly suck?

Dev 130
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

Loot River Now Available

Indie DB

Pixel-art adventure indie out now with a level editor on PlayStation, Xbox, and PC!

Pixel 81
article thumbnail

Spine Animation problem with premultiplied alpha

Cocos

Hello Every One, I got problem with Spine Skeleton, If Premultiplied Alpha is checked, the animation get problem with border like attached image., and if not the black line border off animation will show. How can i fix animation for outline of ball with alpha smooth.

Alpha 52
article thumbnail

Can't run cocos2d-x on M1 Chip

Cocos

Hi @bilalmirza , In order to build “my” cocos2dx (= 3.15.1) silicon versions of the following libraries are needed: tiff chipmunk curl which you have not ported to silicon in your repository. “Your” version is 3.17.1. Does it mean that this version does not need tiff, chipmunk and curl anymore? I am asking to understand if I need to migrate to 3.17.

Build 52
article thumbnail

Merry Christmas and Happy New Year to You All!

Cocos

Dear Cocos Developers, As Christmas approaches, the Cocos team would like to extend our warmest wishes to all of you. May you feel the warmth and joy of the season on this special day. Throughout the past year, we have been grateful for the warmth and support from the community. It’s your companionship that has propelled Cocos forward. In the coming year, let’s continue this journey together, striving to create an even more exciting gaming world.

article thumbnail

Physics: Tween no effect on Collider?

Cocos

Thank you for the reply. My fault not to mention it (will edit the question). The type of Rigidbody is kinematic. The problem arises only when animating Node B into the collider(sensor) area of Node A via Tweens. In this case, the callbacks of the sensor of Node A do not trigger. But they trigger when I use regular physics with type dynamic and let B drop in the area of node A.

Editing 52

More Trending

article thumbnail

[Share] 2D Post-Processing & Lighting Framework

Cocos

Many friends associate post-effects with AAA 3D games, but in reality, their application is also extensive in 2D game development. Properly utilizing post-effects can significantly enhance the visual quality of a 2D game by several levels. Today, we have invited wing , an experienced Cocos game developer in our Cocos community to share some technical key points related to 2D post-effect frameworks.

Render 52
article thumbnail

Different Nodes' Tweens not working asynchronously!

Cocos

Hi there. I have an Array<Node> and each item in this array has a script attached to it which contains a method with a tween function, to animate the node to a new position. My problem is, that each Node in the array waits for the previous one’s tween to finish, before starting its own tween , ie they are working synchronously. But I want to the Nodes to call their tweens asynchronously.

article thumbnail

Async Tween animation not working!

Cocos

Hi there. I have an Array<Node> and each item in this array has a script attached to it which contains a method with a tween function, to animate the node to a new position. My problem is, that each Node in the array waits for the previous one’s tween to finish, before starting its own tween , ie they are working synchronously. But I want to the Nodes to call their tweens asynchronously.

article thumbnail

Physics: Tween no effect on Collider?

Cocos

According to the documentation Cocos Creator 3.8 Manual - 2D RigidBody If a node has a RigidBody2D component and the RigidBody type is Dynamic (which is the default value), it can’t be moved by setting its position. If you want to change the position manually, the following steps may help: set the rigidbody type to Kinematic change the position by code. restore the rigidbody type to Dynamic after the position change is complete.

Code 40
article thumbnail

Sometimes I have to completely reinstall Cocos Creator because I can't build a project

Cocos

Hello, I don’t know why I can’t build the exact same game few days after. I got this error with Cocos Creator 3.8.1 I tried to clean the library and the temp folder but I got the same problem. ALL other projects can be builded. If I build the exact same project by duplicated the folder on other computer it’s working. The only solution is to uninstall and reinstall the Cocos Creator editor.

Build 52
article thumbnail

Video Player cannot show with other UI

Cocos

Yep, VideoPlayer is a system widget, so it can’t mix display with nodes in Cocos Creator. If you want to mix display Video and Nodes, VideoTexture may help. But VideoTexture is not built-in supported for now. There is a demo created by the Official Technical Support Team, [link] It’s in Cocos Creator 3.7.4, Hope it can solve your problem.

Demo 40
article thumbnail

Latest xcode failing with "iconv_close"

Cocos

In order to compile CCFontAtlass.cpp in Xcode 15+ just apply the patch in PS on CCFontAtlas.h which: adds #include <iconv.h> as a include file, so that the structure iconv_t is defined changes the type of “_iconv” variable from “void*” into “iconv_t”: OLD: void* _iconv; NEW: iconv_t _iconv; PS: diff --git a/cocos2d/cocos/2d/CCFontAtlas.h b/cocos2d/cocos/2d/CCFontAtlas.h index e7041b91.d87355ab 100644 a/cocos2d/cocos/2d/CCFontAtlas.h b/cocos2d/cocos/2d/CCFontAtlas.h @@ -30,6 +30,7 @@ #inc

article thumbnail

Physics: Tween no effect on Collider?

Cocos

Physics: Tween no effect on Collider? Am I right concluding that Nodes animated via Tween have no effect on Colliders? Specifically I have a node A with a boxcollider2d and rigidbody set as sensor. I have another node B with rigidbody and boxcollider. When B falls in the area of A , I get trigger response. But when I animate B to the position of A , nothing happens.