Recent posts by DeepClaw on Kongregate

Subscribe to Recent posts by DeepClaw on Kongregate

Nov 28, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / RemoveMovieclip

on (release) {

	trace("on release executed");
	this.removeMovieClip();

}
 
Nov 28, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Removing From An Array?

if you wnat to find the index of an object, just itterate through the array and test

Or just use the function indexOf.

 var thisIndex:int = array.indexOf( this ); 
 
Nov 28, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Can I...?

You could use the function removeChildAt to remove all of your Objects. To see if you have any Objects left, use the property numChildren.

example:

while (stage.numChildren > 0) {
  stage.removeChildAt( 0 );
}
 
Nov 28, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Technical Support / wrong Icon Size

What it looks like now:

And the original Image i’ve uploaded before ( 100*75 )

The image gets slightly scaled down ( to 99*74 ) and then cropped to the size of 93*74.

Or is the Upload Game section outdated?

JPG, GIF, or PNG format. 100×75px or larger

edit i tried it with FireFox and Opera. Both have the same size of 93*74.

 
Nov 25, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Technical Support / wrong Icon Size

i’ve noticed it since the game icons were blurred.

Oh… and in the profiles the since is wrong too. Seems like an overall issue.

 
Nov 25, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Technical Support / wrong Icon Size

On “Latest Games” page the size of the game Icons is wrong. They are resized down to 93*74 pixel.

On other pages ( like Frontpage ), they have the wrong size too.

 
Nov 24, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Is there a Flash IDE upgrade

Yes, FlashDevelop has all this features.

 
Nov 24, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate / Where Is IT Going?!?!?!

My games are exclusive to Kong and they DO have the KongAPI. But the AdRevenue dropped since yesterday to 49%

In all the games the API works fine, i’ve Scores on the Scores Tab.

edit thx for answer

 
Nov 23, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Technical Support / Ad Revenue dropped

To make it short:

I’ve noticed that the % share of one of my games dropped to 49. (yesterday was 50)
I didn’t change anything in the settings.

 
Nov 22, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / AS3 timeline control

but that just gives me a compiler error

which one?

i didn’t try it, but maybe it should work with this:

  (parent as Stage).gotoAndPlay();

or
  (parent as MovieClip).gotoAndPlay();

remember: do NOT use underlines in front of parent.

You could try:

  stage.gotoAndPlay();

But i’m not sure if it would work.

 
Nov 22, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / action script falling snow

replace line 7 with this:

   addChild(Snowflake, 0);
 
Nov 22, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate / Suggestions

I was wondering, can we have something like a megaphone, to shout through all the channels. That means EVERY player can hear it.
1) You turn in a number of your points for a megaphone; e.g. 100 points for 1 megaphone.

sry, but very bad idea.

example:

if i want to spam, i make an new account. launch games like Monster Den and load my savegame → get a lot of points. purchase the megaphone and can start shouting.

2) Games get an extra reward; instead of Card Challenges and Badges, you can now win megaphones!

in most cases i could use my savegame.

 
Nov 17, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / [Kongregate API] AS3 API Integration

It would be nice if the API had a Disconnect() function.

Asked few months ago.

Something like that was rejected because it’s senseless. The cheater would make a Screenshot and get the badge.

 
Nov 13, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate / Whats up with kong, is it being updated?

only 16k player online….

yesterday we had 24k and the server was fine.

so it isn’t increased traffic/to much visits.

 
Nov 11, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate Labs / Wait just a second... CS4 is out?!

Then why the hell is the guide using CS3?

Then the shootorial was made ( july 2008 ), cs4 wasn’t released.

 
Nov 9, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate / Upload Game - Additional files

so, kongregate extract the zip file after i upload it and put all the files into my game folder?
that’s nice.

thx.

 
Nov 9, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Could someone help me with my game?

if you use flash cs3just press f1 and search for timer.

you will find a “timer class”
at the bottom of that class is an example how to use the timer.
what king talked about is using EnterFrame-Event. Since it is depended on the fps, i suggest the timer class.

 
Nov 9, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate Labs / Asking the user to enter their name example?

You could use Kong-name instead.

Use the KongApi to read the name.

 
Nov 9, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate / Upload Game - Additional files

do i need to extract the zip file in my game file?

 
Nov 9, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate / Upload Game - Additional files

Can i upload more then 1 additional file? ( 1 Game File + 2 other Files ).
Or will the last one be replaced with new one?
( Like, if i upload first a abc.jpg and then cde.jpg, do i have both files avaible from my game? )

The other question i have… Is it possible to delete an uploaded additional file?

 
Oct 30, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate Labs / Error in my code? My ships explode when they fire a missile

Since you copied you Missile … did you copy hitTest too?

If you check hitTest of Enemy Missile with Enemy Ship and you shoot from inside of the enemy ship → hitTest is true and the ship explode.

 
Oct 29, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Kongregate Labs / How many competitors are there?

Can a game be renamed after it is uploaded?

No.

 
Oct 29, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Help - Adding Movieclip On Click

since your wall is on the stage (i guess), try “stage.addChildAt()” with different depths.

 
Oct 29, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Help - Adding Movieclip On Click

Use the function “addChildAt()”

 
Oct 29, 2008
avatar for DeepClaw DeepClaw 343 posts

Topic: Programming / Updating Map problem. /AS3/

What line is the error?

You don’t need to set the Array to a 2D Array. Flash do it for you.
But if you really need a clear 2D Array, use this code:

var myTiles:Array = new Array();
for ( ... ){
  var myTiles2:Array = new Array();
  for ( ... ){
    myTiles2[j] = new Tile( ... );
    myMap.addChild(myTiles2[j]);
  }
  myTiles[i] = myTiles2;
}

And you don’t need to import the class Array.

I suspect, it’s the line with the new Tile-constructor.
do you saved the changes in the AS file?