Be a Supporter!
Response to: "Ruin The Magic" Day! Posted February 20th, 2010 in General

Candlejack is actually-

Response to: Help wanted Posted February 20th, 2010 in General

so does my cock in your ass

Response to: Sophisticated Question. Posted February 20th, 2010 in General

But why?

Cactus -> Cacti
Sophisticated Question. Posted February 20th, 2010 in General

Is the plural of penis, peni?

Response to: WTF Newgrounds! Posted February 20th, 2010 in General

At 2/20/10 05:57 PM, BloodiestCadaver wrote: I came back from a two year break recently, and I have not seen a single thread about dick stories, sex stories, getting caught jackin off stories, and there is a lack of threads with the blushing thread mood.
What the fuck happened maan?

You weren't here to spam general up with that shit.

Response to: Hip Hip is not dead Posted February 20th, 2010 in General

...a rockin to the bang bang boogie, and up jump the boogie, to the rhythm of the boogie to be...

Response to: I'm trying out a catchphrase... Posted February 20th, 2010 in General

Try, "I hate you with the intense, burning fury of a thousand burning suns."

"Bitch"

Response to: I like EyeLovePoozy Posted February 20th, 2010 in General

At 2/20/10 05:49 PM, NinjaDonut wrote:
At 2/20/10 05:43 PM, WhoIsPaul wrote:
ok ill give him 1 day to think what he did and a week to read the rules
I'll read the rules, but i did not insult you.
inb4 idiots

You're already too late

Response to: Hip Hip is not dead Posted February 20th, 2010 in General

I said a hip, hop, the hippie, the hippie to the hip hip hop, a you dont stop...

Response to: Shit in my drinking water Posted February 20th, 2010 in General

Wait, you live in a township AND have internet?

Response to: How old are your parents? Posted February 20th, 2010 in General

Well, my dad is nearly 67, and my mom is just over 23.
If you average the two, it's not that much of a differance.
:3

Response to: I like EyeLovePoozy Posted February 20th, 2010 in General

'sup bit-ches!

man yo so lucky gettin' yo promo to mod, so yo dont go bannin and hatin all over da fourms, yo.
Ya hear me?

Response to: Access of undefined property? (AS3) Posted February 5th, 2010 in Game Development

Hooray!

Thanks for helping me so quickly guys, it's working now. ^^

The problem was, I wrote part of the script a couple months back, and when I went to play around with ti some more, I didn't know that the capitalisation mattered, but now i do ^^

So thanks for the help
=D

Response to: Access of undefined property? (AS3) Posted February 5th, 2010 in Game Development

yeah, I looked over some basic keyboard input tuts and found they used event not Event, but when I changed it it didn't make a difference, but I'll try the e and evt now.

I always thought it was a personal preference, so thanks for telling me ^^

Response to: Access of undefined property? (AS3) Posted February 5th, 2010 in Game Development

By the way, tin this part of the code:

var up:Boolean = false;
var right:Boolean = false;
var down:Boolean = false;
var left:Boolean = false;
var rightArrow:Boolean = false;
var leftArrow:Boolean = false;

Up, down, left and right are referring to the WASD keys, while rightArrow and leftArrow are literally referring to the right and left keyboard arrows.

Againa, not sure if it helps, but w/e, it might.


Hey. I've just been making a simple movement code in AS3. All it does is move the character and rotate a gun which follows the player, or it should, but every time I run the code it comes up with the same compiler error:

1120: Access of undefined X, where X is any line in the code which involves any kind of keyboard things, like keycode and stuff.

I have no idea how to fix this, and I've tried commenting out various parts of the script to see if it's only one part, but it seems to be any part of it which involves keycode of any sort.

Not sure if it'll help, but heres the code anyways.

var xSpeed:Number = 0;
var ySpeed:Number = 0;
var xAcl:Number = 0.5;
var yAcl:Number = 0.5;
var xDecay:Number = 0.9;
var yDecay:Number = 0.9;
var rotSpeed:Number = 0;
var rotAcl:Number = 0.75;
var rotDecay:Number = 0.9;
var up:Boolean = false;
var right:Boolean = false;
var down:Boolean = false;
var left:Boolean = false;
var rightArrow:Boolean = false;
var leftArrow:Boolean = false;
var yDist:Number = 155;
function keyDowns(Event:KeyboardEvent) {
	if (event.keyCode == 87) {
		up = true;
	}
	if (event.keyCode == 83) {
		down = true;
	}
	if (event.keyCode == 68) {
		right = true;
	}
	if (event.keyCode == 65) {
		left = true;
	}
}
function keyUps(Event:KeyboardEvent) {
	if (event.keyCode == 87) {
		event.keyCode = 0;
		up = false;
	}
	if (event.keyCode == 83) {
		event.keyCode = 0;
		down = false;
	}
	if (event.keyCode == 68) {
		event.keyCode = 0;
		right = false;
	}
	if (event.keyCode == 65) {
		event.keyCode = 0;
		left = false;
	}
}
function arrowKeys(Event:Keyboard){
	if (event.keyCode == 37){
	   leftArrow = true;
	}
	if (event.keyCode == 39) {
		rightArrow = true;
}
}
function xMove(Event) {
	if (right == true) {
		xSpeed += xAcl;
	}
	if (left == true) {
		xSpeed -= xAcl;
	}
	if (left == false && right == false) {
		xSpeed *= xDecay;
	}
	ship.x += xSpeed;
}
function yMove(Event) {
	if (up == true) {
		ySpeed -= yAcl;
	}
	if (down == true) {
		ySpeed += yAcl;
	}
	if (up == false && down == false) {
		ySpeed *= yDecay;
	}
	ship.y += ySpeed;
}
function gunRotate(Event) {
	if (leftArrow == true){
		rotSpeed -= rotAcl;
	}
	if (rightArrow == true){
		rotSpeed += rotAcl;
	}
	gun.rotation += rotSpeed;
}
function gunFollow(Event) {
	gun.x = ship.x;
	gun.y = ship.y - yDist;
}
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDowns);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUps);
stage.addEventListener(KeyboardEvent.KEY_UP, arrowKeys);
stage.addEventListener(Event.ENTER_FRAME, xMove);
stage.addEventListener(Event.ENTER_FRAME, yMove);
stage.addEventListener(Event.ENTER_FRAME, gunRotate);
stage.addEventListener(Event.ENTER_FRAME, gunFollow);
Response to: Religious question. Posted January 20th, 2010 in General

god doesn't exist duur huur.

Response to: Worm:Win32/Koobfa ce.gen!D Posted January 20th, 2010 in General

Slap your computer and tell it to man up and get rid of the damn thing itself.

That whiney bitch...
Response to: holy shit guys, cupcakes. Posted January 20th, 2010 in General

DO WANT.

Response to: Why isnt this guy in jail? Posted December 18th, 2009 in General

They all came from stinkin criminals, so it does make sense

Response to: Your eyes? Posted December 18th, 2009 in General

Got brown, but i would love to change em straight to green.

Response to: Translation Party [Fun tool] Posted October 30th, 2009 in General

One of these already got locked, so fuck off

Response to: Omegle challenge Posted October 30th, 2009 in General

FUCK OFF THERES BEEN TOO MANY THREADS ON THIS SHIT RECENTLY

inb4lock
The Real Story Behind Octomom Posted October 30th, 2009 in General

I know you all think that the media frenzy Octo-Mom had 8 children and has continued to raise them, but this is not the case. She actually sold her children to an orphanage (The babies were so famous they paid for them) and using that money she hired 8 midgets, dressed them up in baby clothes, and is now making a fortune by appearing on daytime talk shows.

Discuss.

Response to: Happy birthday Internet! Posted October 29th, 2009 in General

Whoop-de-fucking-do! Hooray!

Alright, party's over
Response to: My Cursor has turned into a box! Posted October 28th, 2009 in General

That be trippy, yo

Response to: If You Could Kill One Musician... Posted October 27th, 2009 in General

Can I just kill two?

Justin Beiber and Miley Cyrus
Response to: I still don't know how you use the. Posted October 27th, 2009 in General

SOISOISOISOISOISOISOISOISOISOISOISOISOIS OISOISOISOISOISOISOISOISOISOISOISOISOISO ISOISOISOI

Response to: Books that blew your mind. Posted October 27th, 2009 in General

All of the Hitchhiker's Guide Series, except for the one by Eoin Colfer.

Read them already, read them again you whore.
Response to: Day in tha Farm Life. Posted October 27th, 2009 in General

Neeiiiggghhhhh!

Translation - Oh it was you!