Recent posts by SumGato on Kongregate

Flag Post

Topic: Game Programming / Kongregate Game Screen Size

You can choose any size for kongregate, but the width musn’t be more than 800 pixels. (From the developer FAQ)

Flag Post

Topic: Off-topic / Shy guy, Gardevoir, and Slime fan club!

…I didn’t know that there was some kind of slime cult here. I have an angel slime as an avatar. Does that count as being a fan?

Flag Post

Topic: Game Programming / Assistance Requested by a Programming Beginner

A software development kit (SDK or “devkit”) is typically a set of software development tools that allows the creation of applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar development platform. (From wikipedia )

To make flash files (SWF) from your code, you’ll need to use an ActionScript compiler, such as the one included in the Flex SDK. Once you have installed it, in flashDevelop you go to Project -> Properties -> SDK -> Manage and there you can configure it so it will use the Flex compiler to create SWFs.

Flag Post

Topic: Game Programming / GiTD #43 *Flying Rotating Horrors*

Noun: Summer.
Verb: Kill.
Adjective: Endless.
Game Mechanic: Turn-based.

Flag Post

Topic: Off-topic / "This Pokemon is better than that Pokemon" Debate Thread

Originally posted by niceman555:

No one uses BD. There is a popular saying goin around, and it is: if you don’t got a counter to BD Azumarill, you suck.

I don’t think so. BD it’s hard to set up (because of hazards and stuff) and it can be countered if you enter while it uses belly drum, but once it’s done it’s really hard to stop unless you have a specific counter for it. In my team, I have Amoonguss and Chansey, and:
+6 252+ Atk Huge Power Azumarill Play Rough vs. 252 HP / 252+ Def Amoonguss: 321-378 (74.3 - 87.5%) -- guaranteed 2HKO

6 SpA Amoonguss Giga Drain vs. 252 HP (50%) / 4 SpD Azumarill: 170-204 (84.5 - 101.4%) -- 6.3% chance to OHKO (that’s accounting half hp, and it can have more hp after eating the sitrus berry, so…)

Chansey doesn’t stand a chance against Play Rough, so I’m going to assume that I’ve previously intimidated Azumarill and that it’s using Aqua Jet.

+5 252+ Atk Huge Power Azumarill Aqua Jet vs. 252 HP / 252+ Def Eviolite Chansey: 369-435 (52.4 - 61.7%) -- guaranteed 2HKO (waterfall is guaranteed OHKO after intimidation too)

How would you counter azumarill BD?

Flag Post

Topic: Off-topic / "This Pokemon is better than that Pokemon" Debate Thread

Azumarill or Floatzel? (I know they do different things and it depends on your team and that stuff, but I want to know opinions about which is better)

I personally prefer Azumarill because its typing, it has decent bulk that allows it to resist some hits and if it does a Belly Drum in the right moment it can sweep off the enemy. Floatzel, homever, has a higher speed and that means it can use Waterfall instead of Aqua Jet. It also has a better movepool (althrough it has only one STAB) and it’s a better Choice Band user due to its better speed and movepool and its access to Switcheroo (allowing it to stop walls, when it’s harder to face defensive pokemon with Azumarill)

Flag Post

Topic: Game Programming / As3, how do i write this?

The error is probably caused by this:

new [SFoliage1, SFoliage2, SFoliage3];
When you use new to instantiate a new object, you need to provide a class or a constructor function. You are using an Array value there. To create a vector with those values, you should use the Vector function to convert an Array value to a Vector one. Like this: var aBunchOfGrassBlocks:Vector.<Class> = Vector.<Class>([SFoliage1, SFoliage2, SFoliage3]);

Edit: Oops. I accidentally used two brackets. Sorry!

Flag Post

Topic: Game Programming / GreaseMonkey+holodeck

I’ve never created any userscript that modifies the Kongregate chat but there have been some changes in the way Kongregate manages that since 2012 so that’s why the code posted doesn’t work now.

Flag Post

Topic: Game Programming / Continue counting offline?

Save the time when the player left the game in a SharedObject, then when the game is loaded get the current time and count how many time has passed.

You can do this by using Date objects.

Flag Post

Topic: Off-topic / Social Attitude Test

Progressivism 90
Socialism 68.75
Tenderness 50

Your test scores indicate that you are an open-minded ultra-progressive; this is the political profile one might associate with a journalist. It appears that you are skeptical towards religion, and have a balanced attitude towards humanity in general.

Your attitudes towards economics appear socialist, and combined with your social attitudes this creates the picture of someone who would generally be described as a humanist.

To round out the picture you appear to be, political preference aside, a considerate realistic egalitarian with several strong convictions.

This concludes our analysis; we hope you found your results accurate, useful, and interesting.

Flag Post

Topic: Off-topic / Are you a picky eater?


Flag Post

Topic: Game Programming / Can i upload javascript or java games in kongragate

And you no longer need your own server to host them.

Flag Post

Topic: Off-topic / Official PokemonShowdown Battle/video thread!

BTW, my username is SumGato in Showdown too. Contact me if you want to battle.

Flag Post

Topic: Off-topic / So I decided to have fun with my computer...

Your font is awful.

Flag Post

Topic: Off-topic / Official PokemonShowdown Battle/video thread!

I may participate, even though I have no idea of sixth gen’s competitive metagame.

Also, why aren’t legendary pokemon allowed? The distinction between legendary and not legendary is arbitrary and doesn’t really mean anything in competitive pokemon.

Flag Post

Topic: Game Programming / The anormal case of the pear [FINALLY SOLVED YEEEEEEEEE!]

Once it removes the pear from the stage, it will try to remove it again in the next frame and that’s probably the problem.

Flag Post

Topic: Game Programming / {AS2} New Game !

^in AS1 and AS2 it’s movieClip._visible, all movieClip properties start with an underscore.

Flag Post

Topic: Kongregate / "HERE ARE YOUR 10 FREE KREDS"

He’s talking about the Kongregate Explored trophy. I think the kreds for those should be instantly received, if you didn’t get them contact

Flag Post

Topic: Kongregate / Kongpanion Photo Contest!

Originally posted by duckonia:

Why is Cooper there? He came 9th and Mozzarella came 5th!

The staff chose it (same as Nikhil, who was the 20th in the poll).

Flag Post

Topic: Game Programming / Game in the works.

Format your code using this.

Your code has some oddities and bad practices that make it hard to understand. First, you are passing stage references to objects when you don’t need those at all, since you add those objects to the stage and you could use an ADDED_TO_STAGE event for that. Also, you add all the objects as a child of the stage (and they self-remove from the stage), so if you wanted to add them to any other place you would have to recode it. Also, your variables named canJump, canRun and canSlide look like the player would be able to do the action if the variable is true, but actually it is only able to do it when the variables are false, which seems counter-intuitive. Also, your casing is inconsistent (some variables/functions start with capital letter and others doesn’t)That isn’t related to the errors that there could be in your code, but I think you should get into good practices.

I think the animations problem could be caused because you’re only starting RunTimer when you run, and you’re not starting the other timers when you slide or jump.

Flag Post

Topic: Kongregate / Chat Scripts

Cargo, those scripts are unofficial and are not mantained by the kongregate staff.

To download scripts, you have to go to since the normal userscripts page doesn’t work.

Flag Post

Topic: Kongregate / The new game browsing interface

So now you actually have to play a game to see its description and judge if you want to play it. Even if you don’t, that still counts as a play for the playcount, and then the games will get more plays and it will look like the site has more activity than it really has. Yay.

Flag Post

Topic: Game Programming / Graphic glitch when switching browser tabs.

It may have something to do with the wmode parameter.

Flag Post

Topic: Kongregate / Upcoming Badges!

Originally posted by JimmyCarlos:

It’s only “flaw” is that it is an idle game, and Greg has never badged any idle games apart from MMO games (No T, No Shade).

By the way, can someone explain this general aversion to good idle games? They certainly are an established style of game.

Anti-Idle: The Game was badged and it isn’t a MMO.

Idle games aren’t usually badged because they don’t suppose a challenge. (I guess)

Flag Post

Topic: Game Programming / People are losting gave save

The code posted in that thread is correct, but lacks the variable definition of myLSO (something that is allowed in AS2 but not in AS3), and is overly complicated. You should try to reproduce the problem.

@Glutenfree4u: You must save the variables in the data property of the sharedobject, not as properties of the sharedobject itself. Your code won’t work.