article thumbnail

The Complete C++ Guide For Unreal Engine

Awesome Tuts

This means that there are different types of variables such as whole numbers, decimal point numbers, strings, and booleans. Integers are whole numbers meaning they can’t have decimal points in their value. A float declared on line 11 on the other hand is a decimal point number. Functions In C++.

Engine 144
article thumbnail

Soft Body in Godot 3.1

Mircosoft Game Dev

Now, just click Play and enjoy your soft ball :). I've used the Platformer Demo to create this demo, that you can downoload by clicking here , or from the Godot Asset Library. The Simulation Precision will improve the final result, often with significant improvement (and performance cost).

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Tiles editor progress report #5

Mircosoft Game Dev

In this third mode, I implemented a dedicated editor for tile shapes (collision shapes, occluders, naviagation shapes). This allows setting up tile collisions in a very fast way: Since my previous implementation of panning was not working great in the atlas editor, I reworked it a little bit. Backward compatibility improvements.

Tile 52
article thumbnail

Maintenance release: Godot 2.1.4

Mircosoft Game Dev

3D editor: Ability to select subscenes when clicking them in the viewport. Physics: Add one-way collision to tile-set/tile-map. Math: Correct hash behavior for floating point numbers. Physics: Fix one-way-collision detection. Platform: macOS: Add Ctrl+Click support for Right Click actions.

Tile 52
article thumbnail

Breakout: Blocks

The Liquid Fire

For example, you can select one Block in the Hierarchy window, and then shift + left-click the last block, and it will select all of the blocks in between. Left-click and drag the original Block from the Hierarchy window to the Project window, and drop it onto the “Assets/Prefabs” folder. Create A Prefab. Edit A Prefab.

article thumbnail

Creating a See-Through | X-Ray Effect In Unity – Shader Tutorial

Awesome Tuts

To see the available shaders first we need to create a material by Right Click -> Create -> Material: After we create the material, select it by Left Clicking on it, then in the Inspector tab you can see its options. Now that we have the shader, create a new material by Right Click -> Create -> Material.

Shaders 90
article thumbnail

Breakout: Game

The Liquid Fire

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class Hole : MonoBehaviour { public UnityEvent fallEvent; void OnCollisionEnter2D(Collision2D collision) { fallEvent.Invoke(); } }. As far as scripts go, this one is quite simple, still, there are several things to point out.