You need a Grounds Gold Account to post on the NG BBS!If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!
At 7/5/09 04:38 AM, Jereminion wrote:
function moveBullet(event:Event) {
for (var u:int = bullets.length-1; u>=0; u--) {
removeChild(bullet[u])
}
}
after i delcare the properties of the bullet initially with newBullet, i use bullets[u] to modify it dynamically. i try to remove bullets[u] within the array using removeChild(bullets[u]) and it says
removeChild(bullet[u])
You're referring to 'bullet' here, but everywhere else you've referred to 'bullets'.
Also once that's done you'll still get an error because you're removing the child yet leaving it in the array so flash is trying to remove it again (seeing as it's on an ENTER_FRAME)
At 7/3/09 04:46 AM, Penboy wrote:
I submitted a picture to the art portal a while back, but now I can't find it. I've been searching everywhere, trying all the keywords I could remember. lolwuthelp?
At 7/1/09 07:43 AM, KaynSlamdyke wrote:
Phew...
Someone needs to write this up for everyone...
This is the site a found when reading up on this stuff a few months ago. The source code itself is XNA but it gives a pretty detailed explanation along with the link at the top ('Quadtree Code Design').
There is also this video tutorial. It is C++ but the first ~5mins explain collision detection and octrees (3D quadtrees) but he does actually explain quadtrees using a 2D image. Not sure how useful other people will find this though.
At 6/29/09 06:12 AM, 4urentertainment wrote:
It's illegal to use copyrighted music. Even if one second of it. The music in the audio portal however is free and not copyrighted.
It is copyrighted. It's just under a license as that you can use it without permission in a flash without permission but if you're making profit from it, whether it be from sponsorship or ad revenue, you have to get the permission of the author, could be that they say you can use it for free or that they want x% or $y.
Uncheck 'export in first frame'. Then create a blank keyframe after the preloader that will never actually play with a MovieClip containing the sound (not attached via AS). That way the sound will be initially loaded by the preloader.
In AS3 it is gotoAndStop(1, "animation");. It used to be (scene, frame) or (frame). It's more logical now. If you just have ("animation") then it will treat it as a frame label, not a scene.
Of course that's going to happen. You can't expect the whole community to stay the same people and develop with you. Those questions are always going to exist here. If you want more advanced problems, both to ask and to answer, then try a site like Dream.In.Code, a site dedicated to coding. They're a lot stricter on what you can ask and don't have the noobs there as the only reason to go there is for the forums, unlike NG. You have to post some sort of code or show some attempt at solving a problem by yourself before asking. I'm sure there are plenty of other sites like it. But this means the flash forum is alot slower than here.
At 6/30/09 06:52 AM, fluffkomix wrote:
teasing the emos is fun.
especially when you got a friend in the same room logged in with you. emocitychat.com
That place is weird.. The moment I enter I got a PM 'Hey hey. Are you a vampire?'.. Yes... Yes I am a vampire. I can't tell if these people are retarded, or just trolls. If they're not trolling they need help.. seriously.
You're more likely to get attention if you actually post something convincing on here. There are a lot of these sorts of threads and unless you show what you can do in this thread I doubt you'll get many people contacting you as they'll assume you're the 'usual noob'.
Can someone please enlighten me as to why Spotify doesn't have targeted adverts? Most of their adverts are for songs/albums etc so surely they should be targeted? They know perfectly well what sort of music I listen to yet I get dumb adverts for Britney Spears and the like. Is it just that they don't get enough different adverts?
Although; I have faith in the Art mods as quite a few of the authors of terrible things which were around earlier, looking at their profiles, have been un-scouted.
There's a lot of disappointing stuff on the art portal already, that takes away the emphasis of the amazing stuff. It seems to be a decent artist or mod scouts an average artist, who deserves it nonetheless. Then they scout someone else who's art is pretty poor and then there is a trail of noob-scouting-noob... Half this stuff isn't even 'art', IMO :'C
My bet is that player = the movieclip you're putting this code in, in which case it's obviously going to return true. The syntax has been explained to you. Do not just reject the code and say "Nope", if you want further help you're going to have to give more detail or upload the fla or no one can help you. What doesn't work about it?
At least read the link. It is something that they, quote, "run every year". Yes, I'm pretty sure they did one for games before but this is not that and it is definitly for now, not "years ago".
"Entries must be submitted by 4pm on Tuesday 25th August 2009."
Sigh, read the post {x, y} is the coordinate you're testing against. x and y are numbers. If you want to test against (the registration point of) a movieclip then you have to put it's coordinates there not 'x, y'. As mentioned, you need this._x but you should be coding in the timeline; not in individual MCs.