0 votes

Is it possible to get what I have drawn in the Tilemap as a single image?

Screenshot of a map I have drawn.

Godot version 3.3.2
in Engine by (15 points)
edited by

Your image wasn't uploaded correctly. You can edit your first post and paste the URL to the image uploaded to a service such as Imgur.

1 Answer

0 votes
Best answer

if you use a viewport as a parent of a tilemap you can use this code to save your tile as png

var img2=get_viewport().get_texture().get_data()

by (80 points)
selected by

Thanks! I happened to find another way for what a had in mind. I might use your suggestion if it happens to be more effective in terms of performance.

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 Frequently asked questions and 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 [email protected] with your username.