Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Using z pos in a move?
#1
Hello peeps, I've been wandering for quite a while on this site (even though I just had the idea of joining the forum) and I think the best is to ask questions directly instead of trying to find the exact same problem, hope I can try helping people too :D

So, I'm trying to make a move for my character that would move on the z-axis.
The idea is that there's a main ball crossing the screen (starting from top) and that is shooting other balls.
I don't know if I can link videos but you can see Touhou 3d Marisa vs Flandre on youtube at 4:50 to have a better understanding.

My first try was kinda nice, it was a rain of colored balls, but I had a few probs:
1. I wanted more of a "shooting star" effect than actually have random balls falling in anarchy (still was beautiful lol)
2. Using only dvx and dvy to move the balls, I had to use a large zwidth number to make it reach all the screen.
3. Hit_a wasn't working properly and the attack was going on for ever (but since it was going downwards, it gets out of the screen)

I'm now using this pattern for each colored ball
    DC-Code:
<frame> 0 Red
  pic: 0  state: 3005  wait: 1  next: 1  dvx: 14  dvy: 2  dvz: 0  centerx: 8  centery: 16  hit_a: 20  hit_d: 35  hit_j: 0 
  itr:
     kind: 0  x: 2  y: 2  w: 13  h: 13  vrest: 15  fall: 60  bdefend: 30  injury: 4  zwidth: 10  effect: 1
  itr_end:
<frame_end>
 
<frame> 1 Red
  pic: 0  state: 3005  wait: 10  next: 0  dvx: -14  dvy: 2  dvz: 0  centerx: 8  centery: 16  hit_a: 20  hit_d: 35  hit_j: 0 
  itr:
     kind: 0  x: 2  y: 2  w: 13  h: 13  vrest: 15  fall: 60  bdefend: 30  injury: 4  zwidth: 10  effect: 1
  itr_end:
  opoint:
     kind: 1  x: 30  y: -20  action: 2  dvx: 3  dvy: 1  oid: 271  facing: 0
  opoint_end:
<frame_end>


It's making a cross-like attack (because the chara is opointing 2 times the attack facing front/back) which is closer of what i'm looking for but the endless attack prob isn't fixed. Should I simply use a certain number of frames for each ball until the end or pray for the timer to stop the attack? xD

So after this quite long first post, I'd like to know what you guys think :P
Also, some of the attack animations of my characters are blinking while playing, not sure why since each frame is connected and no picture is missing.
And Then Will There Be None?
Reply
Thanks given by:


Messages In This Thread
[solved] Using z pos in a move? - by GentleSlayer - 12-03-2013, 03:59 AM
RE: Using z pos in a move? - by Nyamaiku - 12-03-2013, 08:22 AM
RE: Using z pos in a move? - by YinYin - 12-03-2013, 09:26 AM
RE: Using z pos in a move? - by GentleSlayer - 12-03-2013, 06:04 PM
RE: Using z pos in a move? - by Nyamaiku - 12-04-2013, 04:37 AM
RE: Using z pos in a move? - by GentleSlayer - 12-04-2013, 05:51 AM
RE: Using z pos in a move? - by Nyamaiku - 12-04-2013, 01:28 PM
RE: Using z pos in a move? - by GentleSlayer - 12-04-2013, 06:12 PM
RE: Using z pos in a move? - by YinYin - 12-04-2013, 06:22 PM
RE: Using z pos in a move? - by Nyamaiku - 12-04-2013, 06:34 PM
RE: Using z pos in a move? - by GentleSlayer - 12-04-2013, 06:58 PM
RE: Using z pos in a move? - by Nyamaiku - 12-06-2013, 07:51 AM
RE: Using z pos in a move? - by GentleSlayer - 12-06-2013, 04:31 PM



Users browsing this thread: 1 Guest(s)