- Requirements: Python 2.6+, Git
- Clone the git repo (you have probably already done that): git clone git://github.com/digitalfruit/limejs.git
- bin/lime.py --help
- bin/lime.py init
- bin/lime.py create helloworld
- open ./helloworld/helloworld.html in the browser
- study/tweak the source
- programming guide is at lime/guide/ or http://www.limejs.com/
- demos are available at lime/demos/
- unit tests are at lime/tests/
- documentation is at http://limejs.digitalfruit.ee/docs/
If you consider yourself advanced user and know how to use Git/Python you are probably better off reading through Mac/Linux guide and choosing your best alternative tools/methods yourself. If not then follow this step-by-step route.
- Download and install Git bash from http://git-scm.com/download/win (if not already installed). While installing select "Use Git Bash only" and Unix style line endings.
- Clone lime git repo or download zip package from https://github.com/digitalfruit/limejs/archive/master.zip
- Extract the contents to suitable place on your hard drive. Next examples will use c:\ as the base path.
- If you don't have python download and install it from http://www.python.org/download/. Python3 should work fine but 2.7.x is recommended.
- Launch Git Bash
Check if you have python installed on your global path by running: python --version
If this returned error you have to add it to your global path or use full path to binaries in next steps.
To add python to your global path run:
echo "export PATH=$PATH:/c/Python27/" >> ~/.bashrc
This is the longer version if you use Command Prompt instead of Git bash:
- Open Control Panel -> System and Security -> System -> Advanced system settings
- Under Advanced tab select Environment Variables...
- Under system variables find variable named Path.
- Select it and click Edit.
- Append semicolon and path to the folder you installed python to the value. For example ";C:\Python27\"
- Press OK and OK
- Restart Command Prompt
- Try if it works now
Move to lime base folder cd c:\lime
python bin/lime.py --help
- In similar pattern continue from Mac/Linux tutorial from step 3
- Current: Chrome, Safari 5, Firefox 3.6+, Opera, IE9, Mobile Safari
- Soon: Android, Blackberry Playbook
- Maybe: WebOS
Closure Library: https://developers.google.com/closure/library/
Closure Compiler: https://developers.google.com/closure/compiler/
Closure Templates: https://developers.google.com/closure/templates/
Canvas 2D API spec: http://dev.w3.org/html5/2dcontext/
Closure video from Google I/O 2010: http://www.youtube.com/watch?v=yp_9q3tgDnQ
- lime.py build problems when directories contain spaces
- ...add your issues to the github page
- Firefox 4 animation flickery https://bugzilla.mozilla.org/show_bug.cgi?id=637597
- IE10, Opera 11 don't use CSS gradients but fallback to Canvas.
- WebOS 1.4 Masking issue(appears on Roundball)
- Custom WebGL context
- Sprite fill
- Web-app installing tutorial
- Unit tests(partial)
- Some basic fallback for non supported browsers
- More shapes
- Box2D basic integration
- Different shape masks
- More transitions
- Better audio support
- Local cache support
- Other mobile platforms support(Android,WebOS,Playbook)
- Data support(endtable?)
- Radial Gradients
- Resources loading
- WebGL Renderer
- Dev console
- UI controls
- Video support
- Markup with templates
- Integration with MoRe