Search found 2 matches

by Maltasparks
Fri Feb 13, 2015 11:51 am
Forum: General
Topic: HitBox of items
Replies: 2
Views: 1555

HitBox of items

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 i...
by Maltasparks
Fri Feb 06, 2015 12:42 pm
Forum: General
Topic: Proximity Detection of an Obejct
Replies: 2
Views: 2738

Proximity Detection of an Obejct

Hi, i am trying to do prox detection Example: i have a character that moves and there is a tree within 500 pixels then i use isDown("q") and it uses detection, and the closest tree near will start to be chopped(the character x/y will change and he will move near the tree). The chop class c...