Author Topic: Couple of things regarding Animations  (Read 2623 times)

0 Members and 1 Guest are viewing this topic.

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Couple of things regarding Animations
« on: March 08, 2010, 12:31:29 AM »
I was picking up on my Untold Mana game again, cuz I had the idea of using RMVX graphics to animate some Touhou Spell Cards I originally wanted to make (Claws of Kirin, Ignis Spear, etc.)

So far, I've finished animating Claws of Kirin. Basically, it spams VX's fire sword animation. However, near the end, there's a huge downward slash. What i want to do is make the screen shake when it slashes. The normal solution would be to call a common event, wait 8 frames, then shake screen (at least from my understanding). However, the common event ended up being called AFTER the attack finished. So, does anyone know how I can have the screen shake during the attack?

Second thing, this is relatively simple. I tried to combine two animations into one animation sheet, but readding the transparency makes the animations look stupid. I'm trying to combine Wind2 and Sword3 (RMVX RTP). Can anyone help me combine the two?

Thanks in advance.
Portals... must capture... ALL the portals... (click image to enlarge)

Raxus

  • とてもかっこいいですよ!
  • Mod-Suspect
  • Tier 7
  • *
  • Posts: 10102
  • Gender: Male
  • Ignore the Hats! I don't have a problem!
    • Cupcakes So Sweet and Tasty~
  • Current Mood: playful playful
Re: Couple of things regarding Animations
« Reply #1 on: March 08, 2010, 03:43:28 PM »
I dunno VX, but there's a "Shake Window" thing on RMXP.

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #2 on: March 08, 2010, 07:27:50 PM »
I'm using RMXP, and that's what I did (the event Shake Screen command), but as I said, it performs the action after the attack is done. But thanks, anyway ;)

For future reference, I'm using RMXP, not RMVX.
Portals... must capture... ALL the portals... (click image to enlarge)

Raxus

  • とてもかっこいいですよ!
  • Mod-Suspect
  • Tier 7
  • *
  • Posts: 10102
  • Gender: Male
  • Ignore the Hats! I don't have a problem!
    • Cupcakes So Sweet and Tasty~
  • Current Mood: playful playful
Re: Couple of things regarding Animations
« Reply #3 on: March 08, 2010, 07:49:20 PM »
Oh, okay. YOu have to put in the frame number you want it to hit. :gothat!:

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #4 on: March 08, 2010, 08:29:48 PM »
Hm. Well the common event is being called by the action itself. The common event tells the game to wait 8 frames then shake the screen (the big slash is on frame 9 of the attack.)

Unfortunately, it waits 8 frames after the attack is finished then shakes the screen, which is odd, and is my problem... *sigh*
Portals... must capture... ALL the portals... (click image to enlarge)

Raxus

  • とてもかっこいいですよ!
  • Mod-Suspect
  • Tier 7
  • *
  • Posts: 10102
  • Gender: Male
  • Ignore the Hats! I don't have a problem!
    • Cupcakes So Sweet and Tasty~
  • Current Mood: playful playful
Re: Couple of things regarding Animations
« Reply #5 on: March 08, 2010, 09:06:21 PM »
Oh... Hmmmm... I didn't think about common events >_> I'm not sure then.

LEGACY! OR REIVES! HAELP! :seraisweatdrop:

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #6 on: March 08, 2010, 09:27:37 PM »
It's alright Rax, at least you tried.
Portals... must capture... ALL the portals... (click image to enlarge)

Reives

  • Dr Platplat
  • Director
  • Tier 7
  • ****
  • Posts: 11332
  • Gender: Male
    • Freebird Games
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #7 on: March 09, 2010, 01:25:06 AM »
I'd help but I'm not familiar with that technical area / RMVX for that matter, sorry. :< But for the second part: Are you saving the animation as a JPG? Sounds like that might be the problem - if so, save it as PNG.

Legacyblade

  • 発行所は頑張って下さい!
  • Mod-Suspect
  • Tier 7
  • *
  • Posts: 2952
  • Gender: Male
  • Current Mood: playful playful
Re: Couple of things regarding Animations
« Reply #8 on: March 09, 2010, 03:55:04 AM »
I don't have access to RMXP right now (really long story). Could you post a screenshot of your animation setup?

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #9 on: March 09, 2010, 06:58:52 PM »
@Reives - Will try

@LB - Here's a short recording of what the attack looks like http://www.box.net/shared/28tjibes8l

I want the screen to shake on the third slash (downward)
Portals... must capture... ALL the portals... (click image to enlarge)

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #10 on: April 21, 2010, 08:39:59 PM »
Bump?
Portals... must capture... ALL the portals... (click image to enlarge)

HarryE

  • Tier 5
  • *
  • Posts: 213
  • Fall in a more hard-boiled manner
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #11 on: April 22, 2010, 03:40:52 AM »
Split off your animation into two parts, the part before the screen shake and one after.

Make a common event, and have your attack call that animation.

Now, execute these instructions:
@>Execute first part of the animation
@>Wait for however many frames that first part is
@>Screen Shake
@>Play last part of the animation

Your skill will have no battle animation and will call the common event. See the problem you're having is that RMXP has the event call after the animation is finished, so having a wait in there with your current set-up won't help.

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #12 on: April 22, 2010, 11:48:31 AM »
Aite, I'll try that when I have time (i'm finishing up a project right now and have to leave for school soon)
Portals... must capture... ALL the portals... (click image to enlarge)

Vasha

  • 小説家
  • *
  • Tier 7
  • **
  • Posts: 10734
  • Gender: Male
  • Relentlessly Gay
    • My Tumblr
  • Current Mood: blank blank
Re: Couple of things regarding Animations
« Reply #13 on: April 22, 2010, 09:05:55 PM »
aah, never thought of that. good idea, harry!

mepwnn

  • いつまでも
  • *
  • Tier 7
  • **
  • Posts: 10988
  • Gender: Male
  • profile picture courtesy of Silentgears
  • Current Mood: happy happy
Re: Couple of things regarding Animations
« Reply #14 on: April 27, 2010, 10:02:11 PM »
Ha! I got it! But there was something I had to do that weren't mentioned:
The attack's scope has to be set to NONE, and the power to 0, so the enemy doesn't randomly die without an animation, or get a random miss without an animation.

And for the heck of it, I split the animation into three parts, first slash, second slash, and third slash. Each does it's own amount of damage. However, that means if the enemy dies before the third slash (with the shake), then the shake happens without an animation. Help on this?
Portals... must capture... ALL the portals... (click image to enlarge)