> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of James Marsden
> Sent: Tuesday, March 07, 2006 5:45 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Bouncing laserbeam for game
> 
> Hello games people,
> 
> I'm tasked with programming a bouncing laserbeam like in the 
> following pic.
> 
> http://www.irem.co.jp/e/game/r/rtype/image/r1stg6.gif
> 
> Has anyone done this kind of thing before and can point me in 
> the right direction?

I wrote a similar game under contract a couple of years ago. I could've done
lasers, but I decided to go with bouncing projectiles instead:

http://www.kidstation.de/junior/r5u3/r5u3m16/a.html

The "physics" for the bounce is really simple. The bounce-angle is just
180-(the angle that the projectile is hitting the paddle)

---
John Hattan
The Code Zone - Sweet Software for a Saturnine World
www.thecodezone.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to