technohippy / Pongo

The Red Ape: Ruby version of APE (Actionscript Physics Engine)

This URL has Read+Write access

Pongo /
name age message
file .gitignore Sat Jul 25 06:51:18 -0700 2009 modify renderer [technohippy]
file History.txt Fri Jul 31 08:38:22 -0700 2009 add cardemo and fix somed bugs [technohippy]
file Manifest.txt Fri Jul 31 09:43:35 -0700 2009 change package name: common -> util [technohippy]
file Pongo.gemspec Thu Aug 06 10:40:17 -0700 2009 modify gemspec [technohippy]
file README.txt Thu Aug 06 19:21:12 -0700 2009 add car image [technohippy]
file Rakefile Thu Jul 23 18:18:01 -0700 2009 barely work [technohippy]
directory bin/ Thu Jul 23 18:18:01 -0700 2009 barely work [technohippy]
directory lib/ Thu Aug 06 19:21:12 -0700 2009 add car image [technohippy]
directory sample/ Fri Aug 07 19:36:16 -0700 2009 arrange [technohippy]
directory test/ Thu Jul 23 18:18:01 -0700 2009 barely work [technohippy]
README.txt
= Pongo

* http://github.com/technohippy/Pongo/

== DESCRIPTION:

Ruby port of APE (Actionscript Physics Engine)

== FEATURES/PROBLEMS:

* CircleParticles
* RectangleParticles
* WheelParticles
* SpringConstraints
* Grouping
* Collision
* Ruby/Tk Renderer
* Shoes2 Renderer ( http://shoooes.net/ )

see also: http://www.cove.org/ape/index.htm

== EXECUTE SAMPLES:

* ruby sample/tk/robotdemo.rb
* shoes sample/shoes/robotdemo.rb
* shoes sample/shoes/cardemo.rb

== SYNOPSIS:

  require 'pongo'
  require 'pongo/container/shoes_container'

  include Pongo

  Shoes.app :width => 500, :height => 350 do
    APEngine.setup :gravity => 2, :container => Container::ShoesContainer.new(self)

    APEngine.create_group do |g|
      g.circle(245, 100, 10)
      g.rectangle(250, 250, 300, 50, :fixed => true)
    end

    animate(60) do |anim|
      APEngine.next_frame
    end
  end

== REQUIREMENTS:

* Shoes2 ( http://shoooes.net/ )

== INSTALL:

* sudo gem install technohippy-Pongo

== IMAGES:

* http://www.flickr.com/photos/24557420@N05/3366850475/
* http://www.aa.alles.or.jp/~palette/icon/icon.html

== LICENSE:

(The MIT License)

Copyright (c) 2009 Ando Yasushi

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 OR COPYRIGHT HOLDERS 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.