Recent posts by wx3lab on Kongregate

Subscribe to Recent posts by wx3lab on Kongregate

avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / [solved] AS3 noobish: How to pass a reference instead of a value?

In AS3 all objects are passed by reference while primitives (like int and number) are passed by value. So if you changed your example to use an object it would be passed by reference.

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / Learning AS2 vs AS3

If you plan on switching to AS3 at some point, I would recommend doing it now. If you decide to start your next game in AS2 because you’ve already invested a lot of time learning it, you’ll have an even greater sunk cost when you decide to start the next project.

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / New To Flash, Need a Book Suggestion.

I have 3 books, of which Moock’s book was by far the most useful (the other two being AS3 Design Patterns and Flash CS3 for Designers). My only complaint is that the book is completely silent on the topic of, well, sound. There isn’t even an index entry for it.

Given your strong programming background, I would suggest you do NOT do most of your work in CS4. CS4 is a good design tool, but terrible as an IDE. Use either Flex Builder or the free Flash Develop with the Flex SDK for development.

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Kongregate / Suggestions

I’d like to see a “biggest time sink” metric on games— the total number of hours that has been spent playing each game. I think it would be more accurate than Gameplays (which I assume just measures the number of page loads for each game?) It also would be interesting to see how many games had sucked a year, a decade or century of game play.

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / I need some help with FlashDevelop....

I found Colin Moock’s “Essential Actionscript 3.0” to be an excellent book for learning Actionscript. Do you have any programming background?

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / How to test API?

Weird, I just repeated the test and still nothing, then tried logging out and logging back into Kongregate and then it worked.

Thanks for the help.

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / How to test API?

I see a line in the trace that says “Kongregate API: IStatServices.submitStat(TEST,1)”. But when I use the ?debug_level=3 parameter in my query to the published version, none of the stats have values (and nothing comes up in the chat window when the game is completed).

Any suggestions on how to troubleshoot?

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Game Programming / How to test API?

I’ve added the Kongregate API to my loader, and it should be submitting two statistics— a test stat when the game is loaded, and a max difficulty stat when the game is won.

But how do I tell if it’s working (i.e., the statistics are really being sent to Kongregate)? Is there a page that lets me view these stats?

 
avatar for wx3lab wx3lab 9 posts
Flag Post

Topic: Technical Support / How to enable ads?

I uploaded my first game to Kongregate yesterday (PlanetDefender). It’s getting traffic, but no ads appear when it loads and nothing is listed in my ad revenue report.

Are ads currently unavailable, or is there something I need to do?