0 votes

Hi, I was wondering if there was something similar to GameMaker Studios' surfaces.

Basically, I want a node (for example, blood) to be fly out from an object, and come to a halt. Then be drawn on the surface, delete the blood instance, but the surface still has the sprite on it (but it can't be moved or manipulated - it's just drawn once and stays there).

In GM:S surfaces were really easy to implement and efficient.

in Engine by (12 points)

1 Answer

+1 vote

I guess you could use a viewport as a texture,

if you set the viewport so that it dont clean on every frame, you culd use it as a texture over the object you want to draw uppon (like the wall)

i'm not really sure that this is the best wayt to do it, but take a look at:


by (16 points)

Thanks, yeah I've been leaning towards viewports. Seems overkill, but it'll work for now

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.