Be a Supporter!
Response to: HitTest between spawned movie clips Posted February 3rd, 2014 in Game Development

That makes a lot more sense now, but what would the hitTest look like? I'm bad with arrays. Thanks a lot for your reply.

Response to: HitTest between spawned movie clips Posted February 3rd, 2014 in Game Development

Also, AS2.

Response to: HitTest between spawned movie clips Posted February 3rd, 2014 in Game Development

I might not have been specific enough.

Basically what happens is that each time I spawn an enemy with attachMovie, I give it a name with a number. so "enemy+1", "enemy+2", ..."enemy+i".

Whatever I do, I can't get any enemy to hitTest any other enemy because I can't use "i" in the hitTest, because it is a variable and only works for the enemy with the value of "i".


Hello everyone,

I've been working on and off a game recently, and it requires something that has been puzzling me for a long time now.

The problem is that if I have two enemies which I have spawned with attachMovie running in a for loop, there is no way I could get them to interact with other with HitTest.

I'm making a 2D platform fighting game, and for example I want them to line up for the player, not pass through each other and pile up in one spot. I also want the player to be able to knockdown enemies by pushing them into each other.

I've been trying to achieve this for ages, but I simply can't come up with an idea that works. Anyone?

Thanks in advance.

Response to: how r the earnings from ads... Posted November 30th, 2011 in Where is / How to?

So eCPM is just a statistic and doesn't affect my total earnings? And there is no possible way to get accurate information about each separate ad?

Response to: Hi, Does any know ... Posted November 29th, 2011 in Where is / How to?

Just find a free version of Macromedia Flash 8 (which I use), Flash CS4 or CS5.

Other than that, Pivot is the only free one that I know... (for stick animations, if thats what you want but I don't recommend it.

how r the earnings from ads... Posted November 29th, 2011 in Where is / How to?

...calculated? I tried searching their website and the FAQ on NG but still no answer.
.
And if its per click, how much does each click get me?
I understand this eCPM, but does it effect my total earnings if its too low?
For example I put the ad in 3 places in my game. 600 people played my game so the add was seen 14.000 times. However, because people probably wont click on the same ad twice, this makes the eCPM extremely low (0.03). Could I have gotten more from this than $0.38?

I just want someone to accurately explain to me how is this calculated, with no links to FAQs or other topics, because I searched them a lot and still no answer.

Response to: How are the earnings from ads... Posted November 29th, 2011 in General

Thanks... Ill go try ask it there...

How are the earnings from ads... Posted November 29th, 2011 in General

...calculated? I tried searching their website and the FAQ on NG but still no answer.

And if its per click, how much does each click get me?
I understand this eCPM, but does it effect my total earnings if its too low?
For example I put the ad in 3 places in my game. 600 people played my game so the add was seen 14.000 times. However, because people probably wont click on the same ad twice, this makes the eCPM extremely low (0.03). Could I have gotten more from this than $0.38?

I just want someone to accurately explain to me how is this calculated, with no links to FAQs or other topics, because I searched them a lot and still no answer.

Response to: Can I Use The Ad Api Differently? Posted November 24th, 2011 in General

Anyone?

Response to: Can I Use The Ad Api Differently? Posted November 23rd, 2011 in General

You clever motherfucker.

Hahha lol.

Can I use it at more than 1 places?

Response to: Can I Use The Ad Api Differently? Posted November 23rd, 2011 in General

Actually, my logics are a bit different.

People click on games to actually play them. But once they're frustrated with losing (or if they beat the game) they want to try something different. And oh look, theres something different right under your mouse!! :P

Can I Use The Ad Api Differently? Posted November 23rd, 2011 in General

Can I use the flash API in a lose screen? I made a game (almost done), and when you lose, well, a lose screen pops up. So is it OK if I put the ad API in that screen, or does it HAVE to be a part of the preloader?