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 Discussion / sword swinging after-image effect

Author
Message
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 14th Mar 2003 12:24
I know that most people here (maybe all) has seen the after-image effect thingy. An example of this is Zelda (the ones on N64). When you swing the sword, theres like a white tranparent slice in the air. I haven't got much ideas about how to do this. The only two things i can think of (and theyre not good especially the first one) is to make an animated 3d object or to have a particle effect following the sword. the first option is now good for the programmer if you need alot of those effects and the second option wouldnt be good for slow computers i think. Does anyone have any good ideas?
--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 14th Mar 2003 13:42
well i haven't seen it but I guess you could make a 2d image of your sword and texture that onto a ghosted plain. Everytime you wanted the after effect you could make more of these plains and they'd be placed where the sword had just been and left there to fade out using fade object...
Something like that anyway.

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 14th Mar 2003 14:00
no way. Even i want it optimized for slow computers too i still want it to look nice not 2d'ish. on second thoughts, maybe it isnt such a bad idea. I'll sleep on it tonight .

For my game i am going to have about 5-10 sword swinging so it would still take a lot of effort, but it may be worth it. just thinking to myself. lol i think to much sometimes

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 14th Mar 2003 14:26
Believe me, that could look VEEEERRY nice!!!

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 14th Mar 2003 14:47
Raven knows how (^_^)
but he keeping quiet hehee

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 15th Mar 2003 02:17
:S RAVEN PLEASE TELL ME!!!

danmatsuma have you tried it? I need it mostly programming since im horrible at making graphics .

sigh...

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 15th Mar 2003 08:39
c:\program files\dark basic software\dark basic\extras\3ddraw

perhaps that holds your answer

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 15th Mar 2003 13:29
i cant find the extras folder! theres none! are you making this up to make fun of me?

--------
I HAVE SOME IDEA HOW TO PROGRAM DARK BASIC!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 15th Mar 2003 15:48
if you don't have it then i'd hazzard a guess that you need to download the db 1.13 patch

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 15th Mar 2003 23:17
but ive already downloaded that patch. :~

--------
http://www.stellarblue.vze.com/
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 15th Mar 2003 23:58
I don't have an extras folder either and I have patch 3. I think Raven's just being mean.

"All programmers are playwrights and all computers are lousy actors."
-Anon.
The Darthster
23
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 16th Mar 2003 00:54
I have it. Right there. It's a program which lets you 'draw' polygons with the mouse. I haven't checked the code to see how it works yet, but it looks useful.

Once I was but the learner,
now, I am the Master.
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 16th Mar 2003 02:57
what are you talking about? do you have the DB enhancments thingy? Please put the snippet up here!

--------
http://www.stellarblue.vze.com/
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 16th Mar 2003 09:15
I don't think you downloaded the entire patch...

DarkBasic 1.13 Patch
DarkBasic 1.1x Extras
DarkBasic 1.1x Help
DarkEdit_ 1.56

and infact if i remember right they've now included the Extra's into the help update itself, because its part of the enhancements pack - but you get the enhancements pack included in Patch 1.1x, you just need to make sure after 30days you use the DarkMatter CD so it can varify you have it.

Here is the code, but if you don't have Enhancements still active then it ain't gonna work


i wish sometimes people would open their eyes when they download patchs ... no wonder they're always bloody asking for help and such if they don't download the entire patchs.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 16th Mar 2003 10:58
thanks raven... i think...

--------
http://www.stellarblue.vze.com/
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 16th Mar 2003 11:02
theres no extras patch that i can see...

--------
http://www.stellarblue.vze.com/
kfoong
23
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 16th Mar 2003 11:11
So back to the original question, does anyone have any idea to do it, WITHOUT the enhancement pack?

--------
http://www.stellarblue.vze.com/
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 16th Mar 2003 11:37
the only other real way to achieve it is with Particle Plains ... have them at the same Z angle as the sword itself - increment the rotation using the axis of the had as the pivot point for a CosSin 'orbit' rotation

but it looks ugly if you don't do it right, even if you do the colliding polygons look nasty sometimes

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 17th Mar 2003 04:58
I don't have enhancements and I stick with what I said earlier, it's pretty much like what raven said but you don't need enhancements to do it, just some math to calculate where to position/angle the ghosted plains and when to show them, when to fade them, when to reset them.

It should look cool but as I said I haven't seen the effect you're talking about, just imagining how I'd do it

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Blazer
23
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: United States
Posted: 17th Mar 2003 16:37
you could attach and titlt a plain, and texture it to look like the *Swoosh* look, then ghost it. then when you swing the sword, slowly scale it and move it right behind the sword

As I walk through the vally of the shadow of death, I will fear no evil.
- Psalms 23:4

Login to post a reply

Server time is: 2026-06-11 21:22:27
Your offset time is: 2026-06-11 21:22:27