Zitat:
Zitat von JaSo PsP
Code:smiley = Image.load("smiley.png")
x = 0
y = 0
while true do
screen:clear()
screen:blit(x, y, smiley)
if pad:right() then
x = x + 1
end
if pad:left() then
x = x - 1
end
if pad:down() then
y = y + 1
end
if pad:right() then
y = y - 1
end
screen.waitVblankStart()
screen:flip()
end
