Stik

Anything else

Do you like these animations?

Poll ended at Sat Feb 03, 2007 5:40 am

Yes
10
67%
No
5
33%
 
Total votes: 15

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Sat Feb 16, 2008 8:23 am

I've noticed that I haven't done a fight in a while.

Looking at my older animations, it's because I suck at fighting.

But fighting is cool and fun to make, so I'm going to make another fighting animation.. With a twist...

PREVIEW-
Image

User avatar
Glabbit
Posts: 4917
Joined: Sun Feb 06, 2005 8:38 am
Location: A mile away, with your shoes!

Post by Glabbit » Sat Feb 16, 2008 9:01 am

Wha-hey! looks klew.
*pre-order*

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Sat Feb 16, 2008 9:07 am

Before anyone gets over-excited...

I'm not making a fighting game, I don't know any code in any language.

Just an animation that looks like a fighting game. :P

WITH TEH STOREE MOED AND EVREETING!

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Post by rudel_ic » Mon Feb 18, 2008 2:17 pm

Don't be a pussy. Make a game out of it!

Learn the basics of ActionScript first and how the data structures (Lists, Arrays, Buttons, Graphics...) are used. Just do tutorial after tutorial from the internal help (press F1).

Here's some OOP pseudocode for an extremely simple fighting game 'key triggers action' mechanism for you:

Code: Select all

Fighter fighter = Fighters.getByID( Fighters.PLAYER_1 )
Action action = Actions.getByID( Actions.IDLE_ACTION )
while( true ){
   action.nextFrame()
   if( action.isFinished() ) action = Actions.getByID( Actions.IDLE_ACTION )
   foreach( key in Keys ) do{
      if( key.isPressed() and Actions.keys().contains( key ) )
         action = Actions.getActionByKey( key )
   }
   Scene.applyFrameForFighter( fighter, action.currentFrame() )
}
Wrap your head around it, figure out how to draw the current frame of the fighter in a scene, translate it to ActionScript.

Collision detection:
Every Fighter has an invisible box around his center that contains him.
Everything that can collide with fighters collides when its location vector is inside the box. Fists, heads and feet can collide with collision boxes.

KI:
Random action every X frames or no action. Turn the enemy around when you pass him (his up vector collides with your collision box).

You'll figure the rest out by yourself.

Press F1 once in a while and read the ActionScript tutorials and reference material. Helps.

Now get to work!

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Mon Feb 18, 2008 3:29 pm

...

That almost sort of made sense. Which is weird as my brain normally locks down when I try to read code or anyone explaining code.

Maybe after the animation. Animations are easier and have more opportunity for random crap to happen.

WHO ELSE WANTS ME TO PUT IN AN AWESOME IN A CAN LEVEL!? I SURE AS HELL KNOW I DO!

User avatar
BunnyWithStick
Gramps, Jr.
Posts: 4297
Joined: Mon Dec 05, 2005 12:14 am
Location: New Zealand

Post by BunnyWithStick » Mon Feb 18, 2008 5:01 pm

AIACFTW.

User avatar
Glabbit
Posts: 4917
Joined: Sun Feb 06, 2005 8:38 am
Location: A mile away, with your shoes!

Post by Glabbit » Fri Feb 22, 2008 2:59 pm

invertin wrote: WHO ELSE WANTS ME TO PUT IN AN AWESOME IN A CAN LEVEL!? I SURE AS HELL KNOW I DO!
Me!

User avatar
Spartan X
please can i have a title soon?
Posts: 442
Joined: Mon Apr 09, 2007 11:49 am
Location: Bristol, England

Post by Spartan X » Fri Feb 22, 2008 7:02 pm

Forum fight 2 now thank you please...

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Wed Feb 27, 2008 5:23 pm

http://www.filecram.com/files/Goodbye-Del.gif

I don't know who Del is, but this is how I want my animations to be.

WHY CAN'T I BE THAT GOOD!?

;.;

User avatar
Glabbit
Posts: 4917
Joined: Sun Feb 06, 2005 8:38 am
Location: A mile away, with your shoes!

Post by Glabbit » Thu Feb 28, 2008 12:12 pm

If that is truly done in pivot, that is absolutely aMAZING o-o
invertin wrote:
I don't know who Del is, but this is how I want my animations to be.
A good goal
invertin wrote: WHY CAN'T I BE THAT GOOD!?
It takes practise. I'm pretty sure you can, though..
invertin wrote: ;.;
Yeah... I agree.

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Tue Mar 04, 2008 1:04 pm

INVERTIN UPDATED STIK? WHAT IS THIS INSANITY!?

Yeah, remember my old Anime attempt? Well, I was thinking about ninjas and watched a Naruto AMV (I wanted the music, and the video seemed interesting) so I wanted to make another Anime-ish Pivot.

HARE YOU GAOW
Also, I used the Limb stiks again. Cause they're so much easier to use than stickmen.
Image
Also, the blue line is water. Everyone knows that ninjas can walk on water.

Invertin's thoughts (I want to type stuff about it damnit!):
That cape/scarf was kinda cool, and fun to animate for the first part of it.. But by the fight it got really annoying X(. I never just scrap a stik if it's in an animation I want to finish, so the Scarf stik will probably be used in future...

Oh and certain effects could use some work in this one...

Still, I love that part at the beginning when he kicks the guy in the face. :D

User avatar
Grayswandir
Short end of the stick
Posts: 3655
Joined: Sat Oct 08, 2005 12:37 am
Location: Robbing the cradle.

Post by Grayswandir » Tue Mar 04, 2008 2:39 pm

This looks like some nice progress for unfinished worked...It is unfinished right? They have no legs. :P

User avatar
invertin
Sticky
Posts: 3828
Joined: Mon Oct 23, 2006 4:05 am
Location: IN A CAN OF AWESOME!

Post by invertin » Tue Mar 04, 2008 2:46 pm

I'll probably finish the fight scene, but I like the no-legs thing.

Oh damn I just remembered something I wanted to put in it which I didn't.

I'm going to HAVE to make a second one now.

EDIT: I just realized the spike-head guy looks like Yoshi. X/

User avatar
Renegade_Turner
Gramps
Posts: 6942
Joined: Tue Sep 27, 2005 11:59 am

Post by Renegade_Turner » Wed Mar 05, 2008 8:35 am

Glabbit wrote:
If that is truly done in pivot, that is absolutely aMAZING o-o
invertin wrote:
I don't know who Del is, but this is how I want my animations to be.
A good goal
invertin wrote: WHY CAN'T I BE THAT GOOD!?
It takes practise. I'm pretty sure you can, though..
invertin wrote: ;.;
Yeah... I agree.
Now you're just showing off. :P

User avatar
Glabbit
Posts: 4917
Joined: Sun Feb 06, 2005 8:38 am
Location: A mile away, with your shoes!

Post by Glabbit » Wed Mar 05, 2008 9:35 am

Oh, so that was a cape?
I why he had such a floppy leg...
But, okie, I see what ye were getting at.
Nice one!
invertin wrote:I'm going to HAVE to make a second one now.
Hurrah!

Oh, and turner... why so? o_=

Post Reply