Hi,
How can i make a hitbox of some items and objects? example, i have a tree that is randomly spawned in the 5000x5000 pixel world, the world is 2d but you can move up, down, left, right, just like an mmo. So when the character comes near a tree, the tree would block him and he needs to go around it.
Thanks
HitBox of items
Re: HitBox of items
This is called collision detection. There are tutorials on the wiki, tutorials in the forum, libraries on the wiki, libraries on the forum and questions on the forum. Please put some effort into searching for something as common as this before starting a thread and waiting for people to give you the answer you would literally find in less than 10 minutes on your own.
Who is online
Users browsing this forum: Bing [Bot], YaCy [Bot] and 13 guests