0 votes

I wanted to turn a 2d pixel png into a platform that a player/object could stand on. If you do know how or if possible, please do provide steps, as a beginner of godot and if it's stupid, please let me know. I would be very grateful.

enter image description here

Godot version 3.4
in Engine by (17 points)
edited by

1 Answer

0 votes
Best answer

https://godottutorials.pro/how-to-make-games-godot/
Use "Staticbody2D"
look left (image)= Node name "Staticbody " "!" add "CollisionShape2D"

by (650 points)
selected by

I did put static body to the 2d pixel png, but what i'm aiming for is like perfect-pixel collision.

enter image description here

I might as well edit this question to understand the context.

Add "CollisionShape2D" to "Staticbody2d".
"CollisionShape2D" will be the child of "Staticbody2d"

It works! Tysm :,DDDD

You are welcome

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.