How to get width of a text label?
Cocos
JANUARY 29, 2023
In Creator 2.x, you can try Demo: NewProject_2411.zip (234.0 KB) In Creator 3.x, you can try label.string =.; label.updateRenderData(true) const size = label.node.getComponent(UITransform).
Cocos
JANUARY 29, 2023
In Creator 2.x, you can try Demo: NewProject_2411.zip (234.0 KB) In Creator 3.x, you can try label.string =.; label.updateRenderData(true) const size = label.node.getComponent(UITransform).
The Astronauts
JANUARY 29, 2023
Introduction and index of this series is here. We have 94.5MB worth of data, and we want to make it smaller. About the easiest thing to do: use one of existing lossless data compression libraries, or as us old people call it, “zip it up” There are tons of compression libraries out there, I certainly will not test all of them (there’s lzbench and others for that).
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Cocos
JANUARY 29, 2023
Hello there, I have made a weapon stick to a user’s hand, using the ‘sockets’ property on skeletalanimation component. I’m wondering is there a way to add a constant rotation transform to this newly created socket. Want to rotate this axe -90 degrees on Z axis so the player is weilding it correctly.
Game Wisdom
JANUARY 29, 2023
Game Wisdom 2022 Awards for Best Metroidvania Josh Bycer josh@game-wisdom.com The Metroidvania category continues to be an indie staple and this year saw some very interesting ones getting released and hopefully a good sign for 2023. Honorable Mention: Aerostrike A metroidvania built around shmup gameplay has been one of my … The post Game Wisdom 2022 Awards for Best Metroidvania appeared first on Game Wisdom.
Cocos
JANUARY 29, 2023
Hi all, I enabled shadows for my project, but I don’t know why it looks very different on mobile and desktop: Desktop: Mobile: looks like some objects applies own shadow incorrectly and shown with big sharp edges
Game Wisdom
JANUARY 29, 2023
Useful Tips To Get Better At Gaming Josh Bycer josh@game-wisdom.com Gaming is a way of life. From friendly rounds to competitive eSports, it’s no news that video games provide platforms for players to have fun, network, and even earn some money in the process. According to research by eMarketer, over … The post Useful Tips To Get Better At Gaming appeared first on Game Wisdom.
Game Developers Network brings together the best content for advertising professionals from the widest variety of industry thought leaders.
Indie DB
JANUARY 29, 2023
A full release for this demon-slaying retro shooter indie is now here
Cocos
JANUARY 29, 2023
You can try this solution by mounting an empty node on the weapon node hierarchy and then setting the rotation on this node.
Artoon
JANUARY 29, 2023
Finding the cost of mobile app development, specifically for iOS app development […] The post How Much Does it Cost to Develop an iOS App? – A Complete Analysis appeared first on Artoon Solutions.
Cocos
JANUARY 29, 2023
Unfortunately, even after a clean and rebuild, it didn’t work. samsung a23 samsung a11q This is a phenomenon that only occurs on these two models, hmm… is there any other solution?
Indie DB
JANUARY 29, 2023
This mini-game collection indie releases a new version
Cocos
JANUARY 29, 2023
A.vsh is Vertex Shader,fsh is Fragment Shader, if you want to set something related to fragment then you should use.fsh, you can use varying to send variable between vsh and fsh. Which means you should have something like varying vec4 v_fragmentColor; varying vec2 v_texCoord; in the vsh accordingly.
Cocos
JANUARY 29, 2023
Hi, all, I am wondering why adding three spotlights increase draw calls from 60 to 400-450?
Cocos
JANUARY 29, 2023
Can you tell me what mobile device and system version you are using for the test?
Cocos
JANUARY 29, 2023
HI all, I installed uuid package, uuid - npm , but I can’t import it, see this error: Error: Unexpected export statement in CJS module.
Cocos
JANUARY 29, 2023
You can check to see if all the ABI options are included when building Android
Let's personalize your content