The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 ViewsJust going to leave this here and leave
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)
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.
I already fixed it, thank you guys.
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...
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.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.
enemy_mc.addEventListener(MouseEvent.CLICK, kill)
function kill(event:MouseEvent):void {
enemy_mc.parent.removeChild(enemy_mc);
}
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.
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);
}
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.
This is clearly a hoax. The girl is probably laughing his ass off at us.
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.
Saints row 3
Gta IV
I never played it as I'm not really interested on it.
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)
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.