Recent posts by jeroenman on Kongregate

Flag Post

Topic: Game Programming / Game concept

haha :D this “disorganized” and not getting anything finished sound so familiar.
I could not get anything finished either until I really set myself a deadline.
now I finally have a finished game and it’s totally worth it.

your idea sound pretty good. it will be allot of work, but you should really make it.
good luck;)

 
Flag Post

Topic: Off-topic / Rate the song above you.

way to chaotic!
5/10
think like
http://www.youtube.com/watch?v=mR2MKA9MFTw&feature=related”;

 
Flag Post

Topic: Off-topic / Play Instruments?

AIR GUITAR!! :D

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

wow! I can’t believe this, but after I deleted an extension called kongregateAPI from my libary I worked!
I once downloaded this extension but I didn’t get it working so I gave up on it, but never deleted it.

yes! thank you for your help again

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

thank you for your help again.

I think it should work too, because the output says he’s connected, and sent the score after I clicked the button from where I submit the statistics.
but again, when testing at kongregate, when I click it, the button doesn’t do anything anymore, It also doesn’t do the things I scripted after the submit stats line.
really weird:S

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

yeah, but I tried to everything exact as ishlilith said

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

I thank you for your post, and your comment – glad you liked it.

but I have to say I’m quite a newbie with classes or anything.
but I gave it a try:

I made a documentclass.as file, put in it:


package
{
public var kongregate:*;
}

linked to this in file, in the textfield under proporties, where is says: Document class:

then I pasted that first piece of code in my first frame of the timeline.
and then I didn’t know where I should put that private function piece of code anymore.

I hope you will still help me some more with this.

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

I copy and pasted the code from http://www.kongregate.com/developer_center/docs/loading-the-as3-api
added the line, kongregate.stats.submit(“highscore”, 1030 );
but still nothing happening:S

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

sorry I forgot to say, I scripted in AS3 ;)

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

that’s probably where I did it wrong

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

so how did you guys set the API up?

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

I don’t really know what you mean but thank you.

but I really need those statistics xD
else I won’t to able to compete for the weekly price.
and I am really excited aboutthat

 
Flag Post

Topic: Game Programming / game freezes at kongregate when sending statistics[solved]

when I test my game at kongregate and click a button that sends statistics, that button freezes and I don’t see anything that suggests the statistics have been sent.
when I test it at flash the button just works, and the output seems right.

how can this be?

 
Flag Post

Topic: Game Programming / Highscores not working[solved]

oops the code
the last part code is like this:

kongregate.services.connect();
kongregate.stats.submit( “highscore”, 1000 );
kongregate.stats.submit( “completed_the_game”, 1 );
}

 
Flag Post

Topic: Game Programming / Highscores not working[solved]

ok I thought so, but still I don’t see anything happening when I uploaded it.
here’s what I did then:
I pasted this code in my first and only frame:

import flash.display.LoaderInfo;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.system.Security;

// Pull the API path from the FlashVars
var paramObj:Object = LoaderInfo(root.loaderInfo).parameters;

// The API path. The “shadow” API will load if testing locally.
var apiPath:String = paramObj.kongregate_api_path ||
http://www.kongregate.com/flash/API_AS3_Local.swf”;

// Allow the API access to this SWF
Security.allowDomain(apiPath);

// Load the API
var request:URLRequest = new URLRequest(apiPath);
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
loader.load(request);
this.addChild(loader);

// Kongregate API reference
var kongregate:*;

// This function is called when loading is complete
function loadComplete(event:Event):void
{
// Save Kongregate API reference
kongregate = event.target.content;

// Connect to the back-end kongregate.services.connect();

kongregate.stats.submit( “highscore”, 1000 );
kongregate.stats.submit( “completed_the_game”, 1 );
}

when I test it at flash the output seems alright (see my previous post).

I also added the statistics highscore and completed_the_game at kongregate.

when I upload it at kongregate I don’t see anything happening.
it should right?
so whats wrong?

 
Flag Post

Topic: Game Programming / Highscores not working[solved]

I cannot change the statistic name highscore to HighScore at kongregate. the “save changes” button does not respond at all:S

btw, do those capitals really matter?

 
Flag Post

Topic: Game Programming / Highscores not working[solved]

so what exactly should I change with this code?:
kongregate.stats.submit( “highscore”, 10000 );

btw, I already added the statistic “highscore” at kongregate.

 
Flag Post

Topic: Game Programming / Highscores not working[solved]

as far as I know there is one API, and I used that one.
I sent both higscores, and statistics, and in flash that seems to be working.
as output I get:

Alert: Kongregate API shadow services loaded due to local testing. API will load when the game is uploaded.
Kongregate API: IKongregateServices.connect()
Kongregate API: IHighScoreServices.submit(23)
Kongregate API: IStatServices.submitStat(highscore,10000)

so that’s seems to be OK right?

 
Flag Post

Topic: Game Programming / Highscores not working[solved]

I’ve been trying to get highscores for my game, but it’s just not working.
now, I can sent the score to kongregate, I see this works at my output.
so now I uploaded the game but nothing happens when the scores are sent.
the game even stops working after I sent the score.
this does not happen when I test the swf at my desktop.

what is wrong??