87 Forum Posts by "szmuk"
Your welcome =)
but i thought there was like commas or separators to make tha random function choose from a set of intigers
There proabably is, never heard about it though ^^
You could try:
a = random(3);
If(a == 0){
b = 5;
} else if { a == 1){
b = 15;
} else if { a == 2){
b = 25;
} else if{ a == 3){
b = 100;
}
I'm not entirely sure I understood you correctly, but hope it helps =D
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.
You could try something like this:
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 ^^
Yes, there is one... I have no idea where I got mine from though o.o;
And where would one find these free WoW servers? O_O
At 4/26/05 06:39 PM, aremblue wrote:At 4/26/05 06:32 PM, szmuk wrote: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.
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...
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/26/05 01:30 AM, Darx1000 wrote: do you guys still need any help at all? cause i can help with things....
We can always use a bit help... =)
If your interested in helping the team, feel free to register at the forum... =)
At 4/24/05 03:49 PM, VegetarianCannibal wrote: seriously though, i havent checked out this bbs forum since from the start
Same... I think i've only been her about 3 times since it all started...
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/18/05 02:22 AM, ZeroResistance wrote: I would like to join this. I'm good at fbf. heck, all my movies are fbf.
Then go sign up at the forum... we could use a fbf animator =P
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...
I've created a forum for us =o
Go sign up =)
At 4/6/05 04:30 PM, badboy_c wrote: By the way if you want to see what im capable of visit this websites listed below:
http://highamspark.741.com/HAIR
http://highamspark.741.com/egg_stud.swf
http://highamspark.741.com/untitled-1.swf
It wont let you hotlink those sites... try hosting them on imageshack instead...
hm... I think is(!key.isDown(key.whatever)) should do the trick...
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*/;
}
Im not really sure what you meant, but I think one of these will work
If you want MC1 to be bigger than MC2:
onClipEvent (enterFrame) {
_root.MC2._xscale = this._xscale+(100);
_root.MC2._yscale = this._yscale;
}
If you want MC2 to be 100 pixels away from MC1:
onClipEvent (enterFrame) {
_root.MC2._x = this._x+(100);
_root.MC2._y = this._y;
}
put this on MC1, and remember to name the other one MC2
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
Ninja pwns j00 >=(
on(press){
nextFrame();
}
and
on(press){
prevFrame();
}
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.
I think you have to start a new topic...
Hm... not even the original one works for me... maybe that's the problem?
Can you people post some of your work? I'd really like to see what you peep's can do =)
Here's a background I did, for a flash collab that died =o
At 4/5/05 07:29 PM, Acethedealer wrote: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...
At 4/5/05 06:40 PM, crystalpepsilock wrote: who wants to watch flash made by beginers?
You do, of course =)
At 4/5/05 06:29 PM, TKDMatt wrote: Does anyone know the actions script code for making a movie clip perform an action (kick, punch, ect.). I would like to know how to make one of my symbols perform an action at any moment by pressing the space bar.
Hm... I think that's something like
onClipEvent(enterFrame){
if(key.isDown(key.UP)){
this.gotoAndPlay(the frame where the kick animation starts)
}}
Put this on the characters MC, and change the key.UP thing to to the button you want to use for the kick, and change the gotoAndPlay thing to where your kick animation starts...

