article thumbnail

Question about PolygonCollider2D

Cocos

In the editor, when you add a PolygonCollider2D to a sprite with a transparent area, the polygon is automatically created. How can I get automatic polygon creation when creating a sprite dynamically in the script code? I will be grateful for your help!

Polygon 40
article thumbnail

Godot 1.1 beta1 is out!

Mircosoft Game Dev

New features include: Rewritten Auto-Completion in the Code-Editor. Supports a lot of scenarios and perform smart-completion of node types if a scene where the script is being used is open. Largely rewritten 2D engine, with support for: Shaders (Visual and Code). 2D Shadows with Polygonal Occluders. 2D Materials.

Polygon 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

Using Unreal Engine for AR and VR Development

Logic Simplified

HP Motion Controller Professional Unreal Engine AR toolsets The Unreal Engine AR frameworks are used to build AR applications using a single code path. The Blueprint Visual Scripting System Based on the idea of a node-based interface, the blueprint system in the Unreal engine creates gameplay elements. OpenXRMsftHandInteraction 5.

Engine 56
article thumbnail

AWS for Games at GDC 2023

AWS Games

After facing some unexpected challenges, the team deployed a new, lower cost, 100% infrastructure-as-code solution with zero downtime for users. The networking event included a panel moderated by Shannon Liao, who has reported on games for The Washington Post, CNN, Polygon, and The Verge. Learn more about Game Server solutions on AWS.

Games 98
article thumbnail

Godot 1.1 is out!

Mircosoft Game Dev

Rewritten Auto-Completion in the Code-Editor. Supports a lot of scenarios and perform smart-completion of node types if a scene where the script is being used is open. Largely rewritten 2D engine, with support for: Shaders (Visual and Code). 2D Shadows with Polygonal Occluders. 2D Shadows with Polygonal Occluders.

Polygon 52
article thumbnail

Godot Engine reaches 2.0 stable

Mircosoft Game Dev

Initializing class member variables can be quite of a hassle, code such as this is common in GDScript: The 'onready' keyword allows initialization of class member variables at the same time when _ready is called, saving some code: But doing this for autoloaded scenes can still be a hassle, as it has to be done every time a script is created.

Engine 52
article thumbnail

Dev snapshot: Godot 3.5 beta 2

Mircosoft Game Dev

You can move the polygon with the node transform, drag the corners to reshape it, add delete points. Anything behind the polygon will be culled from view. Aged like fine wine, Meru Patel ( Janglee123 )'s work from Google Summer of Code 2020 has been continued and updated by GSoC 2019 alumni Twarit Waikar ( ChronicallySerious )!

Beta 52