Under rating threshold (hideshow)
Great tutorial, I don't use flash just yet(I'm using c# right now, which has many similarities) and it really does explain some very interesting and useful things that I hope to use once I start learning AS3. One little change I'd like is for the yellow effect in tweaks to be more visible, perhaps you can add a black background when it's active?
Under rating threshold (hideshow)
dang.. the first part with the particle effect when you make it fly all over the place in different directions.. IVE BEEN LOOKING FOR THAT FOR SO FRIGGEN LONG :DDDD
Under rating threshold (hideshow)
not a game 1/5.
No seriously, this tutorial has helped me so much. Some of the filters seem sort of unnecessary, but the end result is nice.
Under rating threshold (hideshow)
Shame I couldn't get the files either. Compiler is having a field day with the code. I've been trying to break it down to find the problems. Could not. I went so far as to paste the exact code you have into the AS. Nota. Well, at least you gave me an idea. I'll have to work on it on my own sometime.
Under rating threshold (hideshow)
My web of trust plugin really hates the sites hosting your source files. That being the case, I didn't download them. Perhaps there is a better place to host them?
Under rating threshold (hideshow)
For the second part of the tutorial, when it says to add some filters to my fire movie clip, and I put it under "function makeParticle()" these errors pop up, "Import statements are not allowed inside class or instance definitions", on the lines where I'm importing flash filters.
Under rating threshold (hideshow)
Oh Nevermind! I was putting the code on the fire instance that was on the frame, not inside of the fire MC. It works now! Yay!
Under rating threshold (hideshow)
Particle effects, page 6 & 7. It tells me that function makeParticle(); and function (onEnterFrame) must be in a onClipEvent handler. And if I add that it doesn't work. :( Help please.
Under rating threshold (hideshow)
yeah. I found the shootorial layout template thing after I was like 95% done with this tutorial :/ what's not user-friendly about the layout? mebe I'll fix it.
Under rating threshold (hideshow)
@scoz: plenty of people still use AS2, for various reasons. It's not "dead" yet, and probably won't be for several years. In addition to that, it's easier to learn than AS3. I always recommend that newbies start with AS2, and then move to AS3, if they want.
Under rating threshold (hideshow)
@ Mato: "Truefire says: I'm probably gonna remove the laggy title screen. Tukkun says: No, lag doesn't matter, it's epic"... Blame Tukkun. But yeah, I'll probably remove it anyway.
Under rating threshold (hideshow)
Title screen is incredibly laggy. No reason you should have it, makes the whole tutorial look very unprofessional.
Effects themselves are nice though.
Under rating threshold (hideshow)
"Note: This game is listed under the TUTORIALS category of Kongregate. Pleade don’t comment something like “Not a game 1/5”… Thanks…"
Under rating threshold (hideshow)
Yeah. I can't do anything about that though. It should be displaced by better games by the end of the week though, so no worries.
Under rating threshold (hideshow)
AS2 is more newb-friendly (less strict), and, despite the fact that some (rich and/or pirate :P) coders think anything that's not the latest version should be erased from existence, many people still use AS2, for whatever reason.
Under rating threshold (hideshow)
On -The End- screen for the bitmap tutorial, you say that: You know know everything in the universe. Know x2? However, this was very informative even though I've never done programming at all.
Under rating threshold (hideshow)
Typos: [-Using Combined Objects-] = 'definitely', not 'definately'. Other than that, I think you intentionally misspelled 'the'.
Under rating threshold (hideshow)
I tried your code out wert, and it worked fine. Make sure the code is on the fire clip's first frame's actions panel. make sure you have an instance of that clip on the stage. also make sure your particle clip has something in it, and has Linkage set to "Particle"
Under rating threshold (hideshow)
Yeah, this tutorial uses the actions panel for code. It could be done in .as files with some minor adjustments, but I find the actions panel more convenient for small-scale things like this. I'll take a look at it and see if I made a mistake somewhere.
Under rating threshold (hideshow)
ok, found a few bugs so far.
i will post the code i have now here
function makeParticle()
{
var depth = this.getNextHighestDepth();
var p = this.attachMovie("Particle","p"+depth, depth);
p.dir = Math.random() * 360;
p.velocity = Math.random() * 5;
p.xVel = Math.cos(p.dir * Math.PI/180) * p.velocity;
p.yVel = Math.sin(p.dir * Math.PI/180) * p.velocity;
p.count = 0;
p.onEnterFrame = function()
{
this.count += 1;
this._x += this.xVel;
this._y += this.yVel;
if(this.count > 200)
{
this.removeMovieClip()
}
}
}
function onEnterFrame()
{
makeParticle();
}
i retyped the frame code, it didn;t work.
and I changed the "speed" to "velocity", AND I added p. to the dir and speed var.
Under rating threshold (hideshow)
i don't understand.. do you have to put the code in the actions of the movie clip itself, the object? or in an .as file? (class Fire extends etc.) or in the first frame actions?
Under rating threshold (hideshow)
Update! Fixed the problems you pointed out marten, other than the source. I might do that within the next few days, but I'm kinda busy now. And sorry Tukkun, but I nerfed the Ninja XP you get from reading this tutorial by 40%. it was just way to overpowered.