Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'Maccomo'

We found 70 matches.


<< < > >>

Viewing 1-30 of 70 matches. 1 | 2 | 3

1.

None

Topic: importing arrays

Posted: 04/30/08 06:13 PM

Forum: Flash

have a MovieClip that is exported for Actionscript. I have a .as file with the same name as the exported MovieClip.

But now how can I import an array I used in a different part of my game to the .as file of that movieclip?

That's actually my question...

------
@ProfessorFlash: Thats what forums are for? to help eachother?


2.

None

Topic: importing arrays

Posted: 04/30/08 05:22 PM

Forum: Flash

This forum is so lame...
Anyone know a better one?


3.

Expressionless

Topic: importing arrays

Posted: 04/30/08 04:59 PM

Forum: Flash

I have a MovieClip that is exported for Actionscript. I have a .as file with the same name as the exported MovieClip.

But now how can I import an array I used in a different part of my game to the .as file of that movieclip?

Please help
thanks
macco


4.

None

Topic: GotoAndPlay(6) when hit.

Posted: 04/25/08 05:10 PM

Forum: Flash

I have this code now:

function checkForHits(event:Event) {
for(var eswordmenNum:int=eswordmen.length-1;eswo rdmenNum>=0;eswordmenNum--) {
for(var swordmenNum:int=swordmen.length-1;swordm enNum>=0;swordmenNum--) {

if (swordmen[swordmenNum].hitTestObject(esw ordmen[eswordmenNum])) {

if (swordmen.hitOn == true) {
//if (swordmen[swordmenNum].currentFrame < 6) {
swordmen[swordmenNum].gotoAndPlay(6);
eswordmen[eswordmenNum].gotoAndPlay(6);
swordmen.hitOn = false
//}
}
}

}
}

if (swordmen.hitOn == true) {

for(var eswordmenNum1:int=eswordmen.length-1;esw ordmenNum1>=0;eswordmenNum1--) {
eswordmen[eswordmenNum1].x -= 5
}

for(var swordmenNum1:int=swordmen.length-1;sword menNum1>=0;swordmenNum1--) {
swordmen[swordmenNum1].x += 5
}
}

}

Well, now the first swordmen and eswordmen that hit eachother gotoAndPlay(where the hit animation is). But the next swordmen and eswordmen will not move.
I thought hitOn should be individual for every swordman now... but it seems not....

Please Help,
Thanks...


5.

None

Topic: GotoAndPlay(6) when hit.

Posted: 04/25/08 12:10 PM

Forum: Flash

I know that my method sucks, thats y i'm asking for help


6.

None

Topic: GotoAndPlay(6) when hit.

Posted: 04/25/08 10:29 AM

Forum: Flash

Really nobody knows how to do this, or do you not understand my question?
Some1 know some other forums to get my questions answered?


7.

None

Topic: howtomake my sticks move realistily

Posted: 04/25/08 09:34 AM

Forum: Flash

Look how you move, and then make your stickmans move like you.


8.

Angry

Topic: GotoAndPlay(6) when hit.

Posted: 04/25/08 07:08 AM

Forum: Flash

I have two different arrays of swordmen, one is called eswordmen and the other swordmen. I would like that when they hittest eachother they gotoAndPlay at frame 6 where the hit animation is. But then they always hitTestObject eachother, so they will gotoAndPlay(6) each frame and the animation won't run...
I fixed this making a var hitOn, and they only hit eachother if that var is true, and when they hittest eachother i set that var to false.

But now I wan't to make more swordmen than just 2, and then that method won't work... Can some one please help me? How can this be done? It may sound a bit complicated but hope you understand my problem...

Here is my code:

//Actionscript 3.0

var hitOn:Boolean = true

function checkForHits(event:Event) {

if (swordmen[swordmenNum].hitTestObject(esw ordmen[eswordmenNum])) {
if (hitOn == true) {
eswordmen[eswordmenNum].gotoAndPlay(6);
swordmen[swordmenNum].gotoAndPlay(6);
hitOn = false
}

}else {

if (hitOn == true) {

for(var eswordmenNum:int=eswordmen.length-1;eswo rdmenNum>=0;eswordmenNum--) {
eswordmen[eswordmenNum].x -= 5
}

for(var swordmenNum:int=swordmen.length-1;swordm enNum>=0;swordmenNum--) {
swordmen[swordmenNum].x += 5
}

}
}

macco
(And yes, i love "Agnry Faic")

}


9.

None

Topic: Level Editor

Posted: 04/22/08 01:38 PM

Forum: Flash

ehh, srry without that **** image^^


10.

Shouting

Topic: Level Editor

Posted: 04/22/08 01:30 PM

Forum: Flash

How can I make a level editor?
Let's say I have some kind of block kind that the player can draw, how can i add them to an array after the player drew the block? And how can i save all the things he drew?

macco

Level Editor


11.

None

Topic: Loosing life with each hit...

Posted: 04/22/08 12:49 PM

Forum: Flash

At 4/21/08 04:12 PM, Temp967 wrote:
At 4/21/08 02:04 PM, Maccomo wrote: I was trying to make 2 stickmen walk towards each other, and when they both hittest, they hit each other. I could do that but. How can i make them loose life with each hit? I could use timers, but thats not what i wan't to do, cause maybe i will change the hit animation later.

I don't really need the code, i would just like to know how that is done... like similar to Age of War if you played that game...

Please help :)
thanks

macco
Have one or both of the sticks constantly check if they are touching. Once they do touch, just subtract from the life variable of both of them, or whatever you're using. To make them constantly check you can use an interval or an onEnterFrame.

Thats not what i meant... Cause if they hittest eachother they will loose life over and over again, and i just wan't them to loose life with each hit, so i think i'm gonna use timers, to time when they hit and at the same time they will loose life...


12.

Winking

Topic: Loosing life with each hit...

Posted: 04/21/08 02:04 PM

Forum: Flash

I was trying to make 2 stickmen walk towards each other, and when they both hittest, they hit each other. I could do that but. How can i make them loose life with each hit? I could use timers, but thats not what i wan't to do, cause maybe i will change the hit animation later.

I don't really need the code, i would just like to know how that is done... like similar to Age of War if you played that game...

Please help :)
thanks

macco


13.

Questioning

Topic: Rotation towards mouse

Posted: 04/21/08 06:36 AM

Forum: Flash

I mean actionscrtip 3.0...


14.

Winking

Topic: Rotation towards mouse

Posted: 04/20/08 02:32 PM

Forum: Flash

How can i make a movieClip rotate towards the mouse. (Always facing the mouse, such as weaopnd rotation.)


15.

None

Topic: Mochiads

Posted: 04/18/08 11:33 AM

Forum: General

At 4/18/08 11:30 AM, simple-but-sandy wrote:
At 4/18/08 11:18 AM, Maccomo wrote: Yeah, i read that aswell, thats why im asking, but i don't sell the game. It's free. So is it still commercial?
Mochiads give you money don't they? In which case it counts as commericial.

kk, that means everyone that uses mochiads in his/her game makes an arangement with the music artist...


16.

None

Topic: mochiadss

Posted: 04/18/08 11:31 AM

Forum: Flash


I don't think that many does arrangements with the music artist(s), and those who doesn't will most often get away without paying them a dime. But in my opinion music artists are underrated, they work hard to produce music which we can use in our games, and I think it's only fair that they get a piece of the cake.

Hmm, you don't think that many do an arangement with the artist? You mean they don't ask the artist? Woulden't they get kicked out of newgrounds.?


17.

None

Topic: mochiadss

Posted: 04/18/08 11:24 AM

Forum: Flash

Ok, so i have to make an arrangement with the artist?


18.

None

Topic: Mochiads

Posted: 04/18/08 11:18 AM

Forum: General

Yeah, i read that aswell, thats why im asking, but i don't sell the game. It's free. So is it still commercial?


19.

Elated

Topic: Where to find loops?

Posted: 04/18/08 11:16 AM

Forum: Audio

Is there a way i can search the audio portal for loops? Or are there some good loop makers that everyone knows about? What's the quickest way to find a matching loop for your game?


20.

None

Topic: mochiadss

Posted: 04/18/08 11:12 AM

Forum: Flash

At 4/18/08 10:52 AM, DreamworX wrote: Tehnically, you do need to come up with an arrangement with the artist. The creative common license used for everything in the Audio Portal states:

"You may not use this work for commercial purposes unless you make specific arrangements with the artist under another license."

...and Mochiads is what would be considered commercial.

That's what i thought... Do all other flash game developers make an arrangement with the artist? Cause it's not actually commercial, it's free i don't sell it.


21.

None

Topic: How is music really made

Posted: 04/18/08 11:07 AM

Forum: Audio

GarageBand for mac, it's awesome.


22.

None

Topic: mochiadss

Posted: 04/18/08 10:45 AM

Forum: Flash

Sure i always credit them.


23.

None

Topic: mochiadss

Posted: 04/18/08 10:37 AM

Forum: Flash

Am I allowed to use mochiads in my game, If theres a song in my game i used from the newgrounds audio portal and credited the artist, or do i have to arange that with the artist?


24.

None

Topic: Mochiads

Posted: 04/18/08 10:15 AM

Forum: General

Am I allowed to use mochiads in my game, If theres a song in my game i used from the newgrounds audio portal and credited the artist, or do i have to arange that with the artist?


25.

None

Topic: Spamtheweb hacked???

Posted: 04/18/08 06:14 AM

Forum: General

At 4/18/08 12:24 AM, 0gg-the-Gnome wrote: works fine if you just go to the website without that link, so it is obviously a joke.

What joke?? go to the website without that link, spamtheweb got hacked.


26.

Angry

Topic: Spamtheweb hacked???

Posted: 04/17/08 06:45 PM

Forum: General

Yeah, actually i like AGNRY FAIC much better..., but W00T the site rly got hacked? Man i hate it... Those Spammers really got spammed...


27.

Mad as Hell

Topic: Spamtheweb hacked???

Posted: 04/17/08 05:26 PM

Forum: General

www.spamtheweb.com

wth happened with it? did it get hacked?


28.

None

Topic: flash right click menu...

Posted: 04/17/08 12:10 PM

Forum: Flash

At 4/17/08 07:46 AM, GustTheASGuy wrote: It's not intended to be part of Flash interactivity so you shouldn't try to use it.

But is there a way to do it?


29.

None

Topic: flash right click menu...

Posted: 04/17/08 06:18 AM

Forum: Flash

i found out how to change it, but actually i wan't to look if you clicked it, and then do something. Or just trace if you rightclicked


30.

None

Topic: flash right click menu...

Posted: 04/17/08 06:06 AM

Forum: Flash

or is there any way to look if you rightclicked, like addEventListener(MouseEvent.RIGHCLICK, dosomething)?


All times are Eastern Daylight Time (GMT -4) | Current Time: 01:58 AM

<< < > >>

Viewing 1-30 of 70 matches. 1 | 2 | 3