two last problems...
Posted: Mon Jun 02, 2008 11:40 am
im learning alot from you guys on this forum, and im almost finished my first game took me awhile but im still quite proud of myself =P, after all i am only cough*14* anyway, my point,
there are two last problems i need for someone to help me with, the first is:
when the actor is attacking the other actor, it creates an actor, that does the
dmg, according to the variable called dmg1p/2p (depending on which actor is getting hit)
the problem i have right now is that i cant decide on the collision event of the actor getting hit to put it on either collide event as enable repat, or disable repeat, what happens when i disable is that when the actor called dmg1p/2p collides with the actor getting hit, the first time everything is fine, the damage is delt and everything, but if both actors stay in the same place again, the damage wont be delt, until the actors move away from each other, and come back into place.
im not sure if that was clear, ill try to explain it again XD ok... hmm
for example,player one is called 1 (how original i know)
the other player(player two) is called 2 (XD)
the variable to do damage to the first player is dmg1p
and the actor that takes the variable number and does the damage when it collides with the player one (which is going to be the actor getting delt damage in this example)is called damage1p
ok, heres the example hopefully your with me,
player one is standing there being stupid =)
player two comes up, and attacks, (if you need a visual picture, he swings a sword)
when he swings this it will create an actor called damage1p in the position player two is at
and the damage delt to player one is equivalent to dmg1p (which is set by which key is pressed by player two/which attack)
the problem i have is that the second time he swings in the same position the player one doesnt get damaged.
any resolutions to this problem? or mabye its just because i've only tested this with an AI, and mabye i created the AI wrong and it created that glitch...ok, the second problem should be easier.
i'm trying to make a game like those 1on1 fighting games ( for example there are guiltygearX,marvelversuscapcom,etc.)
anyway, in the beggining of the fight, the actors fighting have the events disabled so they cant move, and i want to have a timer with an animation of something like (3...2...1...fight!) and the events are enabled at this time... if someone can post a demo i'd be greateful, and of course, ill giv you a point for anyone that can help me with my last two problems
I'M finnally close to done my first game...
there are two last problems i need for someone to help me with, the first is:
when the actor is attacking the other actor, it creates an actor, that does the
dmg, according to the variable called dmg1p/2p (depending on which actor is getting hit)
the problem i have right now is that i cant decide on the collision event of the actor getting hit to put it on either collide event as enable repat, or disable repeat, what happens when i disable is that when the actor called dmg1p/2p collides with the actor getting hit, the first time everything is fine, the damage is delt and everything, but if both actors stay in the same place again, the damage wont be delt, until the actors move away from each other, and come back into place.
im not sure if that was clear, ill try to explain it again XD ok... hmm
for example,player one is called 1 (how original i know)
the other player(player two) is called 2 (XD)
the variable to do damage to the first player is dmg1p
and the actor that takes the variable number and does the damage when it collides with the player one (which is going to be the actor getting delt damage in this example)is called damage1p
ok, heres the example hopefully your with me,
player one is standing there being stupid =)
player two comes up, and attacks, (if you need a visual picture, he swings a sword)
when he swings this it will create an actor called damage1p in the position player two is at
and the damage delt to player one is equivalent to dmg1p (which is set by which key is pressed by player two/which attack)
the problem i have is that the second time he swings in the same position the player one doesnt get damaged.
any resolutions to this problem? or mabye its just because i've only tested this with an AI, and mabye i created the AI wrong and it created that glitch...ok, the second problem should be easier.
i'm trying to make a game like those 1on1 fighting games ( for example there are guiltygearX,marvelversuscapcom,etc.)
anyway, in the beggining of the fight, the actors fighting have the events disabled so they cant move, and i want to have a timer with an animation of something like (3...2...1...fight!) and the events are enabled at this time... if someone can post a demo i'd be greateful, and of course, ill giv you a point for anyone that can help me with my last two problems
I'M finnally close to done my first game...