Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Too many enemies = The move gets slower.
#11
use state 7 in the attack or remove the bdy
Reply
Thanks given by: A-Man
#12
may be add sth like vrest/arest: 6 would help?
Reply
Thanks given by: A-Man
#13
I tried but it didn't work, and for bashcrazy way the enemies are not effected by any attack when in attacking frame, maybe that's because of state 7.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#14
Could you post some of the code of the "enemies"
frames link to the fall -1 attack
Reply
Thanks given by: A-Man
#15
    DC-Code:
<frame> 59 punch
   pic: 0  state: 3  wait: 10  next: 60  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 30  y: 18  w: 28  h: 60
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 35  w: 37  h: 24
   bdy_end:
<frame_end>
 
<frame> 60 punch
   pic: 10  state: 3  wait: 7  next: 61  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 30  y: 18  w: 28  h: 60
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 35  w: 37  h: 24
   bdy_end:
<frame_end>
 
<frame> 61 punch
   pic: 12  state: 3  wait: 1  next: 90  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\007.wav 
 
   bdy:
      kind: 0  x: 39  y: 19  w: 21  h: 61
   bdy_end:
   bdy:
      kind: 0  x: 51  y: 34  w: 26  h: 16
   bdy_end:
<frame_end>
 
 
<frame> 90 dash_attack
   pic: 13  state: 3  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 38  centery: 73  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 24  y: 18  w: 25  h: 55
   bdy_end:
   bdy:
      kind: 0  x: 13  y: 36  w: 52  h: 18
   bdy_end:
  itr:
      kind: 0  x: 49  y: 33  w: 30  h: 16  fall: -1  injury: 20   effect: 1
   itr_end:
<frame_end>


here is the code
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#16
that's some retarded code.
frame 59 is never used. and why go into the dash attack ?
Probably looks messed when you use the dash attack.

damn I read wrong my post about state 7 or removing bdy is completely wrong. I thought you said when you were using a special attack.
Reply
Thanks given by: A-Man
#17
something not good...
first... this is about the frame 59
because when you use attack in the game
actually the attack will start at frame 60 (or 65)
and i think you should care more about your dc habit
the code should be tidier even a person who look at the code at the first time can understand the code

at last...
how can the enemies hit you at the same time?!
i have seen the code and the itr range is not able to do that (i think the range is too small)

try to use high arest/vrest like 100
if the problem still can not be solved
just give up the fall: -1

Or... could you explain why did you use the fall: -1 and not fall: 20 or even higher?
Reply
Thanks given by: A-Man
#18
No it's not retarted or anything
why? here is the answer.
1. frame 59 is called via hit_a: 59 in walking standing running frames.
2.I don't want my enemy to be able to dash, jump, defend or to do a special move so I used the dashing attack frame because they are unused know.

so there is no problem in the code....
It is just a simple weak character and I don't care if it is messed up.

I just said it it in previous post, I want fall -1 because i am making tens of weak enemies and I don't want my special attacks to be stopped by those. That's all.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#19
oh! i am sorry...
You mean you want to make a character that only produce simple attacks?
That fall: -1 is used to slow down the speed of the character rather than giving damage to the character

if this is the end of the problem,
i think using high digit of arest/vrest could help
Reply
Thanks given by: A-Man




Users browsing this thread: 1 Guest(s)