Skip to content

Commit

Permalink
small README-fix by apillet. Bugfix in gfx draw_circle.
Browse files Browse the repository at this point in the history
  • Loading branch information
ippa committed Nov 26, 2009
1 parent 0a8e0f5 commit b34e818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Expand Up @@ -602,7 +602,7 @@ Chingu solves this problem behind the scenes for the most common assets. The 2 l
Image["player.png"]

You also have:
Sound["shot.png"]
Sound["shot.wav"]
Song["intromusic.ogg"]

The default settings are like this:
Expand Down Expand Up @@ -696,7 +696,7 @@ As far as possible, use correct rubyfied english game_objects, not gameobjects.

== CREDITS:
* Jacius of Rubygame (For doing cool stuff that's well documented as re-usable). So far rect.rb and named_resource.rb is straight outta Rubygame.
* Banister (of texplay fame) for general feedeback, ruby-internals help and building the trait-system
* Banister (of texplay fame) for general feedeback and help with ruby-internals and building the trait-system
* Jduff for input / commits
* Jlnr,Philymore,Shawn24,JamesKilton for constructive feedback/discussions
* Ariel Pillet for codesuggestions and cleanups
Expand Down
2 changes: 1 addition & 1 deletion lib/chingu/helpers/gfx.rb
Expand Up @@ -115,7 +115,7 @@ def draw_rect(rect, color, zorder)
def draw_circle(cx,cy,r,color)
0.step(360, CIRCLE_STEP) do |a1|
a2 = a1 + CIRCLE_STEP
$window.draw_line cx + offset_x(a1, r), cy + offset_y(a1, r), color, cx + offset_x(a2, r), cy + offset_y(a2, r), color, 9999
$window.draw_line cx + Gosu.offset_x(a1, r), cy + Gosu.offset_y(a1, r), color, cx + Gosu.offset_x(a2, r), cy + Gosu.offset_y(a2, r), color, 9999
end
end

Expand Down

0 comments on commit b34e818

Please sign in to comment.