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.

Newcomers DBPro Corner / Combo system

Author
Message
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 18th Jun 2005 19:39
Does anyone know how ta make an combo attack system?


True Phantasy
vid1987
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Oklahoma
Posted: 19th Jun 2005 02:13
Hello,

I have asked this before...

First you have to start off with your first attack... and attach a variable to it to indicate what attack it is...

If leftkey()=1 then whatever : atk1=1
If atk1=1 and rightkey()=1 then whatever : atk2=1
If atk2=1 and upkey()=1 then whatever : atk3=1
If atk3=1 then whatever : atk1=0 : atk2=0 : atk3=0

Do you get the idea?

I hope i helped.

Peace


"If I wasn't so poor... I'd be rich..." Me
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 20th Jun 2005 06:30 Edited at: 20th Jun 2005 06:32
Whaaaat? The time ins't present in there! like if i press rightkey once an then, after 2 min i press again, that will do the combo....
I relly know that was the way to do that but i really need the code for the press on right time, like in Phantasy Star Online


True Phantasy
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 21st Jun 2005 21:38
im a noob, but i can tell you this :-

since :-

a = 1
b = 2
c = 3
d = 1+2+3

print d

wait key

then the answer would be 6 . Same thing with the combo system :-
(lets assume Z, X and C are 3 attack buttons , presses together make a combo)

Z = swing sword at enemy
X = jump
C = kick
D = Z + X + Y (rem imagine D is the combo attack (z+x+y) )

Print D
(rem replace print with whichever command it is to activate D)

Was this helpful , once again , im a noob

pls reply---
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 21st Jun 2005 21:40
Sorry , it Should be Z , X and C not X , Z and Y

pls reply---
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 20th Jul 2005 21:14 Edited at: 20th Jul 2005 21:16
lol, thxs for the help... that gives me an idea for something
But againg the troble is the correct time

If i press (ex) "A" key:

But as i told you before, if i do the way that you're saying i'd have to do something like do diferent attacks instead of a combo cause a combo is a sequence.
I don't know but i think is something like this:

I really don't know if it can be done like that


True Phantasy
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 20th Jul 2005 21:48
Make a timer:

if leftkey() = 1 then attack = 1 : delay = 20
if attack = 1
dec delay
if delay > 0
if rightkey() = 1 then attack = 2
delay = 20
endif
endif
etc...

Immunity and Annihalation makes Immunihalation...
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 20th Jul 2005 22:54
Thxs a lot!


True Phantasy

Login to post a reply

Server time is: 2024-09-23 23:21:40
Your offset time is: 2024-09-23 23:21:40