Be a Supporter!
Response to: Need Advanced Scripting Help Posted February 7th, 2008 in Game Development

At 2/7/08 10:57 PM, MrCrinkle wrote: can't you just use

if (this._rotation == desired angle){
_root.character.gotoAndStop(desired frame);
}

well i tried that but it gives an output error....

Response to: Serious Fantasy Film Needs Animator Posted February 7th, 2008 in Game Development

Im a really good animator, but not exactly a top of the line artist so to speak. But i can animate, there's no question about that but, I would need an artist as a co-animator. I love the idea of your story pretty well written, i'd be honored to be part of a project like this it has Daily Feature written all over it, if it's not rushed. But as i stated i'd have to have another animator to draw the characters... And i also suggest a portal with only animators get access passwords, so we can file share what we've drawn, animated etc. with other animators.

Personal note: My animations impressed the heck out of the princible and schoolboard that they let me show them in the lunch hall every friday! :D As you can see below is an example of my desktop, the characters are not awesome looking but the animation is smooth and flawless.

sry if the pic isnt high quality it was a screen shot of a flash frame that was cropped in paint...

Serious Fantasy Film Needs Animator

Need Advanced Scripting Help Posted February 7th, 2008 in Game Development

Im making a flash game and I need help making a script that will cause a movie clip to goto frames depending on how another object is rotated that is facing the mouse cursor. Please im not making a topdown shooter, so i cant just use regular rotation scripts.

e.g. Character is walking, points gun in the up, and causes movie clip to change making the character turn around.i'd really appreciate some help, sry if i couldnt explain it better.

________________
This is the script on the action frame inside the rotating movieclip

t = 0;

this.onEnterFrame = function() {
trace(t);
Xd =_root._xmouse-_parent._x; //Get _x distance from gun to mouse
Yd =_root._ymouse-_parent._y; //Get _y distance from gun to mouse
radAngle = Math.atan2(Yd, Xd); //Use atan2 to calculate the angle from gun to mouse
_rotation = int((radAngle*360 / (2*Math.PI))+90); //Use PI to calculate and set gun rotation
updateAfterEvent();
if(t == 6){
t = 1;
}

}

and the movie clip i need to change frames is called "character" with no quotes of course.

Response to: Banning Guns is stupid Posted February 7th, 2008 in Politics

Ok its as simple as this.
What guns are already banned?
-Sub Machine guns, Machine Guns, High Powered Rifles, G.I. Weaponry of any kind

what guns do gansters have?
sub machine guns, machine guns, High Powered Rifles, G.I. Weaponry

Now my point is, if guns become illegal, your taking away our right to bear arms. All the US would be doing is disarming the citizens, because obviously criminals get illegal weaponry anyways.

THIS LAW IS GAY!!!!

Response to: Banning Guns is stupid Posted February 7th, 2008 in Politics

Ok its as simple as this.
What guns are already banned?
-Sub Machine guns, Machine Guns, High Powered Rifles, G.I. Weaponry of any kind

what guns do gansters have?
sub machine guns, machine guns, High Powered Rifles, G.I. Weaponry

Now my point is, if guns become illegal, your taking away our right to bear arms. All the US would be doing is disarming the citizens, because obviously criminals get illegal weaponry anyways.

THIS LAW IS GAY!!!!