article thumbnail

[Tutorial]Outer Stroke Effect for 2D Sprites

Cocos

Original: [link] Author: BitByBit Outer Stroke Effect for 2D Sprites Continuing from the previous article Inner Stroke Effect for 2D Sprites Introduction In the last article, we introduced the method of inner stroke and also discussed its pros and cons. aExtend is the expanded Alpha. Here, we take the opposite approach.

Sprite 52
article thumbnail

D2 log 074 – New level format

Catnip Games

I export the rendered terrain from Blender as a RGBA image but with alpha value set to depth. The graphics backend rewrite took a while. However, the situation is now good. This gives me freedom in level design and saves work making tiles… tileable. Interactive elements will be placed using the in-game editor. So it’s RGBZ.

Terrain 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

Shader on IOS error

Cocos

I created a game in which I added a shader; it works fine in web mobile and Android, but in iOS it gives an error during rendering. CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm: line 902 17:39:35 [ERROR]: Sampler binding at set 2 binding 2 is not bounded. t[i] += 1.0;

Shaders 40
article thumbnail

Dev snapshot: Godot 4.0 beta 11

Mircosoft Game Dev

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 ). The illustration picture for this article is from The Mirror , an upcoming all-in-one game and game development platform currently in Closed Alpha.

Beta 105
article thumbnail

Dev snapshot: Godot 4.0 beta 11

Mircosoft Game Dev

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 ). The illustration picture for this article is from The Mirror , an upcoming all-in-one game and game development platform currently in Closed Alpha.

Beta 81
article thumbnail

Full Unity 2D Game Tutorial 2019 – Making Mini Map Mask

Game Development

To do that we will edit the spaceship sprite by clicking on it in the project window. Then set the pixels per unit to 64 and click apply to update the sprites. Full Unity 2D Game Tutorial 2019 – Mini Map Render Texture. In order to do that we first need to make a render texture. This will display our render texture.

Texture 52
article thumbnail

Breakout: Ball

The Liquid Fire

Unity has already enabled us to easily accomplish a ton of milestones, such as rendering sprites on screen, and making objects move and collide with each other. In order to help the user keep track of the ball, we can add a Trail Renderer. Set the Color gradient so that it ramps the alpha down from 100 to 0.