article thumbnail

Godot Tactics RPG – 12. Stat Panel

The Liquid Fire

Stat Panel In the folder “Scripts->View Model Component”, create a new script named “StatPanel.gd” We’ll extend LayoutAnchor in this one so we can add the positions to move the panel on and off screen to later. Now that the panels have all been created, lets add the scripts we created earlier.

article thumbnail

Godot Tactics RPG – 15. Turn Order

The Liquid Fire

Once the script is attached, select the “Battle Controller” node and in the Inpsector, assign the Turn Order Controller node to its variable. The first line we send a signal to tell our turn controller to continue, and then we select the unit’s tile. The ChangeState will look the same as it did before.

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

How to change the offset of a Tiled Sprite

Cocos

Hi, i want to apply a sprite as a tiled background and apply to it an animation like a movement. I don’t want to make a script that calculate position and if at certain value must to set the start position. This Node has a sprite set as Tiled I want to give this effect changing the “offset” of the texture/sprite of it.

Tile 40
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

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. They are available in this package here.

Tile 52
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. “”” this is a comment “”” Although it looks like this can only be used in certain parts of your scripts. x scripting course, or it may be easier for the time being to find a beginner Python course.

Tile 52
article thumbnail

D20 RPG – Pathfinding

The Liquid Fire

In that project, we had some unique challenges thanks to a non-square board where tiles were optional. In addition we had to consider tile heights – and whether or not a unit could jump as high as needed. In contrast, the pathfinding in this lesson will be for a 2D square board with no missing tiles.

Tile 52