Recent posts by Ragnarok on Kongregate

Flag Post

Topic: Kongregate Multiplayer Games / [Kongai] This game is sexist.

Stop feeding the trolls…

 
Flag Post

Topic: Kongregate Multiplayer Games / [Kongai] General Item

We need a new general item :)

 
Flag Post

Topic: Kongregate Multiplayer Games / [Kongai] I Don't Need Anymore Character Cards

same problem, same pain. But good luck having this fixed… it doesn’t effect enough people. Also, since we already play enough to have all the cards, catering to us to get us to play more is not a high priority

 
Flag Post

Topic: Game Programming / Normal Distribution

Ahh i see. Clever. Like rolling more than one dice…
Thank you!

 
Flag Post

Topic: Game Programming / Normal Distribution

How do I calculate a random number confined to a normal distribution in flash?

 
Flag Post

Topic: Game Programming / Multiple Key Press

Ahhh! That’s brilliant, now I at least know what’s going wrong.
I’m assuming there is no way around this… except for hoping that most of the public’s keyboards work better than mine?

 
Flag Post

Topic: Game Programming / Multiple Key Press

I am currently using the following FOR statement to detect key presses
if(Key.isDown(keyCodeHere)){
doWhatYouWantThisKeyToDo();
}
It works just fine for one or two keys, but it seems like some key combos eclipse other keys!
For instance:
If i hold the up key, my swf file recognizes the up key is down. If instead, I hold the left key AND the right key at the same time, my swf file can detect that both keys are down. But if i then hold down the UP key ALSO, it doesn’t detect the up key.

 
Flag Post

Topic: Game Programming / return Date

Thanks,
If you find anything it would be unbelievably helpful. UTC time will make things easier… but cheating is my main concern.

 
Flag Post

Topic: Game Programming / return Date

The AS Date class is nice and all… but I need some way to determine a standardized date for all users. The Date class derives the time from the computer the swf file is running on, so if I manually set my computer’s clock to 1:00p.m and you set yours to 3:00p.m. we will both get unique times, even if we are playing at the same time.
The only solution I can think of is to request a Date object from the Kong server, which will give the same date to every user.

 
Flag Post

Topic: Game Programming / return Date

Is there a way to request a standardized date/time from the Kongregate server?

 
Flag Post

Topic: Game Programming / [Kongregate API] High Scores

Because I don’t know how to access the score data, what should I use?

 
Flag Post

Topic: Game Programming / [Kongregate API] High Scores

In the following code I attempted to store an array of the user scores from Kongregate into an array ‘userscores,’ but it doesn’t appear to be working properly. How do I change my code such that ‘userscores’ will contain the correct information?

//Connect to Kong server and submit initial score
_root.kongregateServices.connect();
_root.kongregateScores.submit(1000);
//Function called on completed load: returns array of userscores
var scoresCallback:Function = function (result:Object) {
userscores = new Array(result.list.length);
for (i=0; i<result.list.length; i++) {
userscores[i] = result.list[i].username;
}
return userscores;
};
//Request data from Kong server
_root.kongregateScores.requestList(scoresCallback, this);
//Set ‘userscores’ to the object pointed to by this. Hopefully the return value from
//scoresCallback
userscores = this;

 
Flag Post

Topic: Game Programming / Return Kongregate Username

thanks :)

 
Flag Post

Topic: Game Programming / Return Kongregate Username

Is there a way to receive a player’s Kongregate user name from the server?

 
Flag Post

Topic: Kongregate / Updated Games

the Airplane Game has been bug-edited and is easier… my little sister can beat up to level 26 :) Can You?