Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


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

We found 218 matches.


<< < > >>

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

1.

None

Topic: 5 + 15 = 515

Posted: 12/10/06 06:50 AM

Forum: Flash

For all numbers...
_root.Score = parseFloat(_root.A) + parseFloat(_root.B)

For integers...
_root.Score = int(_root.A) + int(_root.B)


2.

None

Topic: Actionscript Help

Posted: 12/07/06 09:10 AM

Forum: Flash

It depends on which version you're using. If you use Flash 9 Alpha, use computeSpectrum to get a ByteArray of your sound data. If you use Flash 8, import a bitmap snapshot of your sound waveform (e.g. printscreen on sound forge), convert it to vector then run an iteration (hitTest) based on the sound position to get volume. And finally... here's the script for blurring:

var xblur = 10, yblur = 10;
import flash.filters.BlurFilter;
filters = [new BlurFilter(xblur, yblur, 1)];

xblur and yblur would obviously correspond to the output from the methods stated above.


3.

None

Topic: Random Gotoandplay

Posted: 08/26/06 07:29 AM

Forum: Flash

Damn I'm a nube too

correction - second only for == 1

4.

None

Topic: Random Gotoandplay

Posted: 08/26/06 07:27 AM

Forum: Flash

You're the nube.... seconds is only for == 2


5.

None

Topic: Random Gotoandplay

Posted: 08/26/06 07:20 AM

Forum: Flash

heheh. Damn I mistyped my code again >:(

var mf:Array = ['frame1', 'frame2', 'frame3', 'frame4', 'poopoo', 'etc'];
gotoAndStop(mf[random(mf.length)]);

final version that actually works


6.

None

Topic: Random Gotoandplay

Posted: 08/26/06 07:17 AM

Forum: Flash

They work =P just not as flow as my script... anyway "aso-products" here's your code:

var mf:Array = ['frame1', 'frame2', 'frame3', 'frame4', 'poopoo', 'etc'];
gotoAndStop(myFrames[random(mf.length)]);


7.

None

Topic: Random Gotoandplay

Posted: 08/26/06 06:52 AM

Forum: Flash

Meh, both worked on my Flash 8

At 8/26/06 06:32 AM, -Toast- wrote: Now let's see your code (with error corrected by me :P) compared to mine and how many times faster it runs.
gotoAndStop(myFrames=['frame1', 'frame2', 'frame3', 'frame4'][random(myFrames.length)]);
gotoandstop run once, with 4 values in MyFrames defined, and a random value ran 4 times.
var myFrames:Array = ['frame1','frame2','frame3','frame4'];
gotoAndStop(myFrames[random(myFrames.lengt
h)]);
array declared with four values, gotoandstop run once (myFrames label being read by flash player twice more times than in mine) and a random value ran 4 times.

WTF is all that BS? Here are my results for both codes from 10000 iterations using getTimer.

Mine:
152 158 156 156 156 156 156 156 158 154 158 156 155 159 158 158 157 158 158 158 156
average 156.6 ms

Yours:
207 207 209 211 203 207 207 211 205 211 203 211 207 211 209 209 207 209 209 209 209
average 208.1 ms


8.

None

Topic: Random Gotoandplay

Posted: 08/26/06 06:26 AM

Forum: Flash

gotoAndPlay(mf=['frame1', 'frame2', 'frame3', 'frame4'][random(mf.length)]);

shorter variable names does the trick.. and btw IT'S GOTOANDPLAY


9.

None

Topic: Random Gotoandplay

Posted: 08/26/06 06:16 AM

Forum: Flash

lol I owned myself.. you win

Though my code runs 5.5x faster than yours :P


10.

None

Topic: Random Gotoandplay

Posted: 08/26/06 06:04 AM

Forum: Flash

Screw it.. heres a better code

[b]gotoAndPlay(random(_totalframes)+1);[/b
]


11.

None

Topic: Random Gotoandplay

Posted: 08/26/06 06:00 AM

Forum: Flash

shhh I was seeing if Toast was awake

The correction doesn't ;D


12.

None

Topic: Random Gotoandplay

Posted: 08/26/06 05:52 AM

Forum: Flash

Yours wasn't much better - mine works no matter how many frames he has, yours only works for 4. :P

var myFrames:Array = ['frame1','frame2','frame3','frame4'];
gotoAndStop(random(myFrames.length)]);


13.

None

Topic: Random Gotoandplay

Posted: 08/26/06 05:41 AM

Forum: Flash

At 8/26/06 05:28 AM, TechnoTrepidity wrote: Okay, the normal script with the frame numbers I already know, but I prefer to use frame labels instead of numbers. Could someone just give me a code with the example labels:

frame1, frame1, frame1 and frame1.

Oh, I don't need the explanation, I get used to it, myself.

That's English.

I don't understand what you need.

What's wrong with that? I understood it totally.

gotoAndPlay("frame"+(random(4)+1));


14.

None

Topic: Argh, _rotation help ><!

Posted: 08/17/06 02:15 AM

Forum: Flash

That's why instead of using the absolute rotation, we're gonna specify our own rotation (diff) relative to the rotation of the missile.

diff = a-_rotation;
if (diff<0) {
diff += 360;
} else if (diff>=360) {
diff -= 360;
}

So...

if (diff<=180) {
_rotation += turnspeed;
} else {
_rotation -= turnspeed;
}

Here's a graphic representation - http://www.pixfolder.com/images/4121.jpg - when _rotation = 60 and a = 300, the missile has to rotate anticlockwise (which crosses between 359 and 0 for _rotation but not for diff, so no problem)

If you're still having trouble understanding, I can give you one of my homing codes for you to figure out how they work.


15.

None

Topic: Argh, _rotation help ><!

Posted: 08/17/06 12:57 AM

Forum: Flash

Haha... ok (if/else tends to run faster btw and I always use it when I'm not in a rush)

To make angle d between 0-360 degrees...

if (d<0) {
d+=360;
} else if (d>=360) {
d-=360;
}

That's assuming it never goes beyond -720 and 720 which it doesn't in ur situation


16.

None

Topic: Preloader Not Appearing In Time

Posted: 08/17/06 12:43 AM

Forum: Flash

I think you ticked 'export in first frame' for linkage of a music file, so it is loaded before everything else (including preloader). Untick it, then create an empty clip on frame 2 of your movie. In that clip have a stop action on frame 1 and the sound file (set to event) on frame 2 so it is exported after the preloader instead


17.

None

Topic: microphone?

Posted: 08/17/06 12:30 AM

Forum: Flash

At 8/16/06 09:20 PM, fremen13 wrote: How do you do recordings without a microphone?

Connect the sound output of your computer to the mic jack (using double 3.5mm male)


18.

None

Topic: Argh, _rotation help ><!

Posted: 08/17/06 12:07 AM

Forum: Flash

Well first make sure rotation and a are 0-360....

_rotation += _rotation<0 ? 360 : (_rotation>=360 ? -360 : 0);
a += a<0 ? 360 : (a>=360 ? -360 : 0);

Then find the difference between the two angles, and make that 0-360 as well....

diff = a-_rotation;
diff += diff<0 ? 360 : (diff>=360 ? -360 : 0);

Now you know exactly how many degrees the missile has to turn to meet its target (without worrying about crossing from 359 degrees onto 0).


19.

None

Topic: Same music different scene?

Posted: 12/02/05 10:09 AM

Forum: Flash

If you want to stay away from actionscript trouble, change the SYNC to either Event or Start - it doesn't continue if you use Stream.


20.

None

Topic: my graphics are crap

Posted: 11/05/05 04:34 AM

Forum: Flash

Just draw a rectangle filled with the colour as big as the stage. Or you could go to Modify > Document and change the bg colour.


21.

None

Topic: action script question

Posted: 10/30/05 01:01 AM

Forum: Flash

This what you're looking for?

onClipEvent (load) {
var down:Boolean = false;
}
onClipEvent (mouseDown) {
down = true;
}
onClipEvent (mouseUp) {
down = false;
}
onClipEvent (enterFrame) {
if (down == true && hitTest(_root._xmouse, _root._ymouse, true)) {
_rotation = 90+Math.atan2(_y-_root._ymouse, _x-_root._xmouse)*180/Math.PI;
}
}

Didn't require loads of thinking..


22.

None

Topic: Problems with jumping engine.

Posted: 10/25/05 05:33 AM

Forum: Flash

if(!jump && jumping){
this._y -= vel;
vel = vel + gra / 2;
gra --;
}

What this does is that the ball rises only when it's hitTesting the ground. If it's not, it'll stop straight away. IM me for the fixed code (if I still have it lol).


23.

None

Topic: I got interviewed on newspaper!

Posted: 10/13/05 08:12 AM

Forum: General

An interview about my Flash games. This weird journalist emailed me with some questions... and I had to answer them. Normally I keep things like this to myself, but Inglor kept laughing and suggested I should share it with everyone else... so here!

1. What is your full name? How old are you?

none of your business

2. Tell our readers a bit about yourself - Where do you live? What do you study? What do you do for fun? Our readers know very little about the life of young people in Japan, and we'd love to hear about it.
First of all, looking at the question again, Hong Kong isn't part of Japan because they're 3000 km apart. And if that's relevent, I study politics for fun.

3. Do you know how many people played them? Do you have numbers you can share with our readers?
999999999999999999999999999999999999999999
999999999999999999999999999999999999999999

4. What about friends - Do you have many friends? How are they like?
Yes one of my friends taught me how to masturbate in front of a webcam that's why it is essential not to wet the computer screen as well.

5. Where do you see your personal future? What do you want to do when you'll grow up?
Newspaper journalist, definitely!

6. Did you make money of the games? If Not - why? How about advertising?
How about on the title screen, when it said CRAZYMONKEYGAMES presents?

7. How did you react to the game being a Hugh success? How did it make you feel? did it change your life?
Feels like somebody is trying to be a suckup to get me to make this interview.

8. What inspired you to do the games?
Sitting in the sun on an island, holding a cup of tea and watching some girls dancing.

9. Why Do you think Japan is such an entertainment Giant? What is the secret?
Their secret is because they touch themselves in mornings while everyone else does it at night.

10. In your site you write That you don't like to be in the cetner of attention? Why is that? What do you feel when it happends?
I don't like to be the centre of attention because I'm not a FUCKING ATTN WHORE

11. Do you have a girlfriend? What's her name? What did she think of the game?
My romantic life is irrelevant to the online gaming community. I do not answer interviews for public interest nor do I answer such personal questions. I only answer interviews to show people it really isn't hard to make games that are fun. :) I do not do it for attention nor do I seek too much at the moment.

12. Do you have an Idol? Someone who gives you Inspiration?
Yep. He's "Bonse" - here's my favourite MSN convo:

Bonse: hi
Me: hi
Bonse: you know when the score gets to 50 how would i make it goto anouther frame for the win?
Me: any ideas?
Bonse: hit test or something
Me: why hittest?
Bonse: it tests when thenumber gets to 50

13. Do you have Politcal opinions? About Japan, US, Israel, Palestine?
I always heard Palastinians like buttsecks and the Israelis like giving it out in bunches.

14. Do you consider yourself a Geek?
Naa, the only people I consider geeks are the ones who write for online newspapers, what do you think?

15. What's the best thing in Raiden X, In your opinion?
When the preloader reached 100%.

16. What kind of e-mails are you getting about the game? Do you have Fans?
Well, mainly people from newspapers with too many unrelated questions... go figure what drives these people :/

17. Did you get job offers becuase of the games?
Yes. Around 3-4 a day... here's a typical one for a Flash-teaching placement:

Date: Tue, 16 Aug 2005 19:53:39 -0400
From: <CENSORED>
To: <CENSORED>
Subject: raiden x.fla please?

hey im a 12 year-old flash lover and website able to maker but not really designer
i have flash 5 and flash MX 2004 and my brother found raiden X on xgenstudios.com
i was wondering if i could have the raiden X ".fla" file so i could see how you made a save game and how you did all that uhh stuff
if you give me ".fla"..........thanks a lot:)
if u don't.....................i'll cry? :(

18. What does it fell like to be a global success?
Just like any other day?

19. Once more - If you could Please send us your picture (Or even pcitures).
/"\
|\./|
| |
| |
|>~<|
| |
/'\| |/'\..
/~\| | | | \
| =[@]= | | \
| | | | | \
| ~ ~ ~ ~ |` )
| /
\ /
\ /
\ _____ /
|--//''`\--|
| (( +==)) |
|--\_|_//--|

It's a middle finger and I'm certain it'll screw up on NG, so there you go.

20. Is there anything you'd like to add? I'd like to ask you again to be as details ad possible in your answers, and also add any thoughts you might have about life, Computer Games, Raiden, Israel... Anything, Really.
Play Raiden 10 times a day or I'll eat your children!!!

Thanks again. I personally really, really liked Raiden X :)
Journalism = Fail.


24.

None

Topic: As: Using The Random Code!

Posted: 10/06/05 09:40 AM

Forum: Flash

At 8/10/05 06:33 PM, -Reedo11- wrote: Let me explain this, this is a simple cood meaning, when you release the button, the movie clip "Reed" moves to a random location between 1 and 400.

It's 0 to 400.. unless you use ceil. Same for your 'random numbers' section. And actually... just random() is easier because it saves you from rounding.

on(release) {
_root.gf.gotoAndStop(Math.round(Math.rando

m()*10));

}

This will make it go to a random frame between 1 and 10, again, you can change that by changing the number at the end

Besides that, here's a script that adapts itself, and never returns 0.

on (release) {
_root.gf.gotoAndStop(random(_root.gf._tota
lframes)+1);
}

Oh and you forgot to explain what gf is... :P


25.

None

Topic: Need help on actionscripting...

Posted: 10/06/05 07:32 AM

Forum: Flash

At 10/6/05 07:03 AM, assassingao wrote: { if (Key.isDown(Key.W))
{ _y -= 5; }}

"Making up" your own code never works. Try...

if (Key.isDown(87)) {
_y -= 5;
}

Flash uses ASCII code, where 65 = A, 66 = B, 67 = C... (and +1 as you proceed though the alphabet) then you'll eventually get to W which is 87.


26.

None

Topic: Really stupid question...

Posted: 09/17/05 10:46 AM

Forum: Flash

You'll have to learn Actionscript (help section in Flash). If I write the code, the game will be mine, not yours. And you can ignore idiots like Toast... he lacks style.


27.

None

Topic: please help me with Script!!!

Posted: 09/17/05 10:38 AM

Forum: Flash

At 9/17/05 09:35 AM, balto_boy wrote:
At 9/17/05 04:59 AM, Denvish wrote:
Maybe you should have spent those months actually learning Actionscript.
well, sorry that I totally suck at script

Exactly. There's no point trying to learn scripting if you're good at it.


28.

None

Topic: Testing a new technique

Posted: 09/02/05 08:53 AM

Forum: Flash


29.

None

Topic: Action script problem

Posted: 08/27/05 05:40 AM

Forum: Flash

You need to use strict equality (==) for IF functions.


30.

None

Topic: would this be blammed?

Posted: 08/15/05 02:18 AM

Forum: Flash

I think it'll have a better chance of surviving if you delete everything except the preloader.


All times are Eastern Daylight Time (GMT -4) | Current Time: 07:21 AM

<< < > >>

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