I can’t see to move the sprite with out making looks of copies of it in the directions that I move it
If any one can make this not happen please put a comment
I can’t see to move the sprite with out making looks of copies of it in the directions that I move it
If any one can make this not happen please put a comment
@pac - please post an example of your code so we can see how you are approaching this.
@pac Sounds like you don’t have background(0) right after the function draw() line.
function setup()
x,y=50,50
xv,yv=3,5
end
function draw()
background(0)
sprite("Planet Cute:Character Horn Girl",x,y)
x=x+xv
y=y+yv
if x>WIDTH or x<0 then
xv=xv*-1
end
if y>HEIGHT or y<0 then
yv=yv*-1
end
end
Thank you Dave it worked you are wonderful I will come back if I have more questions… thank you
@pac If you have questions, that’s what everyone is here for. The experienced programmers help the one that are new to programming. One suggestion, look thru the forum for examples. By running them and looking at the code will help you to learn.
Do you now how to scale the screen?
If you ask a question in one discussion, don’t start another discussion for the same question. This forum isn’t monitored constantly, so when you ask a question give some time for someone to see it and answer it.
Okay