Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

Team,
I am having so much fun with shoes!!!!!!!!!!!!!!!!
But, I have a problem. I finally made my car image moves from left to
right. But it reaches the end of the screen on the right and it
disappears.
Can anyone help me keep my car return back to the starting pint, which
is
the left bottom of the screen? I want for that to happen continuously.
The
following is the actual code I'm using:
@carim = image "/home/rstudent/MyData/Programs/shoes/car1.png"
every 6 do
animate do |i|
@carim.left += (-20..50).rand
end
end
Any help will be appreciated.

Hi Martin,
I defined my screen as "fullscreen" and I don't know how to tell the
actual
size in order to control the car movements. I have the following:
*Shoes.app fullscreen: true, :title => "VRMQMon", :resizable => true do
*
1. How does one determine the size of the screen while in full
screen?
2. How can I tell when the car reached the edges?
Thank you