article thumbnail

Godot Tactics RPG – 03. Input & Camera

The Liquid Fire

Setting Up Input Mapping I think the biggest things in Godot that are a bit different with input are that the mouse scroll wheel is considered a button click. One click for each ‘tick’ the wheel scrolls. Next we need to create a new folder under Scripts. This script will be pretty simple. BoardCreator.

Tile 59
article thumbnail

Godot Tactics RPG – 01. Intro & Setup

The Liquid Fire

From there I used Sphere, an open source 2d Engine that scripted in javascript. You can download Godot here – [link] Click the link to Download the 4.x Unzip the folder and click on the program.exe(it should be something like “Godot_v4.1.3-stable_mono_win64.exe”) Downloading & Running I am using Godot 4.x

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

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. Editor: Instanced scenes: Keep default exported script values unless overriden. Math: Correct hash behavior for floating point numbers. Editor: Default game window placement to Centered.

Tile 52
article thumbnail

Godot Tactics RPG – 05. Pathfinding

The Liquid Fire

As we need to find all possible tiles a unit can move to, A* quickly bogs down because it is designed to find a single path from point A to B as quickly as it can, but finding a path from A to B-Z is a lot of individual paths. We’ll add this to the same script as the Dirs enum. The breadcrumbs mentioned earlier.

Tile 59
article thumbnail

Godot Tactics RPG – 02. Board Generator

The Liquid Fire

We’ll create everything we need to build our tiles and generate a board or two. If you want to copy code, click the button in the corner of any snippet Toggle RAW Code. “”” this is a comment “”” Although it looks like this can only be used in certain parts of your scripts. Vector2i. (I

Tile 52
article thumbnail

D20 RPG – Board

The Liquid Fire

A lot of people asked about making 2D maps and how to use different types of tiles like water vs dirt. For this lesson I created a couple of simple images to use for tile maps. This asset will be sort of abstract data, and can be “skinned” with specific tiles at a later point.

Tile 52
article thumbnail

Godot Tactics RPG – 06. Anchored UI

The Liquid Fire

This time we’ll be working on some scripts to make working with anchor points in code a bit simpler, and allow us to animate some things in our UI. Test Scene Before we get into the lesson, I’d like to take a moment to set up the scene we’ll be using as a playground for the new scripts. Welcome back to part 6.