|
X Complete Initialization for 10 kreds Complete the Quest and earn an exclusive shiny kongpanion + 10 kreds 15% Congratulations! You’ve completed your Kongregate account! Congratulations! You’ve completed your Kartridge quest! Spend your hard earned kreds on some of these games! Sokuaisushi's messagesPublic messages for Sokuaisushi
MrJinx
Jul 22, 2018 3:09pm Would love to see a guide on how to integrate with Kongregate. I’ve integrated with ArmorGames, but the Kong WebGL documentation is from like 25 years ago.
14 comments
(show more)
|
comment
Loading
Sokuaisushi
Aug 3, 2018 2:10pm
The kongregate object is described in detail here: https://docs.kongregate.com/docs/unity-api Look down at the part called using the API. But it sounds to me like you’re trying to use the Kongregate A… show moreThe kongregate object is described in detail here: https://docs.kongregate.com/docs/unity-api Look down at the part called using the API. But it sounds to me like you’re trying to use the Kongregate API outside of Kongregate’s website. The only way you can test Kongregate’s API functionality is through their website. If you try to load their API in the Unity Editor it simply wont work and the kongregate JavaScript object will never be created. show less
Sokuaisushi
Aug 3, 2018 2:14pm
As for the number of references to the kongregate JS object, you should have a reference to the kongregate object on the RegisterKongSignInHandler function to get the kongregate services object, ie: v… show moreAs for the number of references to the kongregate JS object, you should have a reference to the kongregate object on the RegisterKongSignInHandler function to get the kongregate services object, ie: var services = kongregate.services; you should also have a reference to that object in the GetKongIsGuest function: return kongregate.services.isGuest(); As well as the SetKongHighScore function: kongregate.stats.submit(Pointer_stringify(key), score); show less
PassionFruit0923
Aug 3, 2018 3:30pm
in the editor I did not get the error with the kongregate object.
sabin2005
Jul 7, 2018 2:10am sees comment “The Health Power-up also gives Score, and the idea is to maximize your Score. So it allows the player to pick up the Health Power-ups before the end of the level to help maximize your score.” oh that’s why
Loading
Sokuaisushi
Jul 7, 2018 9:56am
I did think about making the power-ups not pick up when your health (or ammo) is full, but decided to have them pick up in the end to add to score. But it also makes it slightly harder, as sometimes i… show moreI did think about making the power-ups not pick up when your health (or ammo) is full, but decided to have them pick up in the end to add to score. But it also makes it slightly harder, as sometimes if you see a power up it’s better to come back for it when you need it. show less |