This is Green Shoes written in Ruby. One of the colorful Shoes. ;-)
Fantastic logo icon was created by Zachary Scott. Thanks!
Now, there are 51 samples. Each has a snapshot.
-
sample01 : Bouncing logo
-
sample04 : Text in edit_line moving at random
-
sample07 : 20 buttons in flow
-
sample09 : Complicated stacks and flows
-
sample11 : A circle moving with mouse motion
-
sample12 : Random color change
-
sample13 : Mouse click and release
-
sample14-1 : Flowers
-
sample15 : Text reallocation
-
sample18 : Text markup and link
-
sample19 : Pong Game
-
sample20 : Potacho
-
sample26 : Mask
-
sample28 : Snake Game
-
sample32 : Chipmunk Physics
-
sample38 : Rotating rect, oval and star
-
sample39 : Hackety Hack opening demo
-
sample41 : 3D Texture Mapping
-
sample43 : Download and progress bar
-
sample44 : Good clock
-
simple boids : A very simple boids
-
parallax scrolling : Parallax scrolling
-
search sample : Search sample
recorded with CamStudio.
For Windows:
- download and install rubyinstaller-1.9.2-p136.exe
- gem install green_shoes --no-ri --no-rdoc
That's it!
Now open your text editor and write your first Green Shoes app like this:
#my_first_green_shoes_app.rb
require 'green_shoes'
Shoes.app{ title 'hello world' }
Then run your app on the console window:
ruby my_first_green_shoes_app.rb
You can see this snapshot:
NOTE: Use Ruby-GNOME2 0.90.7 or later.
If you are using Ruby-GNOME2 0.90.6, have to do the following.
- make this file: %{your path of gtk2 gem}\vendor\local\etc\gtk-2.0\gtkrc
- store just one line: gtk-theme-name = "MS-Windows"
Then you can look at good-looking button on Green Shoes. (left button of this snapshot)
Ruby-GNOME2 developer Kou (Kouhei Sutou) included gtkrc in the 0.90.7 distribution. Thanks, Kou. Awesome!
This is a first try with Green Shoes. ;-)
Hackety Hack: the little coder's starter kit
Copyright (c) 2010-2011 ashbb
Except:
- hh/static/(all).png (c) 2008 why the lucky stiff
- lib/ext/hpricot/(all) (c) 2008 why the lucky stiff
- lib/ext/projector/(all).rb (c) 2010 MIZUTANI Tociyuki
- samples/akatsukiface.png (c) 2010 MIZUTANI Tociyuki
- samples/class-book.yaml (c) 2008 why the lucky stiff
- samples/splash-hand.png (c) 2008 why the lucky stiff
- samples/loogink.png (c) 2008 Anita Kuno
- samples/cy.png (c) 2008 Anita Kuno
- static/Coolvetica.ttf (c) 1999 Ray Larabie
- static/Lacuna.ttf (c) 2003 Glashaus, designed by Peter Hoffman
- static/gshoes-icon.png (c) 2010 Zachary Scott
- static/gshoes-heading-icon.png (c) 2010 Zachary Scott
- static/code_highlighter.js (c) 2005 Dan Webb
- static/code_highlighter_ruby.js (c) 2008 why the lucky stiff
- static/manual.css (c) 2008 why the lucky stiff
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Let's have fun with Ruby and Shoes! :-D
ashbb