Low Caliber Club
Low Caliber Club
    Low Caliber Forum  Hop To Forum Categories  Gaming General    Flash
Page 1 2 

Moderators: Manowar, Midknight
Go
New
Find
Notify
Tools
Reply
  
Flash
 Login/Join
 
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted
Hey, if anyone's a good animator with Flash (preferably Frame by Frame) I might have need for your skills some time in the new future.

Here's the earliest of the early versions of a game I'm trying to put together in Flash.

Note: Your shield must be fully up or down before you can swing your sword... otherwise it's in the way Razz

Anyways, I'm playing around with hit tests at the moment, so I'll soon have stuff you can break -- Then I'll put together some quick AI and voila! A duel could ensue.

Also, it's been 2 years since I've done anything related to Physics so I was wondering if anyone could reply with a particular formula... What is the formula for finding out the path a projectile takes after being launched at a certain angle.

I know that it has something to do with x (displacement), v (velocity), g (gravity constant -9.8), and the angle at which it is launched...

[edit] Oo, jeez I guess I also need the height...
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Secretary
Picture of Midknight
posted Hide Post
HEHEHEHE
I was thinking on the same kind of idea for the club.
Just have to get this school out of the way.
Will be done in two weeks then I am going nailing for another two weeks then come back and I am all ears for ideas and stuff.
 
Posts: 1280 | Location: Edmonton | Registered: Sat January 18 2003Reply With QuoteReport This Post
Emeritus
Picture of Dante
posted Hide Post
projectile motion redux

use vectors for the original formulae and consider in two planes...
Puppy

v(squared) = u(squared) + 2 a x
v = u + a t
x = u t + 0.5 a t(squared)

[u = initial vel, v = final vel, a = g here]
so u would become u cos(angle) or u sin(angle) as launched from a height or whatever...etc etc

 
Posts: 1258 | Location: "Auslander" | Registered: Wed May 21 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
Updated the little game... now some invisible pitching machine shoots baseballs at you... slice 'em up!

Thanks Dante, I'll try to make sense of all this... I was really hoping I wouldn't have to use Sin/Cos, as I don't think ActionScript has a function to calculate those sorts of things... Going to have to sort through all this stuff.
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Secretary
Picture of Midknight
posted Hide Post
Dude! What version of flash do you have? There is always a cosine and sine in flash. They are mathematical functions. If Flash never had cos & sin then the shit on Phong could not be done.

Math.cos
Usage
Math.cos(x)

Parameters
x An angle measured in radians.

Returns
A number.

Description
Method; returns the cosine (a value from -1.0 to 1.0) of the angle specified by the parameter x. The angle x must be specified in radians. Use the information outlined in the introduction to the Math object to calculate a radian.


Math.sin
Availability
Flash Player 5. In the Flash Player 4, the methods and properties of the Math object are emulated using approximations and may not be as accurate as the nonemulated math functions supported by the Flash Player 5.

Usage
Math.sin(x)

Parameters
x An angle measured in radians.

Returns
Nothing.

Description
Method; computes and returns the sine of the specified angle in radians. Use the information outlined in the introduction to the Math object to calculate a radian.
 
Posts: 1280 | Location: Edmonton | Registered: Sat January 18 2003Reply With QuoteReport This Post
Peregrine
posted Hide Post
Yo B, maybe you should let your old buddy from displaced help ya out a bit. you know i have nothing better to do Wink
 
Posts: 8 | Location: Down The Street From Mini | Registered: Mon June 30 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
lol, ok... I figured it would be totally stupid of Macromedia to not include cos and sin... anyways, I don't think I'll need to use cos or sin on the fly in the script so long as I give the projectile a Y and X velocity.
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
Ok, sweet action, check this out!

This is what happens when I screw around with physics formulas... hehe

My next trick will be to make it bounce off the boundaries of the frame and make it so you can control the x direction it launches.

FB, man, if I keep this crap up, we'll be making a Dudeman game before you know it... I think it's time we get Flash back on your system so's you can get back into the swing of animating.

 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Peregrine
posted Hide Post
Sounds good chief. We can do that saturday before the drive in...hey wait a tick? why am i telling you on this forum? why dont i just use the damn phone?
 
Posts: 8 | Location: Down The Street From Mini | Registered: Mon June 30 2003Reply With QuoteReport This Post
Secretary
Picture of Midknight
posted Hide Post

DOH


Your bad
HAHAHAHA

A phone, what is that?
 
Posts: 1280 | Location: Edmonton | Registered: Sat January 18 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
I think it's time to put the whole bouncy bouncy off to the side... This is far more complex than I had hoped!

*goes back to learning some other stuff*
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Secretary
Picture of Midknight
posted Hide Post
Check out the source from this guy.
Phong's Source Code
 
Posts: 1280 | Location: Edmonton | Registered: Sat January 18 2003Reply With QuoteReport This Post
Emeritus
Picture of Dante
posted Hide Post
yo mini, i resurrected some more high school physics while having dinner...

two ways to approach the bouncing ball:
1. calculus, as essentially you're computing "decay" and exponential/logarithmics; parabolic motion would be especially relevant here..slightly yicky though...
2. simplistic physics energy equations, which can be repeated...i'm thinking about "conservation of energy"...
so gravitational potential energy = kinetic energy...eh?

so essentially:
m g h = 0.5 m v(squared)
where m = mass, g = 9.812, h = height, v = velocity...

i'm clueless about flash and dont know what university level physics would say about these simple formulae, but i hope these at least get you back on track, ok?
 
Posts: 1258 | Location: "Auslander" | Registered: Wed May 21 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
*Goes to Phong and has a seizure* That stuff is so intense! It's blowing my mind just thinking of the formulas he must be using to make that stuff.

I think that's the formula I was talking about! hehe, thanks Dante! I'll try it out Smile
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Member
Picture of the_Licker[1.01]
posted Hide Post
ive been using flash for a few years, i suck at actionscript but im good with animation here is a small thing i did for fun there is only about 2 cartoons on here tho web page
 
Posts: 267 | Location: perth,Australia | Registered: Tue July 15 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
Nice work. Great usage of tweens, but how do you handle with frame by frame stuff?

Nice work on blending the swift3D into it too. My email is milk_rox@Canada.com, drop one by me.
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Magistrate
Picture of Manowar
MSN does not support status - click here for the profile.
posted Hide Post
Mini, where ya been??? Frown

Beer
 
Posts: 2948 | Location: Michigan, USA | Registered: Fri January 17 2003Reply With QuoteReport This Post
Emeritus
Picture of kyr0xx0r
AIM: Online Status For imsofakingl33t
posted Hide Post
Ministration, get your ass back here. lol
 
Posts: 838 | Location: So, Cal | Registered: Thu June 26 2003Reply With QuoteReport This Post
Emeritus
Picture of Ministration
MSN does not support status - click here for the profile.
posted Hide Post
Took almost a week off from everything... spent it mainly at the beach.
 
Posts: 526 | Location: Flin Flon, MB, Canada | Registered: Wed May 21 2003Reply With QuoteReport This Post
Emeritus
Picture of Dante
posted Hide Post
quote:
Originally posted by the_Licker[1.01]:
http://www.geocities.com/brinefishguy/


hehe! i think i collected your "methane madness" once!! so thats the sicko...haha... Thumbs Up

hey mini, missed ya sarkragnar noises in the arena!
 
Posts: 1258 | Location: "Auslander" | Registered: Wed May 21 2003Reply With QuoteReport This Post
  Powered by Social Strata Page 1 2  
 

    Low Caliber Forum  Hop To Forum Categories  Gaming General    Flash

© Low Caliber Club 2002-4
Gallery | Chat | Archive | Tutorials | Red Carpet

Constitution

Members

Forum

Stats

Wiki