Be a Supporter!
Response to: Lol, Limewire. Posted September 29th, 2013 in General

Just going to leave this here and leave

:3

Response to: Delete movieclip instance on click Posted September 20th, 2013 in Game Development

At 9/20/13 06:53 PM, MintPaw wrote: You're suppose to always post your fix so that people in the future can find this thread and learn from it.

Well, here is what i did:

I firstly had the code you can see above. The thing i forgot was to make a listener for every instance of enemy_mc. After correcting that it from

event.target.parent.removeChild(event.target)

enemy_mc.parent.removeChild(enemy_mc)

to

event.target.parent.removeChild(event.target)

so it targets the variable i clicked (Or at least that was what I was explained)

Response to: Delete movieclip instance on click Posted September 20th, 2013 in Game Development

At 9/20/13 04:30 PM, milchreis wrote:
At 9/20/13 03:46 PM, Draco320 wrote: I already fixed it, thank you guys.
Another useless thread without any explanation.

Another completely unnecessary insult.

I'm a newbie, I know little to nothing about programming. I recurred here to receive help, and I'm really thankful for those who tried to help. After searching trough the Internet (and trying to understand what you guys say, as I'm completely new to this and I'm starting to learn) I decided to talk to somebody via skype. He helped me out and I done this. That was all, the entire code was what i posted there. I didn't posted more explanation because it was everything i have done whit the code before receiving help.

Response to: Delete movieclip instance on click Posted September 20th, 2013 in Game Development

I already fixed it, thank you guys.

Response to: Delete movieclip instance on click Posted September 20th, 2013 in Game Development

At 9/20/13 02:59 PM, milchreis wrote: post your code

Including the crosshair code? The only part of the code related to the problem is already posted...

Response to: Delete movieclip instance on click Posted September 20th, 2013 in Game Development

At 9/20/13 02:44 PM, MintPaw wrote:
At 9/20/13 02:23 PM, Draco320 wrote: Hello NG! I'm new to AS3 and I want to make my own game. It's a prety simple game where you need to shoot enemies which appear on the screen. I already have the crosshair, but I'm having a really bad time with making a movieclip get deleted/Destroyed when it's clicked. I already have got a bit of code which deletes the movieclip... But it only works once.

enemy_mc.addEventListener(MouseEvent.CLICK, kill)

function kill(event:MouseEvent):void {
enemy_mc.parent.removeChild(enemy_mc);
}
First of all you can leave out the enemy_mc.parent part. Use the proper parent class to remove it instead of that hacky method.
And yes, it should only work once, once it's click it should be removed, how are you re-adding?

I didn't explained myself correctly...

I added to enemies. When i kill one of them (delete it) the other one is impossible to kill (delete) that's what i meant by it's only possible to do once.

Delete movieclip instance on click Posted September 20th, 2013 in Game Development

Hello NG! I'm new to AS3 and I want to make my own game. It's a prety simple game where you need to shoot enemies which appear on the screen. I already have the crosshair, but I'm having a really bad time with making a movieclip get deleted/Destroyed when it's clicked. I already have got a bit of code which deletes the movieclip... But it only works once.

enemy_mc.addEventListener(MouseEvent.CLICK, kill)

function kill(event:MouseEvent):void {
	enemy_mc.parent.removeChild(enemy_mc);
}
Response to: Reality show ideas Posted September 19th, 2013 in General

1) We trow people at a room with 3 doors. After that we tell them that 2 of the 3 doors have a tiger at the other side. After they fail and are eaten alive by the tiger we show that the 3 doors had a tiger on the other side anyway. "The tiger doors"

2) Several fanboys are put inside of a room. After that they are insulted. The one who whines more wins. "Whine to win"

3) A reality show where several trolls are put inside of a house. The only one who survives the trolling fest wins a million dollars and is named moderator on NewGrounds.

Response to: 1D fan kills her dog, why you ask? Posted September 19th, 2013 in General

Are you serious?

This is clearly a hoax. The girl is probably laughing his ass off at us.

Stupid reviews Posted September 19th, 2013 in General

Which where the most stupid reviews you saw on NG? By stupid I'm not talking about the typical "Awesome" and 5 stars rating, I mean some elaborated reviews a that are stupid as heck.

Here is one i saw on the game lufstrauser:

"There are many problems with this game:
1st of all, it's in the category "shooter". So, how do I shoot?
Then this rock music doesn't fit at all with the game.
Graphics are very very very poor.
No upgrades possible.
No stars for you!"

The game tells you how to shoot at the menu screen, the music played on the background isn't rock, it's a 8-bit military march, the graphics are retro, so they are poor on purpose and the upgrades... Oh god, the upgrades, I hate them.

Stupid reviews

Response to: The Game You're Currently Playing Posted September 14th, 2013 in Video Games

Saints row 3

Response to: Popular Games You Never Played Posted September 13th, 2013 in Video Games

Gta IV

I never played it as I'm not really interested on it.

Response to: Most Dangerous Basic Enemy In Games Posted September 13th, 2013 in Video Games

The grunt from amnesia: the dark descent. Invincible monster that make you shit your pants, should i say more?

and the guards from Skyrim... Those bastards are really tough (At least when you first start playing)

Response to: Fucked Up Childhood Memories Posted September 12th, 2013 in General

I once saw an old woman who was ran over by a car.

The poor old lady flew over the car and landed face first on the road. Scary shit. I still don't know if she died or not.