[Kongregate API] AS3 Integration page 2 (locked)

Subscribe to [Kongregate API] AS3 Integration 129 posts, 66 voices

Sign in to reply


 
avatar for Nqkoi1 Nqkoi1 3676 posts
Flag Post

W00ters

 
avatar for Caimbul Caimbul 52 posts
Flag Post

Of course those of us who can not afford to buy the AS3 dev kit can still use the AS2 API right? Kongregate isn’t planning on deprecating the old APIs right? I’ll still be able to enter the contests and have badges made if I write in AS2?

 
avatar for Smiggy Smiggy 1567 posts
Flag Post

I don’t think the contest rule about the API’s means anything, SCGMD2 was AS3 and it won the contest before this API came out. Any employees wish to clarify what that rule means?

 
avatar for 5TonsOfFlax 5TonsOfFlax 4 posts
Flag Post

Caimbul, you can develop AS3 without buying anything. I do. You can either use FlashDevelop and the flex sdk, or if on linux, you can use the flex sdk and an eclipse plugin.

 
avatar for arcaneCoder arcaneCoder 1326 posts
Flag Post

Of course those of us who can not afford to buy the AS3 dev kit can still use the AS2 API right?



Of course.

Kongregate isn’t planning on deprecating the old APIs right?



Certainly not. That would be silly :)

 
avatar for Kannushi_Link Kannushi_Link 481 posts
Flag Post

>Kongregate isn’t planning on deprecating the old APIs right?

If this really happened Greg will go mad first. =P

 
avatar for Caimbul Caimbul 52 posts
Flag Post

5Tons: Actually there are various things I would need to buy first and formost a better computer to run Adobe suite. From what I understand there are other options. I have looked at this FlashDevelop and such, I’m not sure if they will give me what I want. (I am an experienced programmer, but unfamilliar with the Flash style of programming. In other words I shouldn’t have too much problem with the packaging and such, just the syntax and good flash practices.)

Arcane: Thanks! Just what I wanted to know. Although I guess with my job I live in a silly world. (because people do that kind of thing all the time..)

Kannushi: I’m not saying anything, but I suspect there are those who would say Greg is already mad..

 
avatar for Sylicas Sylicas 1471 posts
Flag Post

I don’t think the contest rule about the API’s means anything, SCGMD2 was AS3 and it won the contest before this API came out. Any employees wish to clarify what that rule means?

The contest rule is like getting the 35% exclusive rates…

Kongregate will periodically release new APIs. However, once you’ve implemented the APIs into your game that are current at the time of upload, your game is locked in with the 10% API bonus, even if you don’t implement later APIs into your game. If you upload a game during a time in which no APIs are available, your game will always receive this bonus. New games that are uploaded, however, must comply with the newest APIs to receive the bonus.

The bolded part is what you need to know. As of such, when the contest ended for that month, AS3 API hasn’t been finalized yet (and isn’t really finalized till’ now.), so they got the money even without the API.

(If you want, I can explain it furthur.)

 
avatar for poopgames poopgames 56 posts
Flag Post

I’m starting to wonder, when this will be available?

 
avatar for thup thup 18 posts
Flag Post

This might be a dumb question, but I just wanted to make sure… the AS3 API isn’t available at all right? That means we can’t really integrate our game at all with kongregate if it’s AS3 based?

 
avatar for Moonkey Moonkey 665 posts
Flag Post

This might be a dumb question, but I just wanted to make sure… the AS3 API isn’t available at all right? That means we can’t really integrate our game at all with kongregate if it’s AS3 based?

Not yet, but it will be soon.

 
avatar for arcaneCoder arcaneCoder 1326 posts
Flag Post

Its actually already done, its just being tested (minus some adjustments) and the appropriate changes are being transferred to the live servers. Kongregate was supposed to get some developers to help test it but I think they’re loaded with making some unrelated changes to the test and staging servers, which have broken them at the moment.

I was putting together some code the other day though, as we may be able to proceed with the current version by manually loading the API. You can try it out, but you run the risk of it breaking if changes are made when the final version is released (though not highly likely).

 
avatar for Nqkoi1 Nqkoi1 3676 posts
Flag Post

If I was a programmer I would be very happy,go arcane.

 
avatar for chrisperone chrisperone 15 posts
Flag Post

So eventually will there be a way using the api that a game could retrieve information about the kongregate player playing the game? As in autoloading their name or getting how many points they currently have or badges.

 
avatar for funface funface 24 posts
Flag Post

You can get their username with the old api by using this code: root.kongregateusername

 
avatar for arcaneCoder arcaneCoder 1326 posts
Flag Post

So eventually will there be a way using the api that a game could retrieve information about the kongregate player playing the game? As in autoloading their name or getting how many points they currently have or badges.



Yes, for some of those.

 
avatar for Smiggy Smiggy 1567 posts
Flag Post

It’s up! Yay! According to Emily, anyway. *cough*May2007*cough* XD

 
avatar for Moonkey Moonkey 665 posts
Flag Post

Sweet.

Got mine highscored up now _

 
avatar for arcaneCoder arcaneCoder 1326 posts
Flag Post

Yes, you can use the AS3 API now. However, there are some domain security issues with some cases manual loading, so if you have trouble you’ll want to use the component until the next build gets pushed live.

Moonkey, you did that fast..does that mean it was pretty easy for you?

 
avatar for Moonkey Moonkey 665 posts
Flag Post

Yeah it was.

Just downloaded the extension manager and installed the component, dropped it in my library, then added a few lines of code. All the docs are very clear, nice job :)

 
avatar for arcaneCoder arcaneCoder 1326 posts
Flag Post

Excellent! Exactly what I wanted to hear, thanks Moonkey.

 
avatar for funface funface 24 posts
Flag Post

Great work AC
The docs are really well written, and it’s been smooth sailing getting everything integrated into the new game. I can’t wait to try out all of the new features you’ve added.

You deserve a drink… and a raise!

Cheers

 
avatar for dazzer dazzer 730 posts
Flag Post

Where is the love for FlashDevelop users…

I’m still whacking at it to see if I can get something remotely working without using the swc.

Edit: Woohoo! I’ve made some progress. Hang in there, FlashDevelop people.
Edit: I have done it! Wrapped up the Kongregate API in some classes, and functions exactly the same. Message me if you want a look ^^

 
avatar for arcaneCoder arcaneCoder 1326 posts
Flag Post

Well, ideally you’d just manually load the API if you don’t want to use the component. In those scenarios it would be preferable for a user to construct a class to handle the loading and store the references.

@funface: Awesome, thanks!

 
avatar for Nqkoi2 Nqkoi2 4 posts
Flag Post

You bet arcaneCoder deserves a raise(he gets money?)he deserves two raises in fact.

Sign in to reply


Click Here