Recent posts by duncanbeevers on Kongregate

Subscribe to Recent posts by duncanbeevers on Kongregate

avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Wonky Chat

Base64.decode(Base64.encode(“test”))
“test”

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Ventero is Awesome

It’s true. I would buy Ventero a milkshake.

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Chat JavaScript Sources

We’re using yuicompressor to deflate the final file. An excellent explanation of why many of the compressed variable names are not obfuscated is given by Yahoo!’s engineers on the YUI site

How does the YUI Compressor work?

The YUI Compressor is written in Java (requires Java >= 1.4) and relies on Rhino to tokenize the source JavaScript file. It starts by analyzing the source JavaScript file to understand how it is structured. It then prints out the token stream, omitting as many white space characters as possible, and replacing all local symbols by a 1 (or 2, or 3) letter symbol wherever such a substitution is appropriate (in the face of evil features such as eval or with, the YUI Compressor takes a defensive approach by not obfuscating any of the scopes containing the evil statement)

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Chat JavaScript Sources

Here’s a quick example showing how to add a /me command.

example

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Chat JavaScript Sources

I did not post this in the Programming forums as it is not directly related to Flash programming.

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / New Kongregate Release (NEW CHAT!) - CR 2009.04.22

Just wanted to let the community know, we’re restoring the Achievements list beneath the game so you’ll be able to see all of the requirements and your progress at-a-glance.

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Chat JavaScript Sources

If you’re interested in customizing your experience with the new chat and would like to view the uncompressed source files, you can access them directly.

accomplishment.js
accomplishment_task.js
accomplishment_tracker.js
asset_urls.js
chat_api_tab.js
chat_dialogue.js
chat_nag.js
chat_room.js
chat_room_chooser.js
chat_room_group.js
chat_window.js
collapsible_panel.js
default_lightbox_controller.js
high_scores.js
holodeck.js
holodeck_event_analytics.js
holodeck_tabs.js
konduit_event.js
konduit_event_dispatcher.js
mini_profile.js
online_friends.js
room_info.js
statistic.js
suggestion_template.js
time_ago_in_words.js
user_rollover.js

Reply here if you create something cool.

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate Labs / Shootorials #0, #1, and #2 with Free Tools - mtasc and swfmill

I also recommend checking out Project Sprout that makes acquiring the compilation tools and bootstrapping a new project a simpler affair, as well as providing a robust testing framework for your game.

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Does Kongregate block communication with other servers?

I would suggest using a wildcard rule along the lines of:
<allow-access-from domain=“*.kongregate.com” />

Currently games are served from chat.kongregate.com, but this is subject to change in the future.

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Kongregate / Vote for Kongregate in the Webware 100!

I too voted for Kongregate!

 
avatar for duncanbeevers duncanbeevers 11 posts
Flag Post

Topic: Off-topic / Jokes

What do you call an Irishman who’s bouncing off the walls?

Rick O’Shea