article thumbnail

Sprite Shader Render out of bounds

Cocos

Good evening, I just finished writing my own custom shader to create 2D shadows on sprites, but I can’t find a way to increase the render area of ​​the sprite. The sprite size is 450x450, I created an atlas and used the trim option, this reduced the frame to 156x393.

Sprite 52
article thumbnail

Maximum number of sprites?

Cocos

However, I’m not seeing all the sprites loaded, and I I shifted the order to check if it was a problem in the images, but that’s not it. Is there a limit with the number of sprites or perhaps I’m hitting a memory limit? I’m loading multiple spritesheets, and this year, I’m trying to load a lot more layers to support jersey numbers.

Sprite 40
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

Maximum number of sprites?

Cocos

I think your problem is the sprites can not be loaded completely in Cocos Game. If sprites can not be loaded, could you please provide the error log for me?Or they can not trigger the load call back function? There i no memory limit in Cocos.

Sprite 40
article thumbnail

Maximum number of sprites?

Cocos

I’m not getting any errors, it simply doesn’t show a sprite. In fact, the sprite that I pull from the cache isn’t null, but nothing shows up. Later, when I want the sprites, I call jerseySprite = Sprite::createWithSpriteFrameName(jerseyName); Right now, I’m wondering if maybe I’m doing something wrong.

Sprite 40
article thumbnail

Maximum number of sprites?

Cocos

However, I’m not seeing all the sprites loaded, and I I shifted the order to check if it was a problem in the images, but that’s not it. Is there a limit with the number of sprites or perhaps I’m hitting a memory limit? I’m loading multiple spritesheets, and this year, I’m trying to load a lot more layers to support jersey numbers.

Sprite 40
article thumbnail

Maximum number of sprites?

Cocos

However, I’m not seeing all the sprites loaded, and I I shifted the order to check if it was a problem in the images, but that’s not it. Is there a limit with the number of sprites or perhaps I’m hitting a memory limit? I’m loading multiple spritesheets, and this year, I’m trying to load a lot more layers to support jersey numbers.

Sprite 40
article thumbnail

Campfire raises $3.95m for generative AI engine, Sprites

GamesIndustry.biz

Campfire has raised $3.95m for its generative AI engine, Sprites. According to Venturebeat , the seed round was supported by Y Combinator, FundersClub, Mercury founder Immad Akhund, gaming entrepreneur and investor Juha Paananen, and Uken Games founder, Chris Ye.

Sprite 108