Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @letters.each_with_index do |l,n|
- x = 400 + Math::sin((angle).to_rad)*300
- y = 300 + Math::cos((angle).to_rad)*50
- z = -49+Math::cos(angle.to_rad)*50
- s = 1
- s = 3 if n == @selected
- $window.font.draw(l, x - $window.font.text_width(l,s)/2 ,y, z , s,s)
- angle += 14
- end
Add Comment
Please, Sign In to add comment