Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.23 / 5.00 3,881 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.93 / 5.00 4,634 ViewsAt 11/4/14 04:18 AM, liljim wrote: Here's a sneak peak of one of the Christmas themes.
that looks awful imo
but that's just, like, my opinion man
At 10/31/14 12:22 PM, Diki wrote: JavaScript has certainly improved but it is very obvious that the language was developed in less than a week by a dude who didn't really care about what he was doing (thanks a lot, Eich).
Whatever happened to Javascript 2.0???
At 11/1/14 08:52 AM, DalexJ1337 wrote: just by a few months. i was born in september 2001
tbh i never knew he was 13
At 11/1/14 02:58 AM, Sekhem wrote:At 11/1/14 02:16 AM, Gimmick wrote:not allowed to discussAt 10/31/14 06:47 PM, Sekhem wrote:hey sekhem, how'd you get unbannedAt 10/31/14 12:30 PM, BumFodder wrote: hey again sekhemhi
under gag order i see?
ro ro fight tha powa
At 10/31/14 06:47 PM, Sekhem wrote:At 10/31/14 12:30 PM, BumFodder wrote: hey again sekhemhi
hey sekhem, how'd you get unbanned
Hmm..actually..is coin1 a sprite? Or is it an Object? The function drawCoin(whatCoin) doesn't have any type specified for whatCoin, so you could be passing blanks and it'd create them without any problem AFAIK. Does this work?
function drawCoin(whatCoin:Sprite)
{
//coin stuff
whatCoin = new Sprite()
addChild(whatCoin)
}
?
My oldest computer is a Core 2 Duo T6400 with 3GB RAM, would be able to easily run it.
My other, newer computer wouldn't be able to, because it has lower specs lol.
At 10/29/14 02:54 AM, Rovertarthead wrote: Oooh you mean on the symbol like this!? Look I changed the numbers symbols name to time_txt.. Still didn't work.
(Whoops, replied to the wrong person)
It looks like this:
Oh now I realize. Rovertarthead, the text symbol is not a textfield, that's a Movieclip that you've named time_txt.
How do i know what you like and don't like???
Look at String.split(). It returns an array based on what you have specified the delimiter as. For example, if I have 5 items separated by commas:
var str:String = "a,b,c,d,e"
then doing str.split(",") with "," as the delimiter/separator will give me an Array:
var arr:Array = str.split(",")
trace(arr) //returns [a, b, c, d, e]
trace(arr[3]) //returns "d"
Your separator here will be the vertical bar |, although you shouldn't have spaces in it otherwise it wouldn't match exactly.
-- trigger warning --
I've seen people -- get this, it's unbelievable -- they PUT THEM IN THEIR MOUTHS.
they take the food and EAT it. Can you imagine it???? 1 like = 1 dislike
I'm like cheese.
ahh Sheogorath you mad party boi
At 10/27/14 09:52 AM, Diki wrote: You will need to set some sort of global boolean state to true when the KEY_DOWN event is fired and set it to false when the KEY_UP event is fired, and then simply use an if-statement to check the state of said boolean.
I wrote a tutorial on the subject some time ago that goes into depth regarding how to accomplish that. MSGHero also wrote an AS3 class that does the same thing, but I have not personally used it so I cannot vouch for its efficacy (not that I have any reason to think it won't work just fine).
Why not remove the event listener for checking keys, then add them back again in the key up event? Having a dictionary seems a bit complicated imo. Only limitation is that no keys can be held down. Like:
import flash.events.KeyboardEvent;
function keydown(evt:KeyboardEvent)
{
trace(evt.keyCode, "is pressed")
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keydown)
stage.addEventListener(KeyboardEvent.KEY_UP, keyup)
}
function keyup(evt:KeyboardEvent)
{
trace(evt.keyCode, "is released")
stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown)
}
stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown)
Using a rotary shaver, going in dry.
I never thought handwriting was feminine or masculine based on the way it looks. Maybe subconsciously, but I'll just try and push it out of my mind now.
BTW I write horribly.
Look up multidimensional arrays. Arrays within arrays; you can use those and x and y coordinates to specify the location of a tile.
At 10/27/14 09:10 AM, AnouarMocro wrote: i want to remove that if you hold a key "A" you cant hold it it will just do the action once im using
keyCodes for the keys but the problem is you can hold it but i want it so you cant hold the button just 1 time click.
its a fighting game so im stuck here.
Rather than checking for KEY_DOWN events, why not check for KEY_UP events? You can't hold up a key; it fires only after you've pressed and released it, and you can get the keyCode just like you would a normal KEY_DOWN event.
Of course, there's the problem that if you hold down the key, nothing will happen unless you release it...
At 10/26/14 01:58 PM, Sword-of-Kings wrote:At 10/26/14 01:06 PM, Gimmick wrote: Do you have a 1TB hard drive and a shitload of bandwidth just lying around, itching to be used? Because there's about 990 GB of Geocities websites archived in a torrent, available for download.No.
Wow, so many GB of space used...
At 10/26/14 12:42 PM, Sword-of-Kings wrote: There were a ton of Geocities sites I used to look at that at that are no longer there because of Yahoo shutting down the whole motherfucking service. I can't even remember the names of any of them. I might be able to find out what they are if I look at the browsing history on my old ass computer.
There's also this one website called Nintendo Land that isn't around anymore.
Do you have a 1TB hard drive and a shitload of bandwidth just lying around, itching to be used? Because there's about 990 GB of Geocities websites archived in a torrent, available for download.
At 10/26/14 05:54 AM, papapizza wrote:At 10/26/14 03:40 AM, Gimmick wrote:macromedia flash 8At 10/25/14 03:05 PM, papapizza wrote: i have as2 onlyWhat editor are you using?
OK then, create a MovieClip with two frames and a MovieClip inside called "bar", and put this code on the first frame:
_root.stop();
stop();
var AUTO_PLAY = false;
var loadingComplete = false;
timerHandler();
function timerHandler()
{
if(!loadingComplete)
{
var loaded = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100*loaded;
if(loaded == 1)
{
loadingComplete = true;
if(AUTO_PLAY)
startMovie();
else
gotoAndStop("loaded");
return;
}
}
}
function startMovie()
{
_root.play();
}
At 10/25/14 03:05 PM, papapizza wrote: i have as2 only
What editor are you using?
At 10/25/14 12:27 PM, Makakaov wrote: Burka that explodes with shrapnels when you pull a string (camping Muslims will love this)
Guns that shoot the wielder in the feet (NRA will love this)
At 10/25/14 08:36 AM, papapizza wrote:At 10/25/14 08:17 AM, Gimmick wrote: http://www.newgrounds.com/downloads/preloaders/i cant strip out all the art nor make a preloader myself. thats why i wanted this.
Strip out all the art if you want to.
http://www.newgrounds.com/downloads/preloaders/
Strip out all the art if you want to.
At 10/24/14 08:15 PM, egg82 wrote: public final void payBills() {
money -= money * 2;
The only way to not end up in debt, then, is to not make any money at all. No money to pay, no bills to slay.
At 10/24/14 11:15 PM, MintPaw wrote:At 10/24/14 10:22 PM, Gimmick wrote: Wow, didn't know there was a function called contains()! All this time I've been doing it a roundabout way! Thanks!It's not fast or a very good practice. You should know what is and isn't added to the stage.
Huh. Is DisplayObject.parent fast, though?
At 10/24/14 08:37 PM, Aprime wrote:At 10/24/14 09:04 AM, Gimmick wrote: Sorry for the late reply, was preparing for an exam.That's okay! Good luck!
At 10/22/14 10:56 AM, Aprime wrote:for(var aNumber:Number = 0; aNumber < loaders.length; ++aNumber)Hmm, I haven't tried this yet because hey, it's 2am again :P But, I think it would complain if the item isn't on stage, so I'd have to use if(stage.contains(loaders[aNumber])){
{
removeChild(loaders[aNumber])
}
Thanks for the help again :3
Yes, it would complain if the object wasn't on the stage. Wow, didn't know there was a function called contains()! All this time I've been doing it a roundabout way! Thanks!
we learn something new every day :]
I feel like Flash is going the way of Java applets on the web: it will never completely fade away, and it'll resurge some point in the future when some company makes an operating system out of it, or uses it as its core language. (This happening though would make it great, seeing as the main problem for flash is its poor mobile usage. Well why not make it a separate OS by itself? Sure you've got dozens of operating systems already and that'd be more work for Adobe, but...)
At 10/24/14 11:04 AM, MSGhero wrote:At 10/24/14 10:53 AM, GrahamNG wrote: Is it worth me becoming more serious about AS3 as a language? Or should I just drop it and learn C# or C++ or some crap instead?Go for haxe, it's similar syntax to as3 except way the hell more powerful.
What are it's pros and cons over other languages, etc?
Part of the problem is people pushing newcomers and so on to haxe instead of AS3. Yes it's better but that just worsens the situation. It's like how AS2 newcomers were encouraged to go to AS3, and now AS3 to haxe. (Side note, there needs to be a strikethrough option here)
ITT: goddamned swastika bitching. All you need is some Wriggle.
At 10/24/14 11:58 AM, Radaketor wrote:At 10/23/14 06:05 AM, Profanity wrote: Do you or does anyone you know celebrate this week?No and i don't think anyone i know celebrates it.
I celebrate it...but not the popular part. Used to burst firecrackers, then stopped, not because I became environmentally friendly but because I couldn't be arsed to go buy firecrackers from some shops.
What I did do instead, was pour oil all over myself
and then lit a match
jk
At 10/23/14 11:49 AM, Hacsev wrote: I just wanted to know if it really is possible in AS2 to store MovieClips into arrays. I did a test using the attachmovie and storing the name of it in the array, but when I trace the array it says 'undefined' over and over again.
What code do you have?