#Tilemap

2025-03-13

When programatically adding tilemap tiles to a scene (using set_cell()), is there an easy way to avoid needing to specify 'magic' numbers as the atlas coordinates?

I thought about defining constants for the coordinates I use, but then I'd end up with dozens of them, and I wonder if that's even helping or not...

Has anyone else done this? What was your solution?

#Godot #GodotEngine #Godot4 #GDScript #Tilemap #GameDev

2025-03-12

And now I got those same changes working in the editor too! I just had to add `@tool` to the top of my script.

#Godot #GodotEngine #Godot4 #GDScript #Tilemap #GameDev

2025-03-12

Look what I just figured out how to do!

I'm using tilemaps to create platforms, and I worked out how to make it so you can specify a season (spring, summer, etc. - which changes the tilemap that's used) and the length of the platform.

#Godot #GodotEngine #Godot4 #GDScript #Tilemap #GameDev

🗓 Sunday, November 24, 2024
🚀 Progress Report:

🔸 Day 329
🔸 Day 63
🔸

🎯 Today's Highlights:
1️⃣ Daily Reading:
📖 freeCodeCamp news: Read 1 article
🌐 Daily.dev: Read 1 article

2️⃣ Game Off 2024:
🎮 Downloaded Tiled and started crafting my tile map for a new game project! 🧩

3️⃣ Trello:
✅ Updated my board

4️⃣ Vim:
⏳ 5 minutes of Vim motion

Matteo Bilotta :fediverso:byloth@mastodon.uno
2024-11-18

Oh, giusto!
Ho dimenticato di mostrare il risultato, applicato al mio caso d'uso.

I giorni scorsi, ho riportato qui la versione sviluppata usando le #SpriteMap di #BabylonJS.
Questo -invece- è il risultato ottenuto con #ThreeJS mediante l'uso di una classe "#TileMap" e uno #Shader ad-hoc scritti dal sottoscritto.

Son molto contento del risultato! 🥰

La parte grafica di "visualizzazione" è praticamente finita.
Ora potrò -finalmente- concentrarmi sulla "ciccia" e le logiche "core" del gioco... 😏

Matteo Bilotta :fediverso:byloth@mastodon.uno
2024-11-14

"Come lo feci" di @byloth Von Frankenstein

#TileMap & #Mipmap: non vanno d'accordo...
Online è una cosa risaputa; «Everyone knows it!» - mi han risposto, in un forum!

«#YesBut... Why?» - e cadeva il silenzio...

Qualcuno ha provato a darmi delle risposte che -sul momento- ho preso per buone... In seguito, rivelatesi errate!

Ci ho messo 2 settimane...
Ma potrò lasciare ai posteri il mio retaggio: come usare tilemap e mipmap insieme.

discourse.threejs.org/t/seams-

«Si può fare!» 🤯

#BDDGZProject

Fermo immagine dal film "Frankenstein Junior" di Mel Brooks del 1974.

Un primo piano di Gene Wilder che -nel film- interpreta Frederick, il nipote del famoso barone Von Frankenstein, durante l'iconica scena in cui esclama la fatidica frase: «Si può fare!».
Matteo Bilotta :fediverso:byloth@mastodon.uno
2024-11-13

Migrazione a #ThreeJS.

Il primo problema è che -la libreria- non dispone di un componente già pronto per la gestione delle #TileMap (a differenza di #BabylonJS).

Online non ho trovato nulla che facesse al caso mio...
Mi metto -quindi- di buona lena ad implementarlo.

Un banale piano, una texture da caricare e qualche riga di #TSL da scrivere... E le famose #Mipmap?

Le abilito ma -anche il mio #Shader, come quello di Babylon- non le gestisce correttamente.

Qui il risultato. 😞

#BDDGZProject

2024-04-10

We published a new Ko-fi and Patreon exclusive asset pack - Red Rock & Grass pixel art Tilesets! It's free for all our followers!
Ko-fi: ko-fi.com/post/Red-Rock-Grass-
Patreon: patreon.com/posts/red-rock-gra

Vyr Cossont 🏳️‍🌈🏳️‍⚧️vyr@demon.social
2024-01-24

did you know that when you make a game, you have to make everything the player sees, or it doesn't exist?

i made part of this map and extended the tileset to support it on an overcrowded plane using Pixaki, which doesn't support tiles, so i had to basically re-create it in Tiled, but the hard part's done. now for the next hard part.

#PixelArt #TileMap #GameDev

Tiled tile editor showing a clearing in the woods, with an A-frame-ish main building and smoking chimney, a covered well, a small garden with a partially finished fence, and a roofed area with open sides for firewood. there are paths connecting the garden to the atelier and a location offscreen. the ground is missing in several areas.

tileset from https://kenney.nl/
2023-12-19

A much more successful isometric map test:

youtu.be/JZzAtB4ZJE0

#tilemap #isometric #projection #sfml

Jakub Steiner ⭐jimmac
2023-12-03

Adam does a nice rundown of the workflow in .

youtube.com/watch?v=_onhfikMN8k

2023-11-30

Check out Asesprite V1.3! The #tilemap editor is finally released!

youtube.com/watch?v=ukdxF8Xgew

#gamedev #pixelart #indiegamedev

Some fun in #Godot4 today. Created a small #Tilemap and added my #character sprinkled some #soundeffects to it and made it runnable.

🕶️ :ablobcatbouncefast:

clips.twitch.tv/CrepuscularSpa

Asjad Naqvi :stata:asjadnaqvi@econtwitter.net
2023-08-26

Dropping a new #Stata #dataviz #guide on how to reproduce a viral #USA #tilemap for historical #presidential #elections voting patterns. The guide contains all the info on packages required, code, & detailed step-by-step description.

Share your replications! #Stataviz

medium.com/the-stata-gallery/r

2023-08-13

I wrote an in-dept breakdown about the custom navmesh baking code that I wrote for my Godot 4 project (there are a lot of pictures): cohost.org/exodrifter/post/247 #godot #indiedev #gamedev #tilemap #navigation #explanation

2023-08-09

No flow? Then sharpen your pencils!

If one of this days where the juices do not flow, take a step back. And „sharpen your pencils“.

Doodle around with your pixeleditor. Read that manual of this that add-on you are using. Clean up your project folder or rework that one tile in your #tilemap. Or think about and prepare a new sound fx.

Eventy project can benefit also from this tiny tasks. Like making a holiday inside your project.

#gamedev #indiegames #gamedesign #sfx

2023-07-20

I'm currently toying around with #AutoTiling – and looked into how #Celeste is doing it. Its tilesets follow a common template (image 1). To my surprise it does *not* include all possible inner corners, though! It's noticeable in-game as well (image 2 or highlighted in image 3). Obviously saves time (16 tiles less), but for a game that includes multiple variations for most of its tiles, it seems rather odd? 🤔 Am I missing something here? @saint11

#GameDev #TileMap #TileSet

According to my internet research, this is the template shared between tilesets in Celeste: 48x120 pixels in total, divided into tiles of 8x8 pixels each. There's four different variations for each tile in one of the following categories:

- top edges
- bottom edges
- leftside edges
- rightside edges
- single horizontal middle tiles
- single vertical middle tiles
- single vertical top edges
- single vertical bottom edges
- single horizontal left edges
- single horizontal right edges
- single block tiles
- upper left corners
- upper right corners
- lower left corners
- lower right corners

The fifth column includes 15 different inner corner tiles, but notably misses the variations that would directly oppose an outer edge or corner. 

The last column includes 12 different variations of so-called "inground blocks", tiles that are used to blend between the edge tiles and the background shared between different tilesets in the game.

The remaining three tiles are unused/black.A screenshot from the game Celeste, showing a level that (presumably) uses tilesets that follow the template shown in the previous picture.The same screenshot as in the previous picture, with tiles highlighted in green where technically should be an inner corner tile directly opposing an outer edge. Instead the regular outer edge tile (without an inner corner) is reused there.
2023-01-03

The current state of my #tilemap. the colours are placeholder, but the thing works. It decides which of an array of 38 sprites will be shown on a particular place. The water thing takes up one tile, but 8 others are slightly affected and take a bit of water too.
#GameDev

The ancient human stands next to a small pond.
2023-01-03

There's something nice about making a #tilemap by hand. Don't know why, but what's more exhilarating than making sure tbe right sprite is shown when the north eastern neighbours is X and the western is Y? Not even kidding. I'll try to have a screenshot ready tonight. #GameDev

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst