About Store Forum Documentation Contact



Post Reply 
Hit Detection
Author Message
Dead3Force Offline
Member

Post: #1
Hit Detection
Hello i recently discovered Esenthel and i couldn't be more pleased with it, but nothing is perfect and programming isn't something i master (i can only understand basic/average).

So what i need is some sort of tutorial or something that could teach me on how to especificaly add hit/colision detection to a character or npc in game, so that when object X hits some part of body it detects and with that i can add damage , etc...

Basicaly it's:

Sword -- Animation -- Hit -- Leg ( For this would be great to use the skeleton to add more variety to where the sword hits )


My sincere Thanks. Have a good day wink ...

Edit: Is there a way to add limits to a map so that the Chr can't walk there??

I know there are the paths but that only seems to work with the RTS games ...


All The Best...
06-18-2009 07:23 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: Hit Detection
Hi,

A lot of users are requesting precise hit collision detection on characters, so I think I'll add a tutorial about it.

Quote:Edit: Is there a way to add limits to a map so that the Chr can't walk there??

I know there are the paths but that only seems to work with the RTS games ...
The "Paths" apply only to the pathfinding algorithm (the character avoids red squares when moving).
But it doesn't affect walking manually.
You can always apply invisible physical bodies on the level (objects with actors but no meshes wich will act as blockades)
06-18-2009 10:18 AM
Find all posts by this user Quote this message in a reply
Dead3Force Offline
Member

Post: #3
Re: Hit Detection
Ok, thanks !! grin

When i have the engine doing what i want ( eheh ) i will present you the game i'm designing, it will be free but if i get positive comments i will think of lincensing it .

P.s. Sorry for my somewhat clumsy english , i'm from Portugal...

Have a nice day.
06-18-2009 11:20 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
Re: Hit Detection
good luck with the game smile
06-18-2009 11:23 AM
Find all posts by this user Quote this message in a reply
menajev Offline
Member

Post: #5
Re: Hit Detection
Esenthel Wrote:so I think I'll add a tutorial about it.
Don't forget about guys, who aren't using derived of Game::Obj, please. wink
06-18-2009 12:01 PM
Find all posts by this user Quote this message in a reply
Post Reply