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!
At 1/30/08 10:23 AM, Toady1104 wrote:
No it don't work, when I hit the door it opens, even if I don't have the key and The player still can walk over it, I tryed like this:
onClipEvent (enterFrame) {
if (this.hitTest(_root.jogador)) {
if (_root.azul>=1) {
play();
} else {
if (this.hitTest(_root.jogador)) {
_root.jogador._y += 7;
}
}
}
}
(I tryed "_root.azul>=1" and only "azul>=1" but neighter works.)
and how to use Tray (); ?
It seems to me that "if (_root.azul>=1) {" Is refering to a movieclip, rather than a variable. Try makeing it it refer to a variable inside the azul MC, for example: if (_root.azul.keyammount >= 1){ blabla } else { etc.
Trace(); traces whatever is between the () to the output thingy when your running your movie.
For example
Trace(key) traces the value of the variable "key"
Trace("key") writes key in the output thing
It's really useful for checking if a variable changes to what you want it to be, among other things.
onClipEvent(enterFrame){
if (this.hitTest(TheDoor){
if (Key >= 1){ Put the "Open the door" script here
} else { Put the "You have no keys" script here
}
}
}
This should work, can't promise anything though ^^
At 4/26/05 06:32 PM, szmuk wrote:
Hahah... judgeing(no, I can't spell >_<) from your stupidity, you must be from Gaia... no one on NG is stupid enough to actually attack another forum...
No, I'm not stupid. And I'm not from Gaia. I browse it. I'm not 'from' it. Just goes to show the bland, obsessive internet mindset everyone has here, I guess. You know, when I'm addressed as though I'm some website resident.
Personal preferences, everybody. I'm not stupid because I post on Gaia, but thanks. I wouldn't have said the same for you and NG. How asinine that many of you have this sort of secular attitude in regards to these online forums.
I think there are more important things to generate your negative attention toward than the people across the street on _____.com.
That's what I mean't with 'from' >_<
And im not saying your your stupid just because you post there... more like, Gaia corrupts your mind and un-smarts you... sheesh o.o
Also... I called you stupid, because you were acting it... I mean... even in this ever-so-smart reply, you continue to act stupid...
At 4/26/05 06:23 PM, aremblue wrote:
..Declaring war on another forum?
You guys need to fucking step outside and toss around a baseball or something.
Hahah... judgeing(no, I can't spell >_<) from your stupidity, you must be from Gaia... no one on NG is stupid enough to actually attack another forum...
At 4/24/05 03:31 PM, thegameandflashmaker wrote:
i need an actionscripter for a couple games im making ..... post a message if your interested you will be in the credits of the games.
First of all... We. Need. More. Info.
Also... Post some samples of your work, so we can see if it's worth our time...
and lastly, AS'ers should be co-authored, not just stuffed away in the credits...
At 4/9/05 07:26 PM, lambor2000 wrote:
I want to make it so when the player collides with a certain object, the movie plays a certain frame in the timeline. I want it so when the player hits this certain something, a "game over" screen or something shows up. Is there any code I can insert to make this happen? Thx
try:
onClipEvent(enterFrame){
if(_root.instanceNameOfPlayer.hitTest(this){
gotoAndPlay(game over frame)
}
}
Put this on the MC that kills or whatever the player...
This should work, but it might require some tweaking to work like you want it too:
onClipEvent (enterFrame) {
this._x = -_root._xmouse /*change this to change the x starting point: +400*/;
this._y = -_root._ymouse /*change this to change the y starting point: +550*/;
}
At 4/6/05 12:34 PM, jorncar wrote:
wow... people are still gay enough to use ninja in a name?(no offense to actual gay people :) ).... if you call it anything with ninja and people see that within the first 15 seconds the movie WILL get blammed. I highly suggest no one ever uses ninja in anything
At 4/5/05 08:16 PM, AlexPawlowski wrote:
Been a Stick figure fan? Can't make flash?
Yeah I know it suck's I can't iether...
There are other ways to make things that don't involve flash and Html
Wanna know?
Really?
Really wanna know?
Then Join and i'll tell you >;)
At 4/5/05 08:03 PM, twilight_venom wrote:
i was wondering if it's possible to change a topic's name, cuz when we think of a name for the team, i don't really feel like starting a new topic.
At 4/5/05 07:27 PM, indianwrestler wrote:
of course you can join, this team is pretty much open to anyone, expect zombies,invisble friends, mole people and dolphins.
does that mean im out, because i would become a zombie after having my brains sucked out
As long as you can still make flash's, your in... I guess =o
At 4/5/05 06:58 PM, indianwrestler wrote:
I think we should call it Team Venom because twilight_venom started this great idea
and for the logo we have a twilight sky and the black outline of grass in the background and in the foreground we have a snake
I think it should be something that describes the whole team, instead of just one member...