I have no idea how to do collisions and i need someone to explain it to me like in two

Godot Version

4.2.1

Question

so i have a 2d top down game with a player (who is a area 2d node with camera 2d, collision shape 2d, and animated sprite 2d) and i need to know how to make objects solid (like walls, bookcases, and tables etc.), as well as when in the collision zone of the bookcase the ability to hit enter to get a pop up to show up. pls help. pls. :sob::sob::sob::sob::sob::sob:

thank you for your time

also i need to know how to lock the player to a specific area of the screen

To make a solid object use StaticBody2D
To make a zone use Area2D
Hope that help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.