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

We found 19 matches.


<< < > >>

Viewing 1-19 of 19 matches.

1.

None

Topic: Random function

Posted: 05/03/08 11:26 PM

Forum: Flash

Anyone got a solution?


2.

None

Topic: Random function

Posted: 05/03/08 11:05 PM

Forum: Flash

At 5/3/08 11:02 PM, Slasher145 wrote:
but my results are random

I meant aren't random, sorry.


3.

None

Topic: Random function

Posted: 05/03/08 11:02 PM

Forum: Flash

How about if i wanted a random number between 0.5 and 1.5?

I changed it to

 Math.ceil( (Math.random() * 0.5 + 1.5) * 10 ) / 10; 

but my results are random, i get numbers between 1.1 and 1.3, not random at all.

Thanks in advance.


4.

None

Topic: Random function

Posted: 05/03/08 10:54 PM

Forum: Flash

At 5/3/08 10:46 PM, DarkMana wrote:
At 5/3/08 10:44 PM, DarkMana wrote: Math.ceil( Math.random() * 0.5 + 0.5 );
Err... >_<

Math.ceil( (Math.random() * 0.5 + 0.5) * 10 ) / 10;

Thanks, this works =]

As for SpamBurger its not to one decimal place.


5.

None

Topic: Random function

Posted: 05/03/08 10:40 PM

Forum: Flash

Hey, i'm wanting to create a random number between 0.5 and 1. How do i do so?

Currently i have: random(1.0)+0.50;

But that doesn't work, it always returns 0.50 as it cant pick a random number out of 1(Being a whole number), How do i make it pick it to 1 decimal place.

Thanks in advance.


6.

None

Topic: Suggest Ideas for JetBot2!

Posted: 04/24/08 02:17 PM

Forum: General

' _Chris says:
i can give improvements over msn xD
Dan says:
NO U CAN POST >;D

Oh well, heres my post!! lol?
I stick with my statement of msn!


7.

None

Topic: Earn money from your flash games!$

Posted: 02/25/08 10:43 AM

Forum: General

Haha, i would of liked it more to be 666 but sadly it didnt happen! I didn't even realise it was going to be 777 =p


8.

Elated

Topic: Earn money from your flash games!$

Posted: 02/25/08 10:37 AM

Forum: General

Hello everyone,
I'd like to take some time in showing you, if you Mochi Ads havn't already seen it which is a advertising network for flash games! All you have to do is register with the side, put one line of code in your game, upload your game (which can be uploaded to their server to help your bandwidth costs!), they will look and your game and see whether or not to approve it and you can be earning $$ in minutes!
I only made 2 games and iv'e earned over $100 all for free, im happy with mochiads thats why im posting.
Oh and also they have a nice leaderboard highscore table so if you have scoring games, it can be implemented, and the best thing is, its all free!
Thanks
If you have any questions please ask.


9.

None

Topic: Remove Movie clip

Posted: 02/17/08 10:58 PM

Forum: Flash

Thanks alot for the replies.
ill read through it all and post my results later.
Thanks


10.

None

Topic: Remove Movie clip

Posted: 02/17/08 10:12 PM

Forum: Flash

Anyone continue?
Thanks


11.

None

Topic: Remove Movie clip

Posted: 02/17/08 09:30 PM

Forum: Flash

Thanks for the reply.
How do i add depth? Do add depth to the instance of the movieclip?
Or can i add depth inside it?
Thanks

Could you explain more?


12.

Elated

Topic: Remove Movie clip

Posted: 02/17/08 08:43 PM

Forum: Flash

Hey. Well im creating a game and im a little bit stuck. Im not really advanced in Actionscript but im learning.
Im using AS2.
Right, with my problem, i have made it so a lot of movieclips are duplicated from an original one, within that movie clip i want a code so if 'bullet' collides with it, that particular movieclip is removed.

Thanks
I hope i explained my problem well enough


13.

None

Topic: Rpg actionscript

Posted: 07/25/07 10:58 AM

Forum: Flash

Thanks alot, done it and it works!
:)
but now i have another problem lol, how do i make it so when the random number is chosen, it might gotoandStop at frame 2,3,4,5 or 6

thanks


14.

None

Topic: Rpg actionscript

Posted: 07/24/07 06:47 PM

Forum: Flash

At 7/24/07 06:45 PM, DarkMana wrote:
At 7/24/07 06:32 PM, Slasher145 wrote: How do i make it so when my character moves, it chooses a random number?
Add the script into the movement code.

if (Math.round(Math.random() * 100 < chance)
{
// battle start script
}

Where chance is the percentile likeliness of engaging a random battle.

thanks :)
ill try this out


15.

None

Topic: Rpg actionscript

Posted: 07/24/07 06:32 PM

Forum: Flash

Sorry for double post =\

How do i make it so when my character moves, it chooses a random number?
i understand the part when the number is 0 or 1 or whatever, then it takes you to the fighting frame
thanks in advance


16.

None

Topic: Rpg actionscript

Posted: 07/24/07 06:27 PM

Forum: Flash

Yeh im using AS2
thanks :)


17.

None

Topic: Rpg actionscript

Posted: 07/24/07 06:00 PM

Forum: Flash

At 7/24/07 05:54 PM, UnknownFury wrote: You can do it so a random number 1-100 is constantly being generated and if its 1 then a battle occurs. Thats the only way i can think of. Probably a MUCH better way of doing it though

Sweet thanks, that makes sense :), but how would i code that, like i dont know alot about actionscript, im learning and using tutorials at the moment


18.

None

Topic: Rpg actionscript

Posted: 07/24/07 05:51 PM

Forum: Flash

Well im making a flash rpg game kinda like ff7 and i need to know how to make random battles occur
i have asked many people but they dont explain it nor help me
help will be greatly appreciated
thanks
slash


19.

None

Topic: Newgrounds!!

Posted: 07/19/07 05:42 AM

Forum: Where is / How to?

It wont let me play any movies or games anymore!
it just says movie not loaded!
help?
i have flash 9 installed too :S
this has never happened before untill now


All times are Eastern Standard Time (GMT -5) | Current Time: 07:52 AM

<< < > >>

Viewing 1-19 of 19 matches.