0 votes

Is there a way to change single cells from a tilemap, what I want to do is to change the cell that the player is stepping on.
is this feasible with tilemap
The solution I have now involve the use of staticbody but I think this would a performance killer in the long run.

in Engine by (114 points)

2 Answers

0 votes

You can change single cells of a tilemap with set_cell: https://docs.godotengine.org/en/3.1/classes/class_tilemap.html?class-tilemap-method-set-cell
I suggest you have a look at the doc to see which other functions are available.

by (28,795 points)

Thank you for the help but I find the documentation a little bit ambiguous for beginner and more tailored for experienced programmer.
I can read the methods, there is no explicit description.
But I did found an answer from KidsCanCode YouTube channel the link is down below

0 votes

I found the answer in this video from KidsCanCode on youtube:
check out here is the link:

by (114 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.