article thumbnail

assetManager.parser.parse() doesn't work for Uint8Array in native

Cocos

x-release/demo/Creator3.7.3_PartialScreenshot/assets/script/Screenshot2D.ts This way, you can create an imageAsset using Unit8Array data. github.com cocos/cocos-awesome-tech-solutions/blob/3.7.x-release/demo/Creator3.7.3_PartialScreenshot/assets/script/Screenshot2D.ts

Sprite 52
article thumbnail

D20 RPG – Combatants

The Liquid Fire

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. SetLayerOrder can be used to make sure that the various sprite renderers will appear in the correct order.

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

Developer Shares Building Fabrics, Ropes, And Soft Bodies

Cocos

Though not fully complete, the demos already show a lot of progress, and the developer is selling their findings on the Cocos store for Chinese developers. Try it out now (Note the demo is in Chinese): ClothDemo for 2.x Rendering is even more straightforward, just use the Graphic component and draw lines directly.

Build 98
article thumbnail

Getting started with HaxeFlixel in 2021

Radiator Blog

The engine should be able to render and simulate 200+ lightweight game objects -- frame-animated sprites with simple collision, no fancy physics or shaders. Then as you come across more complicated problems, you'll want to browse the very helpful Demos , each with a link to its full source code on GitHub. and no WASM.)

Sprite 52
article thumbnail

Maintenance release: Godot 3.2.2

Mircosoft Game Dev

The Dodge The Creeps C# demo running on the iOS Simulator. 2D batching for the GLES2 renderer. While most rendering work was postponed for the 4.0 release with its new Vulkan-based renderer, our contributors lawnjelly and Clay ( clayjohn ) decided to give some more attention to the 3.2 Can you spot the difference?

Debug 52
article thumbnail

D20 RPG – Board

The Liquid Fire

For this demo, I will treat the values like elevations, where 0 is like sea level (water tiles), 1 is ground level (dirt tiles) and so on. There is a project asset at "Assets -> Sprites -> SelectionIndicator" which is cut up into multiple sprites. Bump up its "Order In Layer" to make sure it will render on top of the tile map.

Tile 52
article thumbnail

GLES2 and GDNative, progress report #4

Mircosoft Game Dev

In this case I'm talking about a rather big refactoring of how materials are handled in the GLES2 renderer. perspective rendering. perspective rendering. stabilize 3D rendering (unshaded workflow). branch of the GDNative-demos repository here. branch of the GDNative-demos repository here. Done March 2018.

Shaders 52