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,372 matches.


<< < > >>

Viewing 1-30 of 11,372 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7193380

1.

None

Topic: Classes in AS3?

Posted: 11/25/09 04:37 AM

Forum: Flash

Eventually you'll start wanting to say more than 'put this movieclip on the screen and move it'.
Such as 'place a new tank X where factory Y is, have it walk one tile right, and set both inactive for the turn', or 'list me all mobile enemy units between tiles X and Y'.

When you build bigger games (than miserable platformers driven by a few hittests), you certainly want to have these abstractions, that you could use to talk about tanks and tiles, rather than just have some movieclips with their limited functions.
Object orientation is a concept used everywhere for building such abstractions, so that your programs are more to the point and overviewable, rather than what you'd get if you started building it by writing a loop that makes the tanks chug when they're idle.
Of course, to use OO you need insight in advance of the program units that you'll need, which makes it difficult for the kind of schmucks on this forum.

Now more technically, the way AS3 works uses classes intrinsically and you're using them even if you're not aware, as Flash translates code on every timeline into a class, each symbol has a class. So you might find what you're doing currently is similar to what classes are for, and that there's nothing much fancy to classes.


2.

None

Topic: Preloader with Doc Class..?

Posted: 11/25/09 03:58 AM

Forum: Flash

At 11/24/09 03:56 PM, zuperxtreme wrote: Is there a way to preload all the scenes at once? I'm thinking of just making a light preloader swf to load the main one ....

Depends on which object's loaderinfo you access I guess. So, you can do either.

At 11/24/09 02:44 PM, henke37 wrote: No matter if I where, that is my opinion: Flash is better than Flex. It allows for the most important part of content development these days, easy creation of optimized and advanced graphics. Flex? Ms Paint beats it.

Flex isn't a graphics tool, you oaf. Then I take it there's no point expecting what you said about it removing document classes to be based on anything.


3.

None

Topic: AS3 wating to return a value???

Posted: 11/24/09 02:39 PM

Forum: Flash

Some I/O is asynchronous, but running any AS isn't. It's single-threaded.

No matter what you do, to respond to an asynchronous event, your code will need to take a function that it calls later.


4.

None

Topic: new language?

Posted: 11/24/09 02:34 PM

Forum: Flash

I repeat, because it would need a lot of if statements.

As for programming an interpreter, it's really rather straightforward. I wrote a JS-like syntax parser and interpreter at 14.


5.

None

Topic: Error #1033 Cpool entry

Posted: 11/24/09 02:31 PM

Forum: Flash

It was an anomaly in the generated SWF file that caused your specific Player version to report an error due to some bug in the verification code. That's all.


6.

None

Topic: Open Source Fla Project - Continue?

Posted: 11/24/09 02:29 PM

Forum: Flash

At 11/24/09 12:37 PM, BillysProgrammer wrote: How the fuck am I an idiot, you don't even know me.

Of course I know you, I see just about everything you post.
This might come as a surprise to you, but you're not important enough for me to hold a grudge against or care about you. I just noted the truth, as a small aside in my post - you're incompetent.

mulatto: Deathcon was mostly agreeing to what I said, so don't react sharply to just the fragment of his post addressing you.


7.

None

Topic: Binary Search Tree implementation

Posted: 11/24/09 02:15 PM

Forum: Flash

Reference implementation. Change the anchor to see 'balance' and such.

If you need performance, you might want to use haXe (in sig). It has proper data structures and some features for increasing performance. Also the generated bytecode isn't retarded.

AS doesn't have trees because hash tables are the only data structure that idiots that don't know what they're doing (that is to say the main userbase of Flash) can't abuse. There is flash.utils.Dictionary that hashes based on the members of the keys rather than their string representation.


8.

None

Topic: Open Source Fla Project - Continue?

Posted: 11/24/09 11:13 AM

Forum: Flash

Heh, BillysProgrammer is a complete idiot, yes. Putting any trust in him is another waste of time.

As for the kids I do care about, I don't think they have much to teach right now. Collecting codes or something isn't really going to help anyone. There are portals like FlashDen for sharing components that can be shared.
Then for example hdxmike seems to be under the impression currently that collecting classes will enable him to create games in hours somehow. Because of this kind of confusion of ideas, I think it would be better for him to take time to get a clue rather than participate in organizing some kind of portal for throwing around copypaste codes.

Although something like a Flash:Main wiki would be beneficial, there was one hosted by jmtb02 some years back. If you could host one like that, we could talk about it.


9.

None

Topic: new language?

Posted: 11/24/09 10:07 AM

Forum: Flash

Read carefully. He says he wants to do something like Scratch with graphical program components because parsing a string would need a lot of if statements.

Can anything be said? -_-


10.

None

Topic: C# Namespace Issue

Posted: 11/24/09 09:53 AM

Forum: Programming

You should be using an IDE, you know?


11.

None

Topic: Open Source Fla Project - Continue?

Posted: 11/24/09 09:18 AM

Forum: Flash

As always, my advice is that you guys should rather focus on improving your knowledge. Otherwise all this is just you finding ways to waste your time and avoid actually learning shit. As for the project, it isn't going to go anywhere.


12.

None

Topic: Preloader with Doc Class..?

Posted: 11/24/09 09:00 AM

Forum: Flash

What are you talking about?

Are you actually hinting it's better to use Flash over Flex? Heh.


13.

None

Topic: opening and reading local files AS2

Posted: 11/24/09 08:57 AM

Forum: Flash

Use LoadVars and override onData. You'll get the plain file as an argument.


14.

None

Topic: class bug?

Posted: 11/24/09 08:23 AM

Forum: Flash

To elaborate on the error message, it says something that shouldn't be is 'null', perhaps because you haven't given it some object reference, at the time of the clicking event, responded to by ColorPicker.onSwatchClick, which calls ColorPicker.close, which is where the error occurs.


15.

None

Topic: Preloader with Doc Class..?

Posted: 11/20/09 06:28 AM

Forum: Flash

Who said the document class should be the main game class? When an app is initiated, the first code that runs is for setting up the preloader, and then continuing with the intro. Where does that code go? *That's* the document class.

Move your classes around, or you can use the Flex compiler to link your game SWF with a preloader and menu.


16.

None

Topic: Interesting Strategy Board Game

Posted: 11/20/09 06:24 AM

Forum: Flash

I didn't say it was complicated, and whether it is similar to checkers doesn't make a difference to the programming.

What I wanted to say is that 'what kind of scripting will I need' is like asking 'what kind of English do I need, to talk about elephants?'. In both cases you need all of it, you won't get off by repeating a set of phrases you memorized. In the case of English, you'd sound like a retard, in the case of programming, your 'program' won't work and you won't know why, and you'll waste time changing random bits of it in hopes that in just a moment it will work perfectly for all cases and also speak French.

Thus, if you want to build games, regardless of if it was inspired by this game ruleset of yours, you need to start studying programming.


17.

None

Topic: Tutorial: Coding On Frames

Posted: 11/19/09 05:35 AM

Forum: Flash

At 11/19/09 05:28 AM, hdxmike wrote: Sorry Gust the last sentence confused me , so we shouldnt use classes they're AS2 ?

You should use them, including in AS2.


18.

None

Topic: Interesting Strategy Board Game

Posted: 11/19/09 04:47 AM

Forum: Flash

It's spelled 'opponent'.

So the rules are basically checkers with some additional rules like forward moving? You should really put it like that to simplify your explanation. I don't see a reason you couldn't play it with checkers pieces too.

The kind of scripting you'll need to know is how to write programs. Really.


19.

None

Topic: Save Data Code Strings

Posted: 11/19/09 04:19 AM

Forum: Flash

Just put the numbers in an array and encode it with base 64.


20.

None

Topic: Tutorial: Coding On Frames

Posted: 11/19/09 03:52 AM

Forum: Flash

AS2 is object-oriented, like AS3. Your onClipEvents are AS1 garbage. Don't make excuses and start using classes, they're there in AS2.


21.

None

Topic: Error #2101? Php+as3

Posted: 11/19/09 03:50 AM

Forum: Flash

The error says it can't parse the string returned by your PHP script. That means it's not the format
abc=10&cake=boop or has some character that trips it up.


22.

None

Topic: flash v-sync, AHH

Posted: 11/17/09 10:18 AM

Forum: Flash

You can't fix it, only try to make in less obvious. Try drawing it with copyPixels or changing the framerate.


23.

None

Topic: Original 2D platformer ~

Posted: 11/17/09 05:23 AM

Forum: Flash

It's not that learning would take all of your time. But you won't get a good collaborator just like that, unless it's these kids on the forum, which can neither do it well nor see it through.


24.

None

Topic: AS3 Background/Map movement??

Posted: 11/16/09 02:49 PM

Forum: Flash

You've got the idea. Sure, you can use XML.

If there are unique items, you give the items unique identities and check if they've been taken already.


25.

None

Topic: AS3 Background/Map movement??

Posted: 11/16/09 02:02 PM

Forum: Flash

To look at Viva Caligula, what would a fragment contain? An image of the background and buildings/props as movieclips in their places, a shape describing walls, and some data about the placement of other objects and enemies and the exits. You package that into a SWF and write the loader that retrieves this stuff. Then when the game is changing levels, you use the data to build the new world for the player to walk around in, place the enemies and objects.


26.

None

Topic: Sound visualization?

Posted: 11/16/09 09:38 AM

Forum: Flash

At 11/16/09 09:22 AM, Krachn wrote: The example that Yambanshee provided is perfect! but how do i use the computeSpectrum class?

A link was posted. Have the courtesy of properly reading responses you get?
Use SoundMixer.computeSpectrum to get the spectrum data.


27.

None

Topic: AS3 Background/Map movement??

Posted: 11/16/09 07:37 AM

Forum: Flash

At 11/15/09 10:18 PM, ShadySquirrel wrote: Im still clueless how to do the loading and moving of the world, I need to break down seperate movieclips as a quadrant and control only the loading of things in the particular quadrant the player is in.

What's the problem? If you take Viva Caligula as an example, the loading there is quite simple.


28.

None

Topic: Looking for experienced programmer

Posted: 11/15/09 02:19 PM

Forum: Flash

At 11/15/09 02:11 PM, lgnxhll wrote: true but i offerd too program for free i meen i try too be the nice flexible guy but i always get looked down on because im 14.

It doesn't matter because you're not capable of doing it and you'll waste his time.
You're not looked down upon because of your age, you do actually suck. Your gadgets submission is horribly ugly and doesn't demonstrate any programming other than stolen code snippets. Feel better now?


29.

None

Topic: Looking for experienced programmer

Posted: 11/15/09 02:07 PM

Forum: Flash

At 11/15/09 01:58 PM, lgnxhll wrote: i work my friggin ass off and i get low scores for small things i try my best and learn too program and noone will give me a chance

That's tragic, but you're still a kid and you still suck. Keep working.


30.

None

Topic: How do these controls feel?

Posted: 11/15/09 12:59 PM

Forum: Flash

Of course in reality nothing starts moving instantly, but humans need only one step to accelerate to walking speed, which is a quarter of a second, not five seconds like you have. On top of that, it's a game, an action game, you should have mechanics that make for the most engaging gameplay, be it instant acceleration.

Instead of duplicateMovieClip use attachMovie. It doesn't make sense to have an original off-screen movieclip for everything.


All times are Eastern Standard Time (GMT -5) | Current Time: 05:43 AM

<< < > >>

Viewing 1-30 of 11,372 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7193380