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/9/09 06:39 PM, KaynSlamdyke wrote:
Make money off save game feature
Theoretically speaking it could work. Your always going to have those money-rich fanboys who'll chuck a buck towards anything. But overall, you'd probably be better off not.
Doing something like that would make players not want to play again, which is then cutting down your re-play audience which would heavily decrease profits from ad's both on the page and in the game.
At 9/3/08 07:46 PM, ToasterDemon wrote:
Why would you want to use a midi? The only way is to convert it to an mp3/wav, but if it takes up the same space, using a midi makes no sense.
Wow, way to make yourself sound stupid. A midi is an extremely highly compressed filetype that saves the notes of a song, rather than the frequency, then just passes those in binary form to a player. A midi file is around 1/1000th of the size of an mp3. A 3mb mp3 song is about 20kb in midi form.
At 8/23/08 06:53 PM, funkycaveman wrote:
no... there are collabs popping up everywhere, i saw one today who had started a collab and it was their first post. that just spams the forums and toast, i knda like the reason for making the collab and why the leader should do it thing.
ooOoooh, wow! THERES A SPAM COLLAB TODAY! Something that HASN'T been happening for 3 years non-stop. Hey guess what, there's no way to stop it so just get used to it! You're a new user, you signed up in 08. Stop trying to act like you've been here for years.
You know whats even more annoying than collab threads? Threads that morons make to try to stop having so many collabs.
You're an idiot.
STOP WAITING 10 FUCKING MINUTES BETWEEN BUMPS YOU MORON.
stop();
play_btn.addEventListener(MouseEvent.CLICK, playFunc);
function playFunc(e:Event){
gotoAndPlay(2);
}
Not even going to bother to explain it. You're not patient enough to wait for help, so you'll never be patient enough to learn anything more advanced than that.
At 8/1/08 07:30 AM, Doomsday-One wrote:
The other suggestions work great too, but I felt like suggesting an alternative =)
The only problem with your method is that if he is using scenes, it will go to the 50th frame from the first scene. Which means it would require a lot more to fix, and a lot more to change.
It would be a stupid idea to use Math.round() with it, simply because the last 2 digits have half the chance of appearing as the ones in the middle.
For example:
Math.round(Math.random()*5);
Will return 0 when between 0 and 0.5;
Will return 1 when between 0.5 and 1.5;
Will return 2 when between 1.5 and 2.5;
Will return 3 when between 2.5 and 3.5;
Will return 4 when between 3.5 and 4.5;
Will return 5 when between 4.5 and 5;
So what you should be doing is:
Math.floor(Math.random()*6)+1 = between 0-5
or
Math.ceil(Math.random()*6)-1 = between 0-5
At 7/31/08 06:14 PM, K-Guare wrote:
If it does, i learned something today.
It does, but the difference is so minoscule that its barely noticable unless you're doing around 100,000+ interation.
We're talking, for a 100,000 loop of i++, 288 miliseconds to process, for i+=1 300 miliseconds to process
Its people like you that should give up on breathing all together. Maybe you're just dumb and have no sense of logic whatsoever.
If you can't code, maybe you should try art. There's always good coders looking for artists.
And if you give up on that, whats wrong with just watching movies and playing games? Not everyones talented enough to make a game, and obviously you're one of those people.
At 6/9/08 08:09 AM, Morningdeath wrote:
Blah blah blah
onClipEvent (enterFrame) {
for (i=1; i<=360; i += 10) {
X = (Math.cos(i*(Math.PI/180))*_width/2)+_x;
Y = (Math.sin(i*(Math.PI/180))*_width/2)+_y;
if (_root.main.hitTest(X, Y, true)) {
trace("yay");
}
}
}
The problem here is that you're checking if the object is hitting itself.
onClipEvent (enterFrame) {
for (i=1; i<=360; i += 10) {
X = (Math.cos(i*(Math.PI/180))*_width/2)+_x;
Y = (Math.sin(i*(Math.PI/180))*_width/2)+_y;
if (_root.THEOBJECTHATYOUWANTITTOHIT.hitTest(X, Y, true)) {
trace("yay");
}
}
}
At 6/1/08 09:01 AM, Skulsta wrote:
Yeah pretty much but I need to know AS for enemies and weapons
Weapons means more variables, possibly an array and I already gave you a link for enemies.
We're not going to be there holding your hand and giving you all the code you want. You need to learn these things yourself.
At 6/1/08 09:00 AM, adam2510 wrote:
you might be able to make a dummy file but it is alot harder because you wont know the master key which allows flash to load the data :)
At 6/1/08 08:45 AM, adam2510 wrote:
look if i do it right YOU WONT BE ABLE TO HACK IT
What makes you think that? Honestly, it'll be simple as fuck to hack. Think about it, if you can have a flash document load the data, then whats to stop someone else making a dummy file and loading it all in to simply project the data? You have no idea HOW to use XML let alone WHAT to use it for. What in the world makes you think you're going to be able to keep it secure?
At 5/31/08 08:50 AM, El-Presidente wrote:
Are you ever over here? And of course I'm not humiliating him, I'm showing the greatness and glory of our leader.
At 5/31/08 07:39 AM, Ssilver7 wrote:
So something like
Right idea, just missed defining the variable on a load event
onClipEvent(load){
var pushed:Boolean = false;
}
on(press){
if(!this.pushed){ // If the button hasn't been pushed
this.play(); // Play!
this.pushed=true; //Tell the movieclip that it's been pushed.
}
}
Any dumbass vegetarian that tells me "I don't need meat, I have these pills to give me my protein instead" gets my "I don't need vegetables, I have these pills to make me vomit instead".
Everythings artificial these days. We don't need x because we have y that can do the exact same thing. So obviously, we eat it for the taste. And because it makes us feel good about ourselves. It's like "Hey, this animal died so I can enjoy this.".
At 5/26/08 12:05 AM, 7IsUnlucky wrote:
@ BFK: omg you posted :o
Yeah, 3000+ times...
Obviously you need to reinstall flash or upgrade your computer. Possibly copy/paste all the frames over to a new flash document. There might be a corrupt symbol. That would fix the problem.
That intro movie is for newgrounds sponsored flashes only. Some of Jazza's animations are sponsored by newgrounds so he can use it. If you think your flash is really good you could e-mail it to Tom and ask about a sponsorship.