Recent posts by HybridMind on Kongregate

Subscribe to Recent posts by HybridMind on Kongregate

avatar for HybridMind HybridMind 3 posts
Flag Post

Topic: Game Programming / Im sick of asking questions...

oh .. that is annoying.. the formatting eats underscores.. so, never mind— it is probably just the formatter making me think you are missing the underscore from your post

 
avatar for HybridMind HybridMind 3 posts
Flag Post

Topic: Game Programming / Im sick of asking questions...

doubt this is it.. but in your code you are calling root.ball.y -= 70; but that should probably be “y” with an underscore like in your post text..? "y"

 
avatar for HybridMind HybridMind 3 posts
Flag Post

Topic: Game Programming / [Kongregate API] AS2 Integration

Help with Kong Statistics API:

Hey everyone.. I’ve been scouring google, kongregate and mochiads forums and I have not yet found a proper solution to my issue. I have not been able to get my game working with the Kong Stats API yet. The light stays red and the debug window just says “info: listening for connection…” My game TurnStyle is an AS2 game that is wrapped in a MochiaAds AS3 encrypted preloader… or at least that is how their Ads API described it. I am really new to Flash and ActionScript 2 so I’m sure this is something easy.

I have read all the kong forum threads on the AS2 integration of both High Scores and Stats. I have a feeling that it could be something to do with the MochiAds preloader though. In the mochi integration they mention that you can’t use (root) references anywhere because of the AS3 wrapper. I then read that using "root" is a bad practice so I removed all traces according to some best practices guides I found.

Have any of you devs used the MochiAds preloader around your games and gotten the stats API to work yet?

I have tried using _root.kongregateServices.connect() .. I’ve tried not using it. I’ve tried setting vars that will climb “up” a parent tree incase that was what was going on once it was “wrapped” by kongs SWF. I’ve tried putting the Kong connect code in my “Actions” panel for a dedicated action script layer on the timeline (frame 1) where all the other mochiad stuff is (whis is working fine.)

I’d love any help, thanks!