Jim7
24 posts
|
Topic: Kongregate /
Official Kong Plus Thread
Lots to digest there Crypto! One point I do want to clarify is that Plus members will not level up any faster than regular users. The Badge of the Day bonus we award is only for GameStop PowerUp Rewards points.
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
ORANGE PORTAL-CLOSED-i have one, a contest!
You’ve got to ask yourself one question: ‘Do I feel lucky?’
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
ORANGE PORTAL-CLOSED-i have one, a contest!
I’m an admin.
I can ban you.
5 hours is too long for me to wait.
|
|
|
Jim7
24 posts
|
Topic: Technical Support /
Arcade Android app issues, not loading any games.
Are you guys running any ad blocking software? We have read a few reports about people having problems on rooted phones that have modified local hosts.
Can you try the version we just submitted to the Android Market?
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
We Want YOU (to help beta test our mobile app)!
It sounds like some people are having trouble accessing the signup form, but we still are looking for a few players to help us out. If the form doesn’t work for you, you can email your info to androidbeta@kongregate.com and I’ll add you to the wait list…
|
|
|
Jim7
24 posts
|
Topic: Technical Support /
Chat is broken! HELP!!!
What browsers are you guys using?
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
New Kongregate Version - Messaging Edition (CR 2010.04.21)
Originally posted by notverygood:
So. I now have an obtrusive black bar in the middle of every game. I have refreshed and done all the other stuff you do when something weird happens. I never got this before this update.
Halp pl0x.
What browser/OS are you using? Can you show us a screenshot?
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Where is the favicon?
Can you try refreshing?
|
|
|
Jim7
24 posts
|
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
New update.
Thanks guys… We’ll look into this when everyone is back in the morning, and will hopefully have a fix soon.
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
New update.
What problems are you guys having with textile?
|
|
|
Jim7
24 posts
|
Topic: Game Programming /
*New* [Kongregate API] Content Sharing
Saving shared content on sites other than Kongregate
You may submit shared content created in versions of your game hosted on sites other than Kongregate. The API simply consists of a set of URL parameters you pass along with a GET request to your game’s URL on Kongregate.
The relevent query parameters are type, content, and optionally, label. Note that this method is more limited in terms of the size of the content due to browser limitations with passing through a URL – they need to be limited to under 2,000 characters after encoding in order to ensure that it will work.
Additionally, a trailing &z must be appended to the URL to indicate the content was not truncated.
Example
This snippet is a simple function that accepts the relevant arguments and forwards them to Kongregate.
var saveRemote:Function = function(kongregateGameUrl:String, contentType:String, content:String, label:String = null):void {
var toQueryString:Function = function(params:Object):String {
var q:Array = [];
for (var p:String in params) q.push(encodeURIComponent(p) + '=' + encodeURIComponent(params[p]));
return q.join('&');
}
var loc:String = kongregateGameUrl + "?" + toQueryString({
'type': contentType,
'content': content,
'label': label
}) + '&z';
// This &z sigil indicates that no content was truncated from the URL by a nasty browser
// and is required for your level to be saved when a user visits the game
// Make sure your URL isn't going to be too long to send through a browser
if (loc.length < 2000)
navigateToURL(new URLRequest(loc), '_blank');
// else...
// You will need to provide some error handling in cases where the content is too large
}
|
|
|
Jim7
24 posts
|
Topic: Game Programming /
*New* [Kongregate API] Content Sharing
Public Methods
addLoadListener() method
public function addLoadListener(contentType:String, callback:Function):void
Adds an event listener to be triggered when content of the specified type is loaded by the user
Parameters
▪ contentType:String — Type of content to listen for
▪ callback:Function — Function to call when content load request has been made
▪ callback( params:Object )
▪ params:Object format: { id:Number, name:String, permalink:String, content:String, label:String }
Example
Add a load listener for Contraptions:
kongregate.sharedContent.addLoadListener("Contraption", onContraptionLoad);
function onContraptionLoad(params:Object) {
var id:Number = params.id;
var name:String = params.name;
var permalink:String = params.permalink;
var content:String = params.content;
var label:String = params.label;
trace("Contraption " + id + " [" + label + "] loaded: " + content);
}
browse() method
public function browse(contentType:String, sortOrder:String = null, label:String = null):void
Brings up a list of shared contents in the user’s browser
Parameters
▪ contentType:String — Type of content to browse
▪ sortOrder:String (default = null) — A constant specifying the sort order of the shared content browser
▪ BY_NEWEST – Newest content first. This is the default if no method is specified.
▪ BY_RATING – Highest-rated content first.
▪ BY_LOAD_COUNT – Most-viewed content first.
▪ BY_FRIENDS – Only show content made by friends (newest first).
▪ BY_OWN – Only show your own content (newest first).
▪ label:String (default = null) — Optional, only browse content saved with the specified label
Example
Bring up a Shared Content browser for Contraptions, only showing those by your friends with the “Level 3 Solution” label:
kongregate.sharedContent.browse('Contraption', kongregate.sharedContent.BY_FRIENDS, 'Level 3 Solution');
save() method
public function save(contentType:String, content:String, callback:Function, thumbnail:DisplayObject = null, label:String = null):void
Submits shared content to the server
Parameters
▪ contentType:String — Type of content the user wishes to save (ie. Level, Contraptions, etc)
▪ Limited to 12 characters
▪ content:String — Value of content to be saved. We strongly recommend keeping these values under 100K since the game will hang until the content is sent, which can lead to a poor user experience if the content is too large.
▪ callback:Function — Function to call when save has finished
▪ callback( params: Object )
▪ params:Object format: { success:Boolean, id:Number, name:String, permalink:String, content:String, label:String }
▪ If params.success is not true, other attributes will not be included
▪ thumbnail:DisplayObject (default = null) — Highly Recommended! Send us a DisplayObject that we will snapshotted and used as a thumbnail for the content. If this is not provided we will take a picture of the entire stage and use that as the thumbnail.
▪ label:String (default = null) — Optional, label for sub-classing the shared content.
Example
Send some shared content to be saved as a contraption with the contents “x1y3z10”, calling back onContraptionSave using myContraptionEditor for the thumbnail and with the lable “Level 3 Solution”:
kongregate.sharedContent.save('Contraption', 'x1y3z10', onContraptionSaved, myContraptionEditor, 'Level 3 Solution');
Example
Set up the callback function to be called when content save is completed:
function onContraptionSaved(params:Object) {
if (params.success) {
// The shared content was saved successfully.
var id:Number = params.id;
var name:String = params.name;
var permalink:String = params.permalink;
var content:String = params.content;
var label:String = params.label;
}
else {
// The shared content was not saved.
// The most likely cause of this is that the User dismissed the save dialog
}
}
|
|
|
Jim7
24 posts
|
Topic: Game Programming /
*New* [Kongregate API] Content Sharing
Note: The following information is out of date. Please refer to our new API Documentation here: http://www.kongregate.com/pages/kongregate_api
Overview
Kongregate’s Content Sharing API makes it easier than ever for developers to add features like custom level sharing to your games. The new API gives your players the ability to:
▪ Save in-game content like levels, characters and game customizations to Kongregate’s servers for easy retrieval any time and from any computer.
▪ Browse publicly shared, user-generated content through Kongregate hosted UI (see example)
▪ Share in-game content easily via direct links, email or by posting to top social media sites. (No more copying and pasting of long, ugly text strings!)
This API is available to use now, and we urge you all to check out the first integration of level sharing in Hexiom: Connect and grab the complete documentation here.
Connecting to the new API is very easy – in fact, the Content Sharing API is built on top of the same Kongregate API that you’ve been connecting to for statistics! Note though that it’s only available in the AS3 API and you must load the API manually – the component loading method will not work with Content Sharing. When using this service, it is important that you register content load listeners prior to calling connect() on Kongregate API.
Example
Typical Kongregate API loader with load listeners added for Shared Content:
import flash.display.LoaderInfo;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
// Pull the API path from the FlashVars
var paramObj:Object = LoaderInfo(root.loaderInfo).parameters;
// The API path. The debug version ("shadow" API) will load if testing locally.
var api_url:String = paramObj.api_path || "http://api.kongregate.com/flash/API_AS3_Local.swf";
// Debugging info
trace ("API path: " + api_url);
// Load the API
var request:URLRequest = new URLRequest ( api_url );
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onApiLoaded);
loader.load(request);
this.addChild(loader);
// Kongregate API reference
var kongregate:*
// Called when API swf finishes loading
function onApiLoaded(e:Event):void {
// Save Kongregate API reference
kongregate = e.target.content;
// Register the shared content load listener before connecting to Kongregate services
kongregate.sharedContent.addLoadListener('Level', onLoadLevel);
// Connect
kongregate.services.connect();
}
Each game may save up to 10 different types of shared content, so the possibilities of what you can do with this API are nearly endless.
|
|
|
Jim7
24 posts
|
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Paying for Kreds with American Express?
Great news! Have fun with your Kreds :)
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Paying for Kreds with American Express?
mkozaqii’s suggestion would be a great next step, and in the worst case could help us debug further.
Based on what you have told me, I suspect that our primary credit card processor is just having trouble with prepaid cards. So unfortunately, I dont think there’s much we can do manually till monday. I’ll certainly let you know if we hear back sooner though!
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Paying for Kreds with American Express?
Hokage,
We are looking into it – but unfortunately the team who manages our credit card transactions is gone till Monday. I’ll let you know if we can figure something else out for you though…
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Paying for Kreds with American Express?
Hokage,
Did you trying making a payment using an American Express card? Our payment provider does accept them, and I have made payments using my card on a couple occasions…
Let me know if you are getting a specific error code.
-Jim
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
New navigation looks ugly
Horlicks – What browser are you using, and where are you seeing the problems? The new navigation should not slow down the site at all…
Also – let’s move the conversation about the changes in the main thread to make sure the team hears everyone’s comments and suggestions.
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Holy Crap, New Navigation
We’ll get that one in the next release Kamileon. Thanks for the reminder :)
|
|
|
Jim7
24 posts
|
Topic: Kongregate /
Holy Crap, New Navigation
Splininka – What version of Opera are you using?
|