
-----------------------------------
uberwalla
Wed Dec 20, 2006 10:22 pm

Clock Type Program
-----------------------------------
Hey, im randomly trying to make a clock and i have it so it moves the arrow things, but i was wondering if theres a way so they stay the same size always (they tend to grow longer/shorter throughout).

this is what i got:


var x : int := maxx div 2
var y : int := maxy div 2
var x2 : int := maxx div 2
var y2 : int := maxy div 2 + 60
var mx2 : int := maxx div 2
var my2 : int := maxy div 2 + 60
var count : int := 0
var minute : int
loop
    Draw.Line (x, y, x2, y2, 7)
    Draw.ThickLine (x, y, mx2, my2, 2, 7)
    if x2 >= maxx div 2 and x2 = maxx div 2 and mx2 