How can i put two objects with its own coordinates
(define padle1 (rectangle 10 30 "solid" "red"))
(define padle2 (rectangle 10 30 "solid" "red"))
(define (place-dot-at ... ) ...)
into bin-bang function
(big-bang ...
[to-draw place-dot-at])
Can i use list of padles
(define new-list (list padle1 padle2))
I recommend making a
draw-paddle
function that draws a single paddle on top of an imagei
.Then make a function that draws all paddles in a list on top of an image
i
.Then finally you can made:
If you don't have a background you can make one with
empty-image
orrectangle
.