Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Ok i need help with this

Author
Message
Andrew
22
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: United Kindom (what makes it important?)
Posted: 25th Sep 2003 21:20
Ok i have learnt a lot, but i just cannot figure this out.
Ok my animation for my Character has a sword which swings (using max studios)
Ok now i want to collide this with the enemy.
if object collision.........

But hold on, that's when the character runs straight up to it.
How do i make sure that the sword has to hit the enemy....
This is just 1 question i cannot answer

My game will make sure Final Fantasy will never be forgotten.
Remember me because my game will be in the shops in a year or 2.
Darclyte
23
Years of Service
User Offline
Joined: 13th Jun 2003
Location: Cydonia, Mars
Posted: 25th Sep 2003 22:27 Edited at: 25th Sep 2003 22:27
Make your sword as a seperate model, then use the 'glue object to limb' command to attach it to your characters arm. That way you can identify the sword with a different object number than your model!

Strings are PChars ??????? What a World
Andrew
22
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: United Kindom (what makes it important?)
Posted: 25th Sep 2003 22:53
IS there an easy way, i mean like can i have instead of glue the objects, is there a way to have an animation played in order to collidie.

For eaxample, you collide with the enemy, but a certain animation must be played in order to deal damage.

Also if i was to glue the object to another, how do i make the sword move when the character does?

My game will make sure Final Fantasy will never be forgotten.
Remember me because my game will be in the shops in a year or 2.
malcom2073
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 25th Sep 2003 22:56
If you glue the object, it will move with the character. As for colliding, I think the only way is to glue it, it isnt that hard.
Darclyte
23
Years of Service
User Offline
Joined: 13th Jun 2003
Location: Cydonia, Mars
Posted: 25th Sep 2003 22:57
Hmm, Glueing is the easy way,.... and it will make your sword move automatically with your character, hence 'Glue'!

Wouldn't you only be checking for sword collision when you hit an attack button and played your animation anyway?

Strings are PChars ??????? What a World
Andrew
22
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: United Kindom (what makes it important?)
Posted: 25th Sep 2003 23:03
So basically your saying i have a character......now i glue a sword to it (no idea how to place it on it's hand)
And when the character moves, the sword moves with it.
So when i have something like collision, you would have the collision between the character sword and the enemy like:

If object collision (character sword,enemy)
...............and so on

Starting to understand, so basically i dont need an animation for the sword do i, i just need the animation for the hand to move up then down (just imagen that the sword is there)

But if my character is walking/running i dont need the glue object because i can have the sword on the back when running.....right?
But if the character is standing still i will need to have the glue object

My game will make sure Final Fantasy will never be forgotten.
Remember me because my game will be in the shops in a year or 2.
Darclyte
23
Years of Service
User Offline
Joined: 13th Jun 2003
Location: Cydonia, Mars
Posted: 25th Sep 2003 23:17
That's it, you're getting there..!

Practice........!

P.S. Change that 2 years to 5 in your signiture!

Strings are PChars ??????? What a World
Andrew
22
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: United Kindom (what makes it important?)
Posted: 25th Sep 2003 23:42
Very funny - well i guess i will have to anyway because i have to do the character and everything.

Thanks a lot for the help and P.S can i place your name as a helper in my game....get famous LOL

My game will make sure Final Fantasy will never be forgotten.
Remember me because my game will be in the shops in a year or 2.

Login to post a reply

Server time is: 2026-07-25 07:01:11
Your offset time is: 2026-07-25 07:01:11