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

We found 11,319 matches.


<< < > >>

Viewing 1-30 of 11,319 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7192378

1.

None

Topic: Geometry wars style background

Posted: 11/09/09 04:33 AM

Forum: Flash

Dude it's a simple spring. You accelerate the particle in the direction it's displaced and damp it and that's it.

for (p in grid)
{
  spring (p);
  forces (p);
}

connectPoints ();

function spring (p)
{
  p.vel += strength * (p.anchor - p.pos); // these are vectors
}

function forces (p)
{
  p.vel += pixToVec (influencemap.getPixel (p.pos.x, p.pos.y));
  // use a bitmap to accumulate the displacements
  // each frame caused by player and bullets
}

2.

None

Topic: Masm 6.11 help!

Posted: 11/08/09 04:08 PM

Forum: Programming

Assembly uses compilers too. Download MASM and compile your code with it.
There's no IDE. Maybe syntax highlighting in a few editors. There's really nothing else to the language.


3.

None

Topic: Rack Servers? Why?

Posted: 11/08/09 03:09 PM

Forum: Programming

I think he doesn't get why you'd not run a site on a cheap computer to begin with.

A large portal has thousands of simultaneous users, with hundreds of requests a second and needs to manage sessions for each of those users, which is more concurrent processes than a single unit can run, and upload data at a faster rate than a single hard drive can read.
If you had a single server, when you started getting too many users, your site would become slow or even unavailable. That's why you'd use many servers.


4.

None

Topic: Geometry wars style background

Posted: 11/08/09 02:59 PM

Forum: Flash

How is the filter a better idea? Just render the lines in medium quality.


5.

None

Topic: Flex builder or flash develop ?

Posted: 11/08/09 05:59 AM

Forum: Flash

Flashdevelop is fine. Start doing it.
Don't waste time waiting for people to answer your threads when you could get into it and find everything out yourself. Otherwise you're making excuses to delay yourself while you post the thread.


6.

None

Topic: [as3.0] Document Class / Preloaders

Posted: 11/07/09 07:17 AM

Forum: Flash

You don't need an explicit class if you're good with code on the frame. It's the same thing anyway.

Of course there will be problems with that setting. You might even think they'd be exactly the same as in previous version of Flash.


7.

None

Topic: Flixel and flex ?

Posted: 11/07/09 07:14 AM

Forum: Flash

Firstly Flashdevelop and Flex are not mutually exclusive, Flashdevelop is the editor program and Flex is the compiler FD uses.

It's possible to use Flash graphics with Flex easily, you can embed symbols from SWFs and associate them with a class to use in your program.
Build 'lib.swf' with Flash, then you can use the graphics:

[Embed ("lib.swf", symbol="player")] public static const PlayerGfx : Class;
...
this.sprite = new PlayerGfx ();
gamescreen.addChild (sprite)

8.

None

Topic: AS3 dynamic sorting algorithm

Posted: 11/06/09 12:48 PM

Forum: Flash

Things still have depths, but the depths must be between 0 and numChildren. The methods to control them are right there, addChildAt, getChildAt, swapChildren.
Your idea to sort an array is good. Then just addChild every element and they'll be the right depth.


9.

None

Topic: CS3 download?

Posted: 11/06/09 03:57 AM

Forum: Flash

If you want to use AS3 you'd rather get Flex. The free SDK is a Java commandline compiler.
(May I also suggest haXe, an immeasurably better compiler simply because it's not run with Java.)

As for getting a Flash trial, Google? Like, the obvious query for any version will give you a dozen download sites.


10.

None

Topic: [as3.0] Document Class / Preloaders

Posted: 11/06/09 03:50 AM

Forum: Flash

You don't really need to refer to the stage. Stop doing things stupidly and you won't have problems.
The document class status doesn't mean it should be the main class. In fact it's normally tiny.

In a finished (properly built) app, it'd just add the preloader, then switch to intro animations, then switch to the menu class. The menu class has some buttons, sets some settings (in another class), then triggers the initialization of a game which takes the settings and builds the game facilities, then triggers a class that handles the game loop.
The point is, don't do everything in the main facade singleton document class of doom.


11.

None

Topic: Career in flash ?

Posted: 11/05/09 01:24 PM

Forum: Flash

At 11/5/09 12:53 PM, Rustygames wrote: I havn't had a formal education and I'm working full time for a top UK gambling firm. Making money through the internet is a bad idea, too unstable for me, I prefer the 9-5.

Not if you live somewhere cheap, like my location. $2k a month is luxury.


12.

None

Topic: Career in flash ?

Posted: 11/05/09 10:10 AM

Forum: Flash

hdxmike: you're right about school, I dropped out after grade 9 and have been studying on my own for about close to a year now. As for you though, you're still much of a noob so you should raise your level more before acting.
It's certainly possible to live well without a formal education, especially if you live somewhere cheap and earn money through the internet.

At 11/3/09 01:50 PM, jmtb02 wrote: What? There's very little basis in any of these claims.

There is basis. Flash is a trainwreck and it's very hard to imagine it can keep going the same way it has since MX for five more years. CS4 doesn't run in 4gb and crashes at least once a day. To add any more bloat they have to start fixing that preceding, and do you think they'll do that? It doesn't seem they even can, seeing they've been desperately piling more shit on it to sell while the thing doesn't collapse.


13.

None

Topic: class type help?

Posted: 11/05/09 09:25 AM

Forum: Flash

The error wasn't because of classes or anything, but because you were declaring the same variable with 'var' multiple times. It calls that a 'conflict'.


14.

None

Topic: Search same pattern several times.

Posted: 11/05/09 04:28 AM

Forum: Programming

You wanted something regexps don't do. Unless you use a long pattern of (\w*),(\w*),(\w*)


15.

None

Topic: Flash Engines

Posted: 11/05/09 04:21 AM

Forum: Flash

You can use together various free programs like Inkscape and the Flex SDK.
Inkscape is for vector graphics, Flex is for producing Flash programs.
If you already have programs like Photoshop, you can use those. Alternatives to Flex are haXe and MTASC and the SWFTools compiler.


16.

None

Topic: Class File Help As3 (3d)

Posted: 11/05/09 04:15 AM

Forum: Flash

It's private or you're not accessing the right object.


17.

None

Topic: Why does no one use AS3!?!?!?!!!

Posted: 11/04/09 02:27 PM

Forum: Flash

At 11/4/09 01:54 PM, zaphire77 wrote: I think you'll find that most people use AS2 because nobody ever used flash much when AS1 was around and by the time AS3 came out everybody had learnt AS2 and found it easier to just stick with AS2

Why, no, most people use AS3. You'll be horrified to find that incompetent wannabe kids are not the majority in the scene.
There's also a difference between 'learning' as in memorizing scripts you find in 'tutorials', and learning as in accumulating knowledge so things like AS3 would come easily once you're accustomed to a few changes.


18.

None

Topic: Search same pattern several times.

Posted: 11/04/09 01:27 PM

Forum: Programming

It's a pattern to match comma-separated words, as it obviously doesn't have the FROM. Are you incapable of reading a short regexp?
You added FROM and it works, take the item at 1 and split it.


19.

None

Topic: OOP classes help!

Posted: 11/04/09 11:10 AM

Forum: Flash

Before taking shots in the dark, why not get a grasp of what classes actually are. Whatever that code is doesn't even hint at what you want to do. That is to say it's random and unrelated to a sensible use of a class.


20.

None

Topic: Search same pattern several times.

Posted: 11/04/09 10:37 AM

Forum: Programming

Boop

(\w*(,\w*)*)

21.

None

Topic: Structures in ActionScript 2?

Posted: 11/04/09 10:32 AM

Forum: Flash

You don't need to declare structures. You can make an empty object and add properties to it at will.

var obj = {}; // a literal for 'new Object'
obj.x = 5;
obj.y = 10;
trace (obj.x + obj.y);
trace (obj.foo);

You *can* make new types and objects with methods, but it's more involved.


22.

None

Topic: What does this general code mean?

Posted: 11/04/09 08:34 AM

Forum: Programming

Yes, though you had a typo 'points [i].x = Math.min (points [i].x, 550)'. And the same for y and z.


23.

None

Topic: new to programming

Posted: 11/04/09 03:50 AM

Forum: Programming

Anything you want. Did you think it was a toy? Programming is how your computer system was made.

You can make programs that perform certain actions to your files automatically, communicate with other computers, make programs that do your math homework, programs with rich interactive interfaces like text editors and paint programs, also games.


24.

None

Topic: What does this general code mean?

Posted: 11/04/09 03:38 AM

Forum: Programming

Vector3 is an object that contains three numbers, the position along each axis. vmax is like Math.max, but it applies to each of those numbers.
'Vector3 &x' declares declares a reference 'x' such that when you set it, it actually sets the piece of memory 'x' refers to. So in the next line, it actually simply sets the same slot of the array.
Thus the code all simply applies the vmax,vmin functions to each vector in the array.

In the article the particle system holds multiple arrays. Each array contains one property of each particle at that index. pos[0] contains the position of particle 0, vel[0] contains its velocity.


25.

None

Topic: What does this general code mean?

Posted: 11/03/09 09:32 AM

Forum: Programming

It's the same as reassigning the array slot. Be more specific if it was the & you were confused about.


26.

None

Topic: 'Execute' commans=d

Posted: 11/03/09 06:50 AM

Forum: Flash

At 11/3/09 06:28 AM, henke37 wrote: I feel like we talked about this like yesterday, it is a bad idea, but possible in as 2, as 3 does not have this bad idea.

Like I said previously, 'eval' only evaluates paths, not code.


27.

None

Topic: passing MovieClips to functions

Posted: 11/03/09 04:33 AM

Forum: Flash

All objects are on the heap.
The lag is probably because you're doing something wrong, not because of excessive copying.


28.

None

Topic: 'Execute' commans=d

Posted: 11/03/09 03:44 AM

Forum: Flash

You can't. Actionscript is dealt with by the editor program, Flash Player doesn't understand Actionscript as you see it.

Reconsider if you really need it, you probably don't know what you're doing and want a magical function to do something you don't actually need it for.


29.

None

Topic: The Flash 'Reg' Lounge

Posted: 11/02/09 03:38 PM

Forum: Flash

Perhaps I should start using Japanese words and particles to come off less menacing to kids.

I think you should kill yourself neko.
Shinuike cheeseburger.

Works.


30.

None

Topic: Box 2d Aser Needed -> Snowboarding

Posted: 11/02/09 04:49 AM

Forum: Flash

At 11/2/09 04:22 AM, Logidude wrote: Yeah. I migth do it. Give me some art first and I will see what I can do.

Don't waste his time and do the requested physics engine setup preview. You don't need the art.


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

<< < > >>

Viewing 1-30 of 11,319 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7192378