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

We found 532 matches.


<< < > >>

Viewing 391-420 of 532 matches. 1610 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18

391.

None

Topic: fix my code?

Posted: 11/09/08 09:31 PM

Forum: Flash

At 11/9/08 09:29 PM, CrustySheet wrote:
At 11/9/08 09:24 PM, mikkim wrote: says it expects a )
uhh where? whats the whole error say?

i don't have flash here but i'm pretty sure either loaded, total or cent are reserved variables meaining are they green or red writing? if so change the names so like a vLoaded or vTotal


392.

None

Topic: fix my code?

Posted: 11/09/08 09:29 PM

Forum: Flash

At 11/9/08 09:24 PM, mikkim wrote: says it expects a )

uhh where? whats the whole error say?


393.

None

Topic: fix my code?

Posted: 11/09/08 09:10 PM

Forum: Flash

var loaded=getBytesLoaded();
var total=getBytesTotal();
var cent = (var total\ 100 * varloaded);
percent = (cent+ "%");

give that a try

oops

:  var cent = (total \ 100) * loaded;

394.

None

Topic: fix my code?

Posted: 11/09/08 09:08 PM

Forum: Flash

At 11/9/08 08:54 PM, mikkim wrote: I don't really under-stand A.S. but I made a preloader code:
var(loaded)=getBytesLoaded();
var(total)=getBytesTotal();
var(total)\ 100 * var(loaded) = var(cent);
string percent = (var(cent) %)
but it doesn't work, so I need help with the code.
var loaded=getBytesLoaded();
 var total=getBytesTotal();
 var cent = (var total\ 100 * varloaded); 
 percent =  (cent+ "%");

give that a try


395.

None

Topic: Number cap/limit?

Posted: 11/09/08 08:03 PM

Forum: Flash

At 11/9/08 07:48 PM, Spaltzer wrote: Do you need a _root?

LOL


396.

None

Topic: Help with bars

Posted: 11/09/08 06:51 PM

Forum: Flash

so the question i have is this.. i have a bar that is 500px width and it is similar to a exp bar in a rpg
what im trying to do is get it to grow according to the exp you have

so if you have 50 exp and the total you need is 150 exp i need it to show that percentage but with 500px width so if the exp needed is 2000 it still works out the correct percentage does anyone know how to accomplish this?


397.

None

Topic: New Wwii Rts, Anyone?

Posted: 11/07/08 01:45 AM

Forum: Flash

At 11/7/08 01:42 AM, Kart-Man wrote:
At 11/7/08 01:12 AM, BillysProgrammer wrote: Tru that Moonkey, Why do you think I stopped at that file where it is :P
Because you copy-and-pasted that from the AS: RTS Movement tutorial, perhaps?

OMG!
Cheers Kart-Man
i thought i had seen that before somewhere


398.

None

Topic: Help!

Posted: 11/07/08 01:28 AM

Forum: Flash

At 11/7/08 01:24 AM, BoSs2KiNg wrote: Hey ,

In the game I am making I need two things and the code is not working...

I need it so that when my character touches a spike he explodes and goes to game over. Also when he touches a coin, it disappears and the score = 1.

Yeah those are noob questions but I have figured a lot of other things out in this game that I never thought i could. Please help

on the character

onClipEvent(enterFrame){
  if (this.hitTest(_root.spike){
this.gotoAndStop(exploding animation frame);
 _root.gotoAndStop(game over frame);
}
if(this.hitTest(_root.coin){
_root.coin.visible =false;
_root.score ++;
}

}

399.

None

Topic: Flash mail form

Posted: 11/07/08 12:52 AM

Forum: Flash

create a $var in php and once its sent make it true and sent that var into flash
www.actionscript.org
www.phpvideotutorials.com


400.

None

Topic: New Wwii Rts, Anyone?

Posted: 11/07/08 12:41 AM

Forum: Flash

At 11/7/08 12:37 AM, BillysProgrammer wrote: Ive made a file for rts if u wanna check it out

SWF: http://spamtheweb.com/ul/upload/071108/2 285_RTS_Movement.php

If u want the fla, pm me

thats cool, different but cool


401.

None

Topic: New Wwii Rts, Anyone?

Posted: 11/07/08 12:34 AM

Forum: Flash

At 11/7/08 12:27 AM, TehBoss wrote: I've noticed that there are a little amount of RTS games on NG (All, like, 2 of them). And I've decided to create one. But, I'm still not expirienced enough for making an RTS, and all I ask for is... An extra programmer, to help me programm the base engine.

sounds fun but i got no net at homea t the moment :(


402.

None

Topic: rediciulus noob question.

Posted: 11/06/08 11:56 PM

Forum: Flash

or try it this way otherwise i got no idea

onClipEvent(load) {
speed=4;
vHit = false;
}

onClipEvent (enterFrame) {
if(this.hitTest(_root.House)) {
vHit=true;
speed=0;
}
if(vHit==false){
if (Key.isDown(Key.UP)) {
this._y -=speed ;
}
if (Key.isDown(Key.DOWN)) {
this._y += speed;
}
if (Key.isDown(Key.LEFT)) {
this._x -= speed;
}
if (Key.isDown(Key.RIGHT)) {
this._x += speed;
}
}
}

403.

None

Topic: rediciulus noob question.

Posted: 11/06/08 11:52 PM

Forum: Flash

At 11/6/08 11:50 PM, CherinoGears wrote: this is hopless, this should work but its not. heres the .fla i cant see anything wrong but maybe you can.

i dont have flash i cant open it

have you given the Movieclip House an instance name of house or is it just the name?

take a screenshot of the house and its properties :)


404.

None

Topic: rediciulus noob question.

Posted: 11/06/08 11:31 PM

Forum: Flash

ok do it like this then

onClipEvent(load) {
speed=4;
}

onClipEvent (enterFrame) {
if(this.hitTest(_root.House)) {
speed=0;
}

if (Key.isDown(Key.UP)) {
this._y -=speed ;
}
if (Key.isDown(Key.DOWN)) {
this._y += speed;
}
if (Key.isDown(Key.LEFT)) {
this._x -= speed;
}
if (Key.isDown(Key.RIGHT)) {
this._x += speed;
}

}

Make sure that House is actually House and not house
** note the capital H


405.

None

Topic: rediciulus noob question.

Posted: 11/06/08 11:19 PM

Forum: Flash

onClipEvent(load) {
speed=4;
}

onClipEvent (enterFrame) {
if(_root.House.hitTest(this._x,this._y,true)) {
speed=0;
}

if (Key.isDown(Key.UP)) {
this._y -=speed ;
}
if (Key.isDown(Key.DOWN)) {
this._y += speed;
}
if (Key.isDown(Key.LEFT)) {
this._x -= speed;
}
if (Key.isDown(Key.RIGHT)) {
this._x += speed;
}

}

406.

None

Topic: rediciulus noob question.

Posted: 11/06/08 10:57 PM

Forum: Flash

just waht i thought

you will need to declare a speed variable and use the hit test to change the speed


407.

None

Topic: rediciulus noob question.

Posted: 11/06/08 10:55 PM

Forum: Flash

At 11/6/08 10:54 PM, zedd56 wrote: He's a scripter, he should be able to work it out with a generic set up.
Anyways, yeah, your way would definitely help him more... but personally, i really don't want him copy/pasting anything.

I want him to think, and learn.
I absolutely despise code-ripper-offers.

as do i but yeah he coudla had a different format but like you said he should figure it out :)


408.

None

Topic: rediciulus noob question.

Posted: 11/06/08 10:49 PM

Forum: Flash

At 11/6/08 10:47 PM, zedd56 wrote: why on earth would you need his code for this?

Here is the usage of the hitTest function.

i would put this on my character's mc:
if (_root.ground_mc.hitTest(this._x, this._y, true)){
yspeed = 0;
Air = false;
}

Thar you go.
There are other usages for hitTest, for smarter collision detection, but that's good to play with if you're just starting.

Welcome to flash. Good luck.

because he may not be using a speed var or declaring it outside of the mc
so i thought if i saw the code i could then give him the hittest that will work for his setup


409.

None

Topic: rediciulus noob question.

Posted: 11/06/08 10:36 PM

Forum: Flash

At 11/6/08 10:34 PM, CherinoGears wrote: ive been trying to figure this out for HOURS.

im making a game and basic movement is top down. i cant for the life of me though, figure out how to make it so that the object you control stops when it hits an obstacle. Ive looked at tutorials about top down movements and they made no mention of it.

send through your code that makes him move


410.

None

Topic: Random Text

Posted: 11/06/08 09:55 PM

Forum: Flash

At 11/6/08 09:27 PM, KillerxSNRx wrote: i tried using the code but it doesn't work. Are u sure its in Action Script 2.0? it keeps on saying: "statement must appear within on handler" and "Expected a field name after '.' operator."
i tried fixing it, but it stays the same.

on(release){

switch (Rand(4))
case 1
message1
break;

case 2
message2
break;
}

look up the correct format i can't remember it it's been a while


411.

None

Topic: Help me!!!

Posted: 11/06/08 09:51 PM

Forum: Flash

At 11/6/08 09:47 PM, beast-unleashed wrote:
At 11/6/08 09:39 PM, CrustySheet wrote:
At 11/6/08 09:30 PM, beast-unleashed wrote:
At 11/4/08 09:57 PM, thegameboy2008 wrote: How do I untick it?
i never lawled so hard. how did you even turn your computer on
its as easy as ticking a box
apperantly thats hard as hell to figure out

Skfht Fkkbvh thre ...

sorry i forgot how to type there for a second :P


412.

None

Topic: dad 'n' me

Posted: 11/06/08 09:48 PM

Forum: Flash

i try to post helpful answers IF i know it if not im not going to post just to say I dont know
which alot of people are doing :)


413.

None

Topic: Uploader Problem

Posted: 11/06/08 09:45 PM

Forum: Flash

o wait hang on

should there be a space before the s in flashvariables

could be the problem that directory won't exist if thats the case

/home/phrazzle/public_html/flashvariable s/upload_file.php on line 20


414.

None

Topic: Uploader Problem

Posted: 11/06/08 09:43 PM

Forum: Flash

try this forum

www.forum.phpvideotutorials.com

they normally have a few guys that will help out and know what they are doing


415.

None

Topic: Help me!!!

Posted: 11/06/08 09:39 PM

Forum: Flash

At 11/6/08 09:30 PM, beast-unleashed wrote:
At 11/4/08 09:57 PM, thegameboy2008 wrote: How do I untick it?
i never lawled so hard. how did you even turn your computer on

its as easy as ticking a box


416.

None

Topic: Uploader Problem

Posted: 11/06/08 09:04 PM

Forum: Flash

Warning: move_uploaded_file(upload/DxDiag.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/phrazzle/public_html/flashvariable s/upload_file.php on line 20

so whats your codes on line 18-21?


417.

None

Topic: Shapeflag HitTest help

Posted: 11/06/08 08:58 PM

Forum: Flash

No problem but also..(N00bish answer here)

just make sure that the hurt isnt actually Hurt with a capital H or something

i know its a n00bish thing but hey you never know :) (not calling you a n00b)

good luck with it all


418.

None

Topic: Help me!!!

Posted: 11/06/08 08:50 PM

Forum: Flash

At 11/6/08 08:47 PM, thegameboy2008 wrote: I also need to know: Why the heck are sites slowing down my movie? My Luigi's B-Day is only like 296 KB. And it's flippin' slowed down! I tried to test it on an example site. AND IT SLOWED DOWN!!! Help me guys! And zedd56, please don't get mad.

when you test in the stand alone flash player it will run differently than one in the web browser

if you want ot make sure its correct publish your movie and then test using the html file


419.

None

Topic: Quick AS question

Posted: 11/06/08 08:48 PM

Forum: Flash

so now you should post the code that worked so when people search the forums they can see the solution


420.

None

Topic: making a frame a variable?

Posted: 11/06/08 08:41 PM

Forum: Flash

ummm

Declare a Var

on each frame that can take you to the battlescene set that var to the frame number

when the battle is done tell it to goto and play the var value


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

<< < > >>

Viewing 391-420 of 532 matches. 1610 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18