article thumbnail

Module 3: Attack of the Snake (Lesson 10)

Game Designing

So now if we put the period, which is called dot notation, we will have access to all of the variables and all of the data we have used on O B J snake, and then we can set and get that data information. And the way to do that is by altering the collision mask on our block. You can see it turns red, indicating that it found it.

article thumbnail

Dev snapshot: Godot 3.2.4 beta 6

Mircosoft Game Dev

Multiple fixes to one-way collisions , handling many cases where collisions would not work reliably. New option to snap 2D transforms to whole coordinates , helps prevent jitter on pixel art camera motions. Multiple fixes to one-way collisions (new in beta 6). See godot-docs#4213 for the updated documentation.

Beta 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

Breakout: Paddle

The Liquid Fire

[SerializeField] float maxOffset = 1.5f; We start by adding a field named “maxOffset” This has a data type of float, and a default value of 1.5, Even though the Paddle will take part in the physics system collisions, in the sense that it can move other bodies, its own position is controlled manually. Connect The Script.

article thumbnail

Release candidate: Godot 3.2.4 RC 1

Mircosoft Game Dev

New option to snap 2D transforms to whole coordinates , helps prevent jitter on pixel art camera motions. Multiple fixes to one-way collisions. glTF: Fix parsing base64-encoded buffer and image data ( GH-42501 , GH-42504 ). Physics: Fix multiple issues with one-way collisions ( GH-42574 ).

Render 52
article thumbnail

Release candidate: Godot 3.2.4 RC 4

Mircosoft Game Dev

New option to snap 2D transforms to whole coordinates , helps prevent jitter on pixel art camera motions. Multiple fixes to one-way collisions. glTF: Fix parsing base64-encoded buffer and image data ( GH-42501 , GH-42504 ). Physics: Fix multiple issues with one-way collisions ( GH-42574 ).

Render 52
article thumbnail

Release candidate: Godot 3.2.4 RC 2

Mircosoft Game Dev

New option to snap 2D transforms to whole coordinates , helps prevent jitter on pixel art camera motions. Multiple fixes to one-way collisions. glTF: Fix parsing base64-encoded buffer and image data ( GH-42501 , GH-42504 ). Physics: Fix multiple issues with one-way collisions ( GH-42574 ).

Render 52
article thumbnail

Release candidate: Godot 3.2.4 RC 3

Mircosoft Game Dev

New option to snap 2D transforms to whole coordinates , helps prevent jitter on pixel art camera motions. Multiple fixes to one-way collisions. glTF: Fix parsing base64-encoded buffer and image data ( GH-42501 , GH-42504 ). Physics: Fix multiple issues with one-way collisions ( GH-42574 ).

Render 52