Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Waiting frames
#1
well for an move of mine i need to make some waiting frames

like

they should be one frame where he waits until he press a then he starts the attack

or he just wait a little time than he starts the attakc how can i do it ??
[Image: 333wc2q.png]

only the past knows how the future looks like ~ HW
Reply
Thanks given by:
#2
Erm,

just make an extra frame with the wait value you wish to use (the other attributes of the frame (except next) should be the same), at the frame where he waits use hit_a: xxx (xxx the frame where the attack is)
Quote of the Day f***ing Year (Click to View)
Reply
Thanks given by:
#3
and how can i let an frame continue aslong as i stop it like firen´s flame thrower???
[Image: 333wc2q.png]

only the past knows how the future looks like ~ HW
Reply
Thanks given by:
#4
At the last frame of your attack, put next: xxx (where xxx is the number of the first frame of that attack, i.e. where it should repeat from). Don't forget hit_d: yyy and hit_j: yyy (when mp runs out, which frame to go to).
Quote of the Day f***ing Year (Click to View)
Reply
Thanks given by:
#5
okay thanks ^^ and how can i let my char get or lose hp or mp while doing an contiuning attack like im firens flame thrower````?????
[Image: 333wc2q.png]

only the past knows how the future looks like ~ HW
Reply
Thanks given by:
#6
For loosing mp:
Just add mp: -??? in that frame.

For others:
(Im)posible.(that means not imposible but a buggy method is required if posible(I cant think of any))
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by:
#7
To get or lose hp would require another object. I'm trying to not sound offending but this might go a little over the top of your current skill level.
Getting mp is even harder. The easiest way is losing mp. It's the solution Someone else described. It'd look similar to this:
    DC-Code:
<frame> 300 wait
   pic: 0  state: 0  wait: 5  next: 300  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 1  hit_j: 0  mp: -6
   bpoint:
      x: 43  y: 38
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 46  weaponact: 35  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

edit: yay, I was so smart to forget the hit_d-value :D
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#8
Losing hp: opoint a ball with a itr/kind:0 and state: 18. The itr must be very high in the air so only your char get hit.

In the move's frames, give it bdys with the same y value so it could get hit.

Bug: you could die if you don't stop in time.
Reply
Thanks given by:
#9
no one Wrote:very high

That could be misunderstood as "very high damage" :P.
I guess you mean "high up in the air", or am I wrong?

TITLE: a idea
make cave for bear?
Reply
Thanks given by:
#10
Quote:so only your char get hit.

if it's "very high damage" other will get hit too.

Anyway, edited.
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)