alexs game

31 posts

Flag Post

in mrcredsalex game it says your user name in the corner. are the api’s out yet!? how the hell did HE do that

 
Flag Post

Yeah ! Is the info out on the api ? I was wondering the same thing. Some kongregaters must have copy paste him a line or too. Cant believe he’s the first to use thoses ! lol

 
Flag Post

i just noticed that too … seems pretty strange !

 
Flag Post

Damn, I didn’t realize that it was based on the users. Seeing “greg” as the default name in the Kongregate Chat thingy must’ve gone to my head a bit…

 
Flag Post

The variable kongregate_username is passed to every flash game as a flashvar, so looking up its value on level0/root will return the username of whoever is playing. All mrcredsalex did was put a text field in his game referencing that variable, he didnt make an API call. API calls will be handled differently than simple flashvars.

 
Flag Post

Disregard Arcane’s post.

MrCredsalex is a time traveler from the year 2030. He has come back to warn us of the great end times through his flash games. Heed his warnings, the end is nigh.

 
Flag Post

Thats was supposed to be top secret, you just blew my cover story. Now there will be widespread panic.

 
Flag Post

MrcredsAlex is the ANTI-CHRIST!!!! Don’t let anyone deceive you in any way, for that day will not come until the rebellion occurs and the man of lawlessness is revealed , the man doomed to destruction. He will oppose and will exalt himself over everything that is called Kongregate or is worshiped, so that he sets himself up in Kongregate’s temple, proclaiming himself to be Kongregate.

 
Flag Post

how did alex know this before me! what are all the crazy variables you keep putting in my flash!!! half of my variables start off with “kongregate_” so you could really be screwing up my games.

also does this work in flash 9

 
Flag Post

You can see all the variables pretty clearly if you use the ‘view source’ option on your browser and check out the code for the game pages. I’m pretty sure that’s all alex did to figure it out…

in fact, here is the param tag in question, the one that passes URL variables to your game:

<param name=\"movie\" value=\"/assets/flash/GameShell.swf?channel_id=1174285050.16011&kongregate=true&kongregate_username=IndieFlashArcade&kongregate_game_version=0&game_swf=/assets/games/jmtb02/colorkeys/colorkeys.swf\" />
 
Flag Post

thanks, from looking through it seems that really the only one. other then kongregate = true

i still dont know how he figured this out before me. is this posted somewhere?

 
Flag Post

half of my variables start off with “kongregate_” so you could really be screwing up my games.


Why would half of your variables start with that? I would advise against that. I would also advise against coding on the root.


also does this work in flash 9


Flashvars work in Flash 9, but the Kongregate API shell is currently Flash 8 so it may not work if you enable the API with a Flash 9 game. Last I checked, that is yet to be tested or supported.

 
Flag Post

i was joking about the variables.

but i do code everything on _root. absolutely nothing is in a movieclip or on any other timeline then that of the main timeline. i cant stand working any other way and i hear its a good idea.

and as for the apis on flash 8, right now thats perfect since my next game is flash 8.

 
Flag Post

i was joking about the variables.


LOL thank goodness :D


bq. but i do code everything on _root. absolutely nothing is in a movieclip or on any other timeline then that of the main timeline. i cant stand working any other way and i hear its a good idea.


Its a good idea compared to coding in MovieClips but not a good idea in general. Its recommended against by experienced coders if you can expand your skill. Its great that you’ve got to the point of consolidating scattered code, as its the step needed to move on to better organized & versatile object oriented code. The best way is to code using OOP and make use of Flash’s class capabilities.


bq. and as for the apis on flash 8, right now thats perfect since my next game is flash 8.


Awesome!

 
Flag Post

im confused if its better then coding in movieclip but still a bad idea, what do you recommend. i mean a lot of my code is actually in class files and all my functions are in a seperate .as file. but theres still the _root thing that ties it all together.

 
Flag Post

Your code should be in class files, as you are doing. Usually you will have a main class for you application (Flash 9 has introduced the document class just for this reason), and you pass a reference to the stage through that class, whether it be _root or anything else. Dont get me wrong, you can still make use of root, you just dont want to rely on it as a crutch or drop all your data and functions there. Often times you want to use relative paths (this) instead of absolute paths (_root/level0) as well, even though they may sometimes refer to the same timeline.

If you are coding in separate classes and using OOP then you are likely doing pretty close to what you should be.

Heres an article that may help http://www.adobe.com/devnet/flash/articles/as_bestpractices.html

 
Flag Post

If you want a bit of background on alex is he started out on Anarchy Online his character was level 40ish (max level is 220 well 310 levels if you count some other stuff) you can get level 40 in a hour or so. He bascially made a guild called sixximux, he started posting on AO forums and became the laughing stock of the game for a little bit… Anyway heres a example of one of his posts which no one really understood what he was on about

http://forums.anarchy-online.com/showthread.php?t=438006

 
Flag Post

apparently alex is 9 yrs old and insane. He has a bright future ahead of him…

 
Flag Post

:P Yeah.. I saw that post about him being 9, but I highly doubt he is. I’ve chatted with him and it seems pretty obvious to me he’s trying to get as many "wtf"s and "lol"s as he can. And I dunno if I’m supposed to say… but he told me something about an upcoming game.. an RPG about Ixtipi saving the world from rockettacks!

 
Flag Post

I think he’d get a lot more "wtf"s if he claimed to be 28 :)

I doubt he’s 9, but lets hope not because that would mean he’s not allowed here (and I’d have to remove my autographed poster of him off of my wall!)

 
Flag Post

Itxtipi + Rocket Attack = Instant Success!

Edit: Mario on his personal profile on the forums it says he is 10, was 9 when that thread was made

 
Flag Post

alex hacked our gibson!

 
Flag Post

MrcredsAlex: http://youtube.com/watch?v=P0B6IuKZXQM


Not MrcredsAlex:
http://www.youtube.com/watch?v=eFV9-RuVYRU

 
Flag Post

Haha Mario,

Was looking at that good drawing and found this one,

http://www.youtube.com/watch?v=saUz2eZ62Y4

How the hell :o

 
Flag Post

I was the first one to discover the kongregate_username variable :)


I dont know about that…but you may have been the first one to use it.