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: 'bartymany'

We found 235 matches.


<< < > >>

Viewing 1-30 of 235 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

1.

None

Topic: Exp Bar

Posted: 12/09/09 01:26 PM

Forum: Flash

Oh okay, thanks, i didnt think of dividing it, i just thought there was a different way of doing it. thanks


2.

None

Topic: Exp Bar

Posted: 12/09/09 01:10 PM

Forum: Flash

Okay i have an exp bar with this script on it:
onClipEvent (enterFrame) {
expbar._width = _root.sonicxp;
}
}
And the width of my exp bar is 381, so if my exp is over 381 the bar gets too big, is there any way to make it seem bigger? Because i need to add 2000 exp to it, so how can i make it so like, 2000 exp only fills up about a quarter of it?


3.

None

Topic: Health bar gets too big.

Posted: 11/27/09 12:38 PM

Forum: Flash

Okay, with that code you gave me, it was a bit weird because after the max width the width never changed when it went a bit higher, the width of my health bar is 381 and when the exp goes over 381 the width doesnt ever change with that code, is there any way to fix this, or have i just changed your code the wrong way? by the way, now i have on the frame before it it says _root.sonicxp += 2000 because i thought it would be easier.

Your Code Editted:

onClipEvent (enterFrame) {
if (_root.sonicxp<=381) {
healthbar._width = _root.sonicxp;
}
}


4.

None

Topic: Health bar gets too big.

Posted: 11/27/09 12:15 PM

Forum: Flash

It worked fine thanks, but how can i make it so if its 0 the bar is 0 (it already does this) but if its 2000 or so, the bars width is still the same?


5.

None

Topic: Health bar gets too big.

Posted: 11/27/09 11:59 AM

Forum: Flash

At 11/27/09 11:49 AM, bartymany wrote: Okay, i have a health bar with this script on it:

onClipEvent (enterFrame) {
this._xscale = _root.sonicxp += 2000;
}

and its okay, but the bar gets too big and fills up the whole screen, is there any way of fixing this?

Oh okay, scratch that, can i make it so when sonicxp is 0 the xscale is 0 and if its a different number then the bar is full and it doesnt get any bigger?


6.

None

Topic: Health bar gets too big.

Posted: 11/27/09 11:49 AM

Forum: Flash

Okay, i have a health bar with this script on it:

onClipEvent (enterFrame) {
this._xscale = _root.sonicxp += 2000;
}

and its okay, but the bar gets too big and fills up the whole screen, is there any way of fixing this?


7.

None

Topic: The Kirby Collab

Posted: 11/25/09 11:46 AM

Forum: Flash

My attempt, If it isnt good enough i understand, but i tried my hardest, it isnt exactly good though.http://spamtheweb.com/ul/upload/3 609/60331_Kirby_Collab.php


8.

None

Topic: Saving/Loading question

Posted: 11/23/09 02:02 PM

Forum: Flash

At 11/23/09 01:56 PM, MasterExploader wrote: hi guys iv got a problem...
i had a saving loading system the i made but i lost it and i forgoot how i did it...
so can someone help me with it?
the system needs to be like this:
it saves the last frame thet you'v been into ok?
like im playing on frame two and i got to frame 4 and i exit the game and came back after a hour and then im pressing load button and im getting back to the last frame that iv' been in..
sorry if my english is bad..

please help me.
thanks
~ MasterExploader

Save:

on (release) {
_root.sav = SharedObject.getLocal("savename");
_root.sav.data.frame = _root._currentframe;
}
That is if its a button, obviously =3
Load:

on (release) {
_root.sav = SharedObject.getLocal("savename");
gotoAndStop(_root.sav.data.frame);
}
Yet again, this is if its a button, also, next time use the search bar.


9.

None

Topic: The Kirby Collab

Posted: 11/22/09 11:28 AM

Forum: Flash

Can i join? Ill make a part and see if you like it.


10.

None

Topic: Exp Bar Problem

Posted: 11/22/09 10:39 AM

Forum: Flash

At 11/22/09 10:37 AM, Johnny wrote:
At 11/22/09 10:35 AM, bartymany wrote: Ive put a = after the variable now, and it still isn't going down
Post the new, modified code.

I just realised i made the stupid mistake of not making _root.sonicxp = 0 before it, thanks for helping though.


11.

None

Topic: Exp Bar Problem

Posted: 11/22/09 10:35 AM

Forum: Flash

At 11/22/09 10:30 AM, Johnny wrote:
At 11/22/09 10:24 AM, bartymany wrote: And the X. Of the exp bar stays the same if you press it for some reason, does anyone know why?
You need to add an equal sign after the plus/minus sign.

variable += whatever.

Or..

variable = variable+1000;

Ive put a = after the variable now, and it still isn't going down


12.

Elated

Topic: Exp Bar Problem

Posted: 11/22/09 10:24 AM

Forum: Flash

I have 2 frames, the first saying :

_root.sonicxp + 2000;

And another with a movie clip that is an exp bar, on the movie clip i put this on it

onClipEvent (enterFrame) {
this._xscale = _root.sonicxp;
}

And I have a button on the second frame that has:

on (release) {
_root.sonicxp - 1000;
}

And the X. Of the exp bar stays the same if you press it for some reason, does anyone know why?


13.

None

Topic: M.C Problem

Posted: 11/03/09 11:53 AM

Forum: Flash

At 11/3/09 11:43 AM, hdxmike wrote: What code ?

Just do

function onEnterFrame(){
if(Health<50){
MC.gotoAndStop(2)
}}

Thats AS2 of course but most of it its virtually identical to AS3

Oh so thats what i was doing wrong, thanks, im using as2 anyways


14.

None

Topic: M.C Problem

Posted: 11/03/09 11:27 AM

Forum: Flash

Okay, I have a variable of health, and i want to make it so the movieclip goes to frame 2 when health is 50, but when i put the code in the movieclip it doesnt work, do i have to put a duplicate variable in the movieclip also or something?


15.

None

Topic: Medals

Posted: 10/02/09 01:08 PM

Forum: Flash

At 10/2/09 01:06 PM, Giantsockmonster wrote: So only tom fulp knows how?

As far as i know yeah, might want to wait till someone else answers though, since im not exactly an expert


16.

None

Topic: Medals

Posted: 10/02/09 12:44 PM

Forum: Flash

At 10/2/09 12:34 PM, Giantsockmonster wrote: I wish to learn how to get medals into my movies, I hope someone could show me how its done :)

Message tom saying reasons medals should be in ur game/movie, give him an example of ur work and if he wants to he will tell you how.


17.

None

Topic: Mini-Game Collab 2

Posted: 09/10/09 11:03 AM

Forum: Flash

At 9/10/09 10:53 AM, bartymany wrote: Am I too late to join? i havent read the whole forum, ill go do that now

OH btw, i havent got enough B.A, but, i probably will when i make my 3rd game, and ill make a game to show that i can do something, if it doesnt get in, it doesnt get in ^^


18.

None

Topic: Mini-Game Collab 2

Posted: 09/10/09 10:53 AM

Forum: Flash

Am I too late to join? i havent read the whole forum, ill go do that now


19.

None

Topic: Inverting colours?

Posted: 09/10/09 09:44 AM

Forum: Flash

At 9/10/09 09:37 AM, bartymany wrote: how do you invert the colours in macromedia flash 8? is there a tool to do it or do i have to do it by myself?

Oh never mind, i never thought to search it XD


20.

None

Topic: Inverting colours?

Posted: 09/10/09 09:37 AM

Forum: Flash

how do you invert the colours in macromedia flash 8? is there a tool to do it or do i have to do it by myself?


21.

None

Topic: Nooby text question

Posted: 09/07/09 04:01 AM

Forum: Flash

At 9/7/09 03:57 AM, the1manwiththeplan wrote: Instead of using text I use a sound sort of like the sound that plays if you get the question wrong on who wants to be a millionaire o_0 lol.

So you click the button and either your attack plays or DUN DUN the empty MP sound plays.

Just thought it would save time XD

Wow, thats an awesome idea, thanks! thats saved me a lot of time and effort!


22.

None

Topic: Nooby text question

Posted: 09/07/09 03:37 AM

Forum: Flash

At 9/7/09 03:35 AM, iluvAS wrote: are you toking abt text in the ouput window? or on the main stage itself

the main stage itself


23.

None

Topic: Nooby text question

Posted: 09/07/09 03:31 AM

Forum: Flash

At 9/7/09 03:20 AM, johnnymoha wrote: Do you already have a text box on screen? or do you want to create a new textbox with text in it?
If you just put a blank one on screen you can say instancename.text = "whateveryouwant"; if not, you can probably use var textField:TextField = new TextField();
textField.text = "whateveryouwant";

oh okay, sorry i didnt explain myself, i want it so, if i click a button, it checks if i have enough mp to do the attack, then if i dont it says at the bottom of the screen not enough MP


24.

Elated

Topic: Nooby text question

Posted: 09/07/09 03:08 AM

Forum: Flash

how do i make it so, in as2, text appears?


25.

None

Topic: script help!

Posted: 09/04/09 09:20 AM

Forum: Flash

Wow, thanks, that fixed it, sorry, its just, whenever theres a problem for me, in a script its usually that i need ==, so i thought id try putting it on before asking, thanks!


26.

None

Topic: script help!

Posted: 09/04/09 09:12 AM

Forum: Flash

Okay, I made a script, i have NO idea why it doesnt work, i have a variable called enemy attack, and i have made this script, but he always does enemy1attack0, i have checked spelling on all of the names so it isnt that, does anyone have an idea why it isnt working?

_root.enemyattack == Math.round(Math.random()*2);
if(_root.enemyattack == 0){
gotoAndPlay("enemy1attack0")
}
if(_root.enemyattack == 1){
gotoAndPlay("enemy1attack1")
}
if(_root.enemyattack == 2){
gotoAndPlay("enemy1attack2")
}


27.

None

Topic: random number attack help

Posted: 09/04/09 08:48 AM

Forum: Flash

At 9/4/09 08:42 AM, 4urentertainment wrote: Round the number:

Math.round(Math.random()*80+30);

Ok, Thanks!


28.

None

Topic: random number attack help

Posted: 09/04/09 08:39 AM

Forum: Flash

Okay, i know how to make a random number take away from a variable,

enemy1health -= Math.random()*80+30;

But, it always does a decimal number, how can i stop this?


29.

None

Topic: Health bar

Posted: 09/04/09 07:01 AM

Forum: Flash

oh, thanks


30.

None

Topic: Health bar

Posted: 09/04/09 06:51 AM

Forum: Flash

how can i make it so there is a health bar, that works normally, but if the max is 1000 it would be the same size as it would be if the max was 100?


All times are Eastern Standard Time (GMT -5) | Current Time: 04:32 AM

<< < > >>

Viewing 1-30 of 235 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8