gai-godot-games/pathfinding-algorithms/addons/sprout_lands_tilemap
Yan Wittmann 5bbcb41011 Added tilemap example 2024-11-05 12:16:17 +01:00
..
assets Added tilemap example 2024-11-05 12:16:17 +01:00
base/scenes Added tilemap example 2024-11-05 12:16:17 +01:00
examples/scenes Added tilemap example 2024-11-05 12:16:17 +01:00
installer Added tilemap example 2024-11-05 12:16:17 +01:00
media Added tilemap example 2024-11-05 12:16:17 +01:00
ATTRIBUTION.md Added tilemap example 2024-11-05 12:16:17 +01:00
LICENSE.txt Added tilemap example 2024-11-05 12:16:17 +01:00
README.md Added tilemap example 2024-11-05 12:16:17 +01:00
icon.png Added tilemap example 2024-11-05 12:16:17 +01:00
icon.png.import Added tilemap example 2024-11-05 12:16:17 +01:00
plugin.cfg Added tilemap example 2024-11-05 12:16:17 +01:00
sprout_lands_tilemap.gd Added tilemap example 2024-11-05 12:16:17 +01:00

README.md

Sprout Lands Tilemap

For Godot 4.3. Made in collaboration with Cup Nooble.

Example on itch.io
Example Screenshot

Use Case

Start building worlds with the free Sprout Lands Asset Pack right away.

Requirements

  1. Download and run Godot.
  2. Start a new project and have it open.

Installation

GitHub

  1. Download the latest release version from GitHub.
  2. Extract the contents of the archive.
  3. Move the addons/sprout_lands_tilemap folder into your project's addons/ folder.
  4. Open/Reload the project.
  5. Enable the plugin from the Project Settings > Plugins tab.
    If it's enabled for the first time,
    1. A dialogue window will appear asking to copy the example scenes out of addons/.

Usage

The example scene can be opened and worked in directly. If you'd rather start from scratch, here are the instructions.

  1. Start a new scene with a Node2D.
    Clicking on 2D Scene
  2. Instantiate a custom scene as a node.
    Instatiate a Custom Scene
  3. Locate SproutLandsTileMap.tscn and open it. Open Custom Scene
  4. Confirm the new node is added and selected in the scene tree. Confirm new node
  5. Open the TileMap editor, (if it is not open already).
    Selecting TileMap Editor
  6. Select to draw terrains.
    Selecting to draw terrains
  7. Select a terrain to draw (ex. Grass)
    Selecting Grass Terrain
  8. Draw the terrain (ex. Grass) in the scene view.
    Drawing Grass

Intermediate Usage

You may noticed that only one kind of tile can occupy any given space, while some tiles have transparency and should be placed over others. For this, there are layers that can be changed in the TileMap editor.
Changing TileMap Layers
The names are merely for convenience and do not enforce any rules themselves.

Attribution
Code License