New Flash Project!

21 replies [Last post]
Joined: 01/07/2010

Hello!
And this time I have a flash project to be created
It will be a cartoon or something like that.It will be interpreted for a song named "El Extractor"

if you want to check the song here it is the link

so i will post updates about this!

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 07/08/2011

So a music video?

Joined: 01/07/2010

I am making a concept of what will happen in every scene change, too much drawing.

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 01/07/2010

Scanning the big dragon...photoshop will do the rest...

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 01/07/2010

Not a dragon, "Quetzalcoatl" to be exactly.

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 08/06/2010

As in, the type of pterodactyl?

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 02/20/2011

i think it's a god of the aztecs.

-_-

Joined: 08/06/2010

That too. But a pterodactyl was named after it.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 12/23/2010

E-D-I-T

Stare

Joined: 02/20/2011

So, how's the project going?

-_-

Joined: 01/07/2010

kirdneh wrote:
So, how's the project going?

In the middle point...
I just do the backgrounds and the effects

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 01/07/2010

Help please!
How Can i do fire in flash?(Realistic)

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 02/20/2011

Probably Howitz would know. He is the art guy. Maybe him or Red.

-_-

Joined: 12/23/2010

Or Google.

Joined: 08/06/2010

Ooh ooh ooh! I made a game a while ago with realistic fire in it! I can help!

Make a movie clip called FireGradient. Draw a radial yellow-to-transparent-red gradient circle. Link it for ActionScript with default linkname.

Then use ActionScript to make fire particles drift up from a point:

onClipEvent(enterFrame){
     flame = _root.attachMovie("FireGradient","fire_"+_root.getNextHighestDepth(),_root.getNextHighestDepth(),{_x:qx,_y:qy});
     flame.onEnterFrame = function(){
          this._y--;
          this._x += Math.random() * 10 - 5;
          this._xscale --;
          this._yscale --;
          this._alpha --;
          if(this._alpha <= 0){
                 this.removeMovieClip();
          }
     }
}

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 12/23/2010

ActionScript 2.0 = chortles for many seconds.

Joined: 08/06/2010

Meh. I don't like ActionScript 3 because I haven't found a decent tutorial on it.

But can't you still use a basic enterFrame clip event action?

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 01/07/2010

thanks for the help!
Still making the Art part.
If you want...here is the great quetzalcoatl(Upcoming new version)
http://img163.imageshack.us/img163/2981/dragonoriginal.png

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 02/20/2011

cool. the first thing i thought when seeing it was:
"rar"

pretty cool. i'm bad at art. i might maybe probably hypothetically draw art better if i had a touch screen computer, which i most likely probably won't get.

-_-

Joined: 12/23/2010

Albino Pokey wrote:
Meh. I don't like ActionScript 3 because I haven't found a decent tutorial on it.

But can't you still use a basic enterFrame clip event action?


Clip events are dead, man. Everything is done with event listeners, so you'd use something like this:

stage.addEventListener(Event.ENTER_FRAME, onEnterFrame);

where onEnterFrame is the function that runs every frame (although you can call it anything you want). Also, attachMovie isn't used either, so your function would be something like this:

function onEnterFrame(e:Event):void
{
    flame = new Flame();
    stage.addChild(flame);
}

Then you could either do the following inside or outside the Flame class (here I've done it inside):

//Constructor
public function Flame()
{
    addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
 
//This gets called every frame
private function onEnterFrame(e:Event):void
{
    y--;
    x += Math.random() * 10 - 5;
    scaleX--;
    scaleY--;
    alpha--;
    if(alpha <= 0)
    {
        parent.removeChild(this);
    }
}

Of course, the way I've set out my brackets (below the function declaration instead of on the same line) is personal preference.

And the transition from AS2 to AS3 isn't that difficult. As soon as you get the hang of events and listeners, all you really need to do is understand the whole class hierarchy of the language and be ready to look up some class or property in the language reference whenever you need it. I do it all the time Laughing out loud
If you want a decent start, check out this thread at ActionScript.org. Also, just looking at the differences between an AS2 and AS3 version of the same tutorial lets you see what the differences and similarities are.

And if you don't care at all, then I've just wasted a whole lot of time writing all that Tongue

Joined: 08/06/2010

That's much simpler than what I've seen before. The tutorial I saw it said you needed a new class extends Sprite for EVERY SINGLE MOVIECLIP, which would be incredibly annoying in my old games.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 12/23/2010

Well, you need that for the class. I was only showing the functions. The entire class code would be:

package 
{
	import flash.display.Sprite;
 
	public class Flame extends Sprite
	{
		//Constructor
		public function Flame()
		{
			addEventListener(Event.ENTER_FRAME, onEnterFrame);
		}
 
		//This gets called every frame
		private function onEnterFrame(e:Event):void
		{
			y--;
			x += Math.random() * 10 - 5;
			scaleX--;
			scaleY--;
			alpha--;
			if(alpha <= 0)
			{
				parent.removeChild(this);
			}
		}
	}
}

That's only if you want your movieclips to have code, though. If not, making a class in unnecessary, and Flash just creates an empty one (needed to use in your code) at compile-time.

But if you use FlashDevelop, making new classes is a piece of cake, since it does the packaging, extending, and even creates a constructor automatically.