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.

asked Aug 14 in Engine by igbow (32 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.

answered Aug 14 by Zylann (18,389 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:
https://www.youtube.com/watch?v=OzgK__VowVs

answered Aug 14 by igbow (32 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.