Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
I’ve decided to keep this, it’s a nice marker of when exactly this blog transitioned to a different platform.
this title probably isn't very original
today was just a few fixes, a pseudo-key-guide thing ported from the current stable one, and some minor updates. I included the Ext.ux.ColorPicker, and I guess i’ll work on porting OnlyPaths to Ext soon (it currently uses Prototype). I’m probably not going to include Prototype because OnlyPaths is a *much* (~11x) larger project than RichDraw, and therefore, it is mainly out of trying to improve size. (the project is currently ~20kb, but with onlypaths, will become ~100kb, plus ExtJS, will be ~1mb)
I might set up a blag and a separate site for the Ajax Animator (based off my alpha site from last release). I’m thinking of using WordPress/PHPBB but idk
Posted in Ajax Animator, OnlyPaths.
– May 6, 2008
Note: This is likely the first AND last release Ever. I’m gonna go on working on Ax v0.2 after this is finished (tomorrow)
I think its finally *ready* for showing people (still proprietary though :P). It is coded using Ajax/Long-Polling Comet, which as far as I’m concerned, is the first of it’s kind. It uses ExtJS for its user interface. it’s page load is ~2mb in size, and there is a huge amount of static data handled. Its following how most my apps are made: using the most client side code possible. I donno why, but it just is.
Since it uses Comet technology (specifically, long-polling), the requests made are minimized, and supposedly much more scalable. Requests are *only* made when necessary, and due to Comet technology, it only updates when there is something to update.
Since most of the processing is done on the client side, the server only has to handle the static content.
An interesting, albeit geeky feature, is a sort of command-line functionality. I attempted to build the entire system (somewhat like a Unix system) where most if not everything graphical is backed by a set of commands. Well, the real-time chatbox (which again, uses comet to reduce load on servers) detects if the input starts with the > character. if it does, then it parses it as a set of commands. Its relatively smart, so if you type in a global variable name, i’ll give you a JSON dump of the contents, and if its a function, i’ll call it, and if it is an expression then it’ll eval it.
There is no such plotline yet. Just random stuff that pops in my head (read: iWorld) and etc. there is also no title yet. (named: “Untitled”). Part of the game itself, is to build the game, using its built-in pixel-sprite-graphics editor.
Currently, it is restricted to modern browsers only. Firefox being my development platform (duh. what kind of js developer doesn’t use firefox/firebug? but i heard the IE8 dev toolbar is good cause its a clone of firebug..) will obviously work best. IE may or may not work. though platform agnosticism was one of the design goals. Opera/Safari is likely, but i’m not certain. most mobile browsers will fail (i tried apple iphone safari support, but it is weird around ExtJS)
It has some features, such as a relatively nice UI (well… nice compared to the *others*). Session saving, worlds, sprite/npc authoring, Character IDE, npc battles, pvp, store, panning, prelimary quests, items, friends, magic/abilities, a CLI, some crappy code, moderation, adminstration, etc.
Oh, and the password is “password” in case you wanna make new sprites. The URL is http://cometrpg.110mb.com/
– May 3, 2008
Really, nothing much. There are some corrections to the About page, and some more icons. There is also a non-working Bug-Reporting tool.
I will try adding OnlyPaths soon, but it still needs much work. (and it’s Build 40 now!!!)
Posted in Ajax Animator, OnlyPaths.
– May 1, 2008
Bugfix: http://extjs.com/forum/showthread.php?p=146135#post146135
Posted in Ajax Animator.
– April 28, 2008
..in the alpha.
there is now an about dialog. it gives info on the releases/etc. The versinging system now includes the date of the release (and time). the bug when collapsing panels is fixed. there is a new splash screen. it uses css sprites, and the debug console tool works. another theme was added, and there is now a partially complete properties panel
Posted in Ajax Animator.
– April 28, 2008
I’ve created an awesome little updater tool. Bascially there is a script named “update.php” on the server that is called by a script on my computer which pushes individual compiled files onto the production server (JS/HTML for now, CSS later). Updating is literally 2 clicks. Compile, Auto-Deploy. (or semi-manually, its 3 button clicks)
I even have my own version control system. (simpler than subversion, and more reliable for me- as if you read the svn comments, half of them are me getting angry about svn). It archives all builds. (every time i press the “compile” button) and stores it into a version.js file (which by the way goes into the compile process). Verison.js can have various tags like dev: true, which is detected and gives a small “Testing Release” nag (not really) window.
Posted in Ajax Animator.
– April 27, 2008
It current save format is subtly known as AXML (though the file extension is still .xml) for Animation XML. This was fine from the beginning (still SVG), then it got some JSON Metadata… but the data was still AXML so that was fine. but the new version has absolutely no XML- all JSON. So what can it be called in this one? I donno.
Read More To See a sample of the draft
But i’ve drafted a spec for the new format. Read more for a sample. It is loosely based JSONRDF (JSON Rich Draw abstract Format), the AXML v2 Metadata, and some other misc stuff. It is much much more extensible and I think it is easier to read (no weird string escaping). It is very verbose, and I dont think compression will really be a goal for this version.
There may be some changes to the draft. One i can think of (but am too lazy to include in the draft) is to rather than use an array to store frame, use an object associated with the frame id.
so rather than
[{
index: 1,
changes: {...}
}]
you have:
{
frame1: {
//some frame metadata
changes: {…}
}
}
its considerably easier to read (latter) and likely easier to parse
If you have suggestions for the name of the format, please feel free to comment
Posted in Ajax Animator.
– April 27, 2008
http://antimatter15.110mb.com/animator/Animator2/build/ajaxanimator.htm
THIS IS FOR ALPHA TESTING ONLY!!!
[EDIT]
Changed.
Posted in Ajax Animator.
– April 25, 2008