How to make tilemaps of different node instead StaticBody ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Daniel Bitencourt

I’m creating a bubble shooter game, I want to draw the bubbles on the screen. Tilemaps have the StaticBody node, I would like to exchange it for a RigidBody and give a behavior for each tile frame, each frame being a bubble. Or even some other way to draw the bubbles instead of adding lots of nodes one by one.

:bust_in_silhouette: Reply From: exuin

Tiles on a TileMap aren’t meant to move around - you can’t turn them into Rigid bodies. You could try using a for loop to instance the bubbles instead.