Flash is actually a much nicer drawing tool than I have been giving it credit for all these years:
Hello there... This blog documents my on-going work at the University of Limerick, Ireland.
Showing posts with label actionscript. Show all posts
Showing posts with label actionscript. Show all posts
Monday, February 7, 2011
Flash Jet Fighter game - work in progress
I'm working on a simple game in Flash at the moment. It consists of a user controlled jet which fires bullets at enemy jets that appear randomly. If the user is hit by an enemy X number of times the game is over. 10 points for every enemy destroyed! I haven't got the scoring working properly yet. I must also figure out how to get the enemies to shoot.
Thursday, February 3, 2011
Flash audio visualizer using ActionScript 3.0
For my final project I'm going to need to generate graphics based on user input using sensors that may detect motion, heat, sound, etc. Today I've been working with ActionScript 3.0 in Flash to create a simple visualizer that reacts to any sound file.
Using the computeSpectrum method from the SoundMixer class you can convert a sound file into graphics. The code looks pretty daunting if you're just learning ActionScript as I am but I found a great tutorial from Tom Green on Community MX that explains how it works really clearly.
I'm going to experiment some more over the next few days.
If anyone has any tips send them my way!
Using the computeSpectrum method from the SoundMixer class you can convert a sound file into graphics. The code looks pretty daunting if you're just learning ActionScript as I am but I found a great tutorial from Tom Green on Community MX that explains how it works really clearly.
I'm going to experiment some more over the next few days.
If anyone has any tips send them my way!
Subscribe to:
Posts (Atom)