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: 'Glaiel-Gamer'

We found 8,046 matches.


<< < > >>

Viewing 61-90 of 8,046 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7138269

61.

None

Topic: Sorting Algorithm

Posted: 10/23/09 03:52 PM

Forum: Programming

if you want to name-drop algorithms you know to make yourself feel smart, at least post an obscure one like *wikipedias 'algorithms'* the Coppersmith-Winograd algorithm. Oh wait that's not for sorting, i forgot.


62.

None

Topic: if number = 1 2 or 3

Posted: 10/23/09 03:47 PM

Forum: Flash

At 10/23/09 03:45 PM, K-Guare wrote: Only traced once, both AS2 and AS3.
Well played, Flash. Well played.

want more fun?

var a:Boolean = true;
a && somefunction();

//same as

if(a) somefunction();

although don't blame me when people start asking WTF IS YOUR CODE DOING?


63.

None

Topic: if number = 1 2 or 3

Posted: 10/23/09 03:44 PM

Forum: Flash

At 10/23/09 03:38 PM, GustTheASGuy wrote: It's called lazy evaluation, and yes, Flash does it too.

It's actually not quite the same thing

http://en.wikipedia.org/wiki/Short-circu it_evaluation
http://en.wikipedia.org/wiki/Lazy_evalua tion


64.

None

Topic: if number = 1 2 or 3

Posted: 10/23/09 03:35 PM

Forum: Flash

At 10/23/09 03:27 PM, K-Guare wrote: Well, a disgusting, inefficient option would be
to use a logical OR operator, the ||.

FYI that's actually not an inefficient option, any fluff you do on top of that is going to make it slower.

Just imperceptibly slower, so it's not an issue.

(in c++ at least, don't know for sure about flash), || and && "short circuit" when they've reached a point where they can deduce the value of the whole statement

I.E. (excuse the c++ it's been a few months since i've touched flash)

int a = 4;
if(a == 1 || a == 2 || a == 3 || a == 4 || a == 5 || a == 6 || a == 7){
  STUFF
}

It'll evaluate a==1, a==2, a==3, and stop when a==4 returns 1 (because anything || with 1 still returns 1, there's no need to evaluate the other statements).

Similarly with &&, when one statement in a chain is evaluated to 0, it'll stop and continue.

The simple way to test this in flash would be to stick a function call at the end of a chain that should be short circuited early, if the function gets called then FLASH IS STUPID

this tidbit of information is brought to you by the letter F

65.

None

Topic: if number = 1 2 or 3

Posted: 10/23/09 03:28 PM

Forum: Flash

At 10/23/09 03:23 PM, knugen wrote: if (number == 1 || number == 90)
{
_root.asdf = 5;
}

You could also use some other tricks with switch/case statements or arrays to get cleaner code, but this is functional.
switch(number){
  case 1:
  case 4:
  case 90:
  do stuff;
  break;
  default:
}

is most certainly NOT cleaner code.

When you have a large amount of data to compare a number to, say
var POPTIONS:Array = [1, 4, 3, 8, 45, 278, 65, 83, 24, -67, -22, 30968, -928, -3982756];

wrap it into a function, and call that function like so

function inarray(n:int, a:Array):Boolean{
for(var i:int = 0; i<a.length; i++){
if(n == a[i]) return true;
}
return false;
}

then in your code

if(inarray(54, POPTIONS)){
}

66.

None

Topic: Sorting Algorithm

Posted: 10/23/09 03:21 PM

Forum: Programming

I was going to recommend SAT, but then I remembered that's a collision detection algorithm.

What language are you using? Most of them have a sort or qsort in their standard library


67.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/22/09 09:19 PM

Forum: Flash

At 10/22/09 07:55 PM, dELtaluca wrote: It's the only thing i have that remotely resembles something that will prevent infection, given that it's 62% pure alcohol and kills bacteria for a living in seconds. Well you know what? IT HURTS ALOT ON RAW FLESH OWWWW

buy a $0.25 bottle of hydrogen peroxide. One bottle lasts about a year.


68.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/20/09 11:05 PM

Forum: Flash

If you got a facebook account go become a fan of Closure

if you need another reason or a celebrity endorsement, here you go

only a few more fans to go before I pass Super Meat Boy again

The Flash 'Reg' Lounge


69.

None

Topic: "Do your own homework."

Posted: 10/19/09 10:17 PM

Forum: General

decode this one:

45-GnnYnnUnn-x<<><7&^8##,,,,,
::
:::'
-------()($$!nn##nn#h#k
^^vv^<><>ba@


70.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/19/09 02:17 AM

Forum: Flash

At 10/19/09 12:38 AM, Senti wrote: I turned twenty-one today. While it might not mean much to our British friends, it now signifies that I can enjoy legally drinking in the United States.

I hope all has been well in the Lounge.

that is a surprisingly readable post from someone who just turned 21

what are you waiting for?

71.

None

Topic: Staples + Asshole

Posted: 10/18/09 08:28 PM

Forum: General

chew your food more


72.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/18/09 05:03 PM

Forum: Flash

At 10/18/09 04:58 PM, Toast wrote: Yes, but how will it know that Floccinaucinihilipilification is a word? For the AS wars, I was thinking of having 1v1 duels this time instead of an arena of 4. Despite its more visually appealing fights, I find 4 bots to be too unbalanced because there will often be one bot who is attacked by two other bots, and one bot who is attacked by no one. I also thought about removing the heal option, but I'm not sure. You could argue that with the option to heal, there is more strategy involved and more space for different decisions, but in a 1v1 duel with no heals it's the bot who will have the best dodging algorithm and smartest shooting pattern who will win.

1v1 is much better, but how about each player gets a team of 20 bots, each with a small amount of life, and bots can only heal a nearby bot, not themselves


73.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/18/09 04:55 PM

Forum: Flash

At 10/18/09 03:16 PM, Toast wrote: On an unrelated note, we didn't have a 2009 AS wars. I'm thinking of setting one up unless anyone else is up for it.

How many people would join the battle if we made one before 2010?

also, AS3, and the code has to be written as a series of haikus (or limericks)


74.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/18/09 04:51 PM

Forum: Flash

At 10/18/09 04:33 PM, Saza wrote:
At 10/18/09 03:16 PM, Toast wrote: On an unrelated note, we didn't have a 2009 AS wars. I'm thinking of setting one up unless anyone else is up for it.

How many people would join the battle if we made one before 2010?
Yeah, count me in. I'll make a wordsearch game ;)

A wordsearch game would be no fun for an as war..

psuedocode:

for(i=0 to width) for(j=0 to height) for(dx=-1 to 1) for(dy=-1 to 1) if(!(dy==0&&dx==0)){
    String word = "";
    for(d=0 to max(width,height) {
        word += grid[i+dy*d][j+dx*d];
        if(isWord(word)){
              circleWord(j, i, j+dx*d, i+dy*d);
        }
    }
}

75.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/18/09 02:48 PM

Forum: Flash

Platformer is a stupid category. It's akin to calling "3D" a genre.

In 2D you got 2 choices of perspective if you want to do a game with a character in it: Top Down, and Side View. Of course if your game is side view, and there's gravity, people call it a platformer cause your guy runs and jumps on platforms and junk. Doesn't matter if the core gameplay is puzzle solving, collecting coins, beating up junk, or whatever, because of its perspective it's just gonna be labeled a "platformer" and I don't like that. Platformer is a huge umbrella genre, not some specific type of game.


76.

None

Topic: remove a line [AS3]

Posted: 10/17/09 06:49 PM

Forum: Flash

At 10/17/09 05:54 PM, kizza0 wrote: So i guess iv got to use timers on each line like my last game to remove the line after 1 frame. Just better if their was another option since Their will be multiple guns firing.

you clear, then draw, on the same frame.

but you need to draw every frame


77.

None

Topic: remove a line [AS3]

Posted: 10/17/09 05:36 PM

Forum: Flash

At 10/17/09 06:26 AM, Montycarlo wrote: Wouldn't it be better to create a general class that just produces a line depending on the arguments supplied to a constructor, holding the instances of that class in an array and then removing a certain instance and deleting the element when required? I would have thought redrawing them would be wasteful. Maybe my way is worse.

you HAVE to redraw them, flash redraws them every frame anyway so it's not really that wasteful

You could create a movieclip for every line. THAT would be wasteful


78.

None

Topic: remove a line [AS3]

Posted: 10/17/09 05:54 AM

Forum: Flash

you can't remove one line, clear it every frame and redraw all the live ones


79.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/15/09 04:33 PM

Forum: Flash

At 10/15/09 02:45 PM, Deadclever23 wrote: If all my oranges have oranges, how many oranges do I have?

2 possible answers.

0


80.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/15/09 04:30 PM

Forum: Flash

At 10/15/09 06:31 AM, KaynSlamdyke wrote: iPhone developers need to be the kind of people who are ready to throw a massive amount of money into the pot to risk them getting an ROI

Because I am already a mac user, my iphone dev license (which will go 90% unused) only cost me $100.
Glorp, my crappy-ass "first iphone app", sold about 140 copies total, making me about $100, so I broke even.

Apple would be stupid to open up development to windows machines. They know the store is flooded as it is, and they know that people are gonna buy macs so they can develop for the device.

The iphone is not a powerhouse for graphics btw, so if you want to do anything special on it flash is not gonna be the way to go, but it'll be fine for simple games.


81.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/15/09 02:29 AM

Forum: Flash

At 10/14/09 11:33 PM, BoMToons wrote: I've just been put in charge of Boy Scouts in my church. All the boys seem really un-motivated by their current leaders. Any advice on how to motivate 12-17 yr old boys to accomplish goals?

Are they like lazy-unmotivated or ADHD-unmotivated.
I was put in charge of teaching about 7 ADHD 11-year olds how to put up a tent one time... it's not easy.

My dad was the leader of my group. What we did to motivate people was after the groups accomplished their goals they got to play a game for the rest of the meeting. The one the kids all liked (the adults weren't too fond of), was "elimination". You have a tennis ball, a court, and a bunch of kids. Throw the ball up into the group. If you have the ball, nobody can move. You can then bean it at someone. if it hits them, they're out. If they catch it, the person who threw it is out. Because people can only move when nobody is holding the ball, and the court is free for all, you always end up with this wave pattern where someone will throw it, everyone will actually run away from it then when they realize nobody is going towards it they all turn around and run to try and get it. It's fun and you can get hurt (some people can bean the tennis ball pretty hard) so it builds character.

We also like, for campouts and stuff, had each group plan their own meals ahead of time. If they did a crappy job planning their meals, they ate crappy food on the campout and had to watch the group that planned right or the adult group eat great food while they're all stuck with poptarts. After that happens a few times they'll all get the gist and start taking that seriously.


82.

None

Topic: Where to put rand( ) and srand( )?

Posted: 10/14/09 10:08 PM

Forum: Programming

FYI, 0 to 8 is 9 moves total, not 8


83.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/14/09 08:17 PM

Forum: Flash

At 10/14/09 06:49 PM, Jimp wrote:
At 10/14/09 05:44 PM, matrix5565 wrote: do any of you guys have any tips for an aspiring game programmer who is severely lacking in the artistic department?
Work with an artist :)

Or use abstract graphics like squares and junk. If a game is fun with abstract graphics, you'll have no problem finding an artist to make it look better. Or maybe it just works better that way.

I think making a living from indie Flash games is entirely possible, I know a fair few people doing it. I think one of the most important things you need is the drive to want to make it work.

I don't mean to be a downer but technically most of the "successful" independent flash devs (not counting webmasters or people with a salary like jmtb02) spend more time marketing and milking one game than they do actually making a variety of games.

At 10/14/09 07:22 PM, jmtb02 wrote:
At 10/14/09 05:18 PM, Glaiel-Gamer wrote: There's plenty of ways to make money making games, flash is not the only thing capable of making money.
I've always wanted to make board games for a living.

a board game called "Train" won an award at indiecade. It was about the holocaust.


84.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/14/09 05:18 PM

Forum: Flash

At 10/14/09 04:31 PM, The-Super-Flash-Bros wrote: Exactly. Indie games are lots of fun to make, and I want to devote as much time as possible to them, but at roughly £1000 per game, they really don't compare to the £400-500 a day I can charge for contractor flash work right now. I imagine I could just about live on sponsorships alone, but it'd be near full time. I'd rather do a few days of contract work a week, then spend the rest of my time making games for fun and a little money on the side. And it's not that hard to get into, at least not in and around London.

Tom-

or "take the big jump" and try to sell a full game on steam or wiiware or xbla or psn or direct2drive or whatever. It's a lot more work but a lot more gain in the end.

Also, Unity can deploy to the web, pc, iphone, and wii. You should check it out if you haven't yet.
http://unity3d.com/

It's expensive, I want to learn how to use it eventually because (frankly) it's stupid to roll you're own fully functional 3D game engine when the ones that are out there are do everything you could do better and more.

Also, every finalist team in the IGF gets a free license for Unity Pro. Every winning team gets a license for each team member. Cough up $100 and submit your damn game!

There's plenty of ways to make money making games, flash is not the only thing capable of making money.


85.

None

Topic: Sexting...

Posted: 10/14/09 02:13 AM

Forum: General

At 10/13/09 06:46 PM, Sizzlebuzz wrote:
At 10/13/09 06:44 PM, EgoistXIV wrote:
Adolf Hitler applied to the Academy of Fine Arts Vienna but was rejected twice. He also attended a catholic school. Obama is nothing compared to Hitler.
I wouldn't include Adolf Hitler in a list of success stories though.

just cause what he did was wrong doesn't mean that he wasn't successful at what he tried to do


86.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/14/09 01:48 AM

Forum: Flash

At 10/14/09 01:45 AM, hashbrown wrote: what an overacheiver, the kids in your class must hate you

this is the bare minimum, besides my fancy slider drawer
nobody but the grader sees it anyway


87.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/14/09 01:15 AM

Forum: Flash

math project I had to do, kinda looks cool
http://www.glaielgames.com/MAT300poly.sw f

(parametric polynomial curve interpolation)

I'm surprised flash is fast enough to do this


88.

None

Topic: The Flash 'Reg' Lounge

Posted: 10/13/09 06:08 PM

Forum: Flash

Starogre = Kanye West?
http://farm3.static.flickr.com/2565/3999 596441_6cf44944f2.jpg

Yo Glaiel, imma let you finish, but...

89.

None

Topic: New Sexual Term

Posted: 10/12/09 04:37 PM

Forum: General

Teabag


90.

None

Topic: 30 Gop Senators Vote To Defend Rape

Posted: 10/12/09 03:53 PM

Forum: Politics

A PM i got, dunno why the author (Memorize) didn't bother just posting here

$10 says if the 30 people were Democrats, you wouldn't have posted the topic.
Kind of like how you didn't post a topic from ACORN and the Democrat's votes over the years.
But hey, consistency isn't the key!

Ya I probably wouldn't have found it in the first place if it was switched around. Not my fault though.

Doesn't change anything about the topic though


All times are Eastern Standard Time (GMT -5) | Current Time: 12:26 AM

<< < > >>

Viewing 61-90 of 8,046 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7138269