Zitat:
System.usbDiskModeActivat e()
cursor = Image.load("cursor.png")
x = 200
y = 140
screen.waitVblankStart()
while true do
pad = Controls.read()
if pad:analogX() < -30
then x = x - 1 end
if pad:analogx() > 30
then x = x + 1 end
if pad:analogy() < -30
then y = y - 1 end
if pad:analogy() > 30
then y = y + 1 end
if pad:start()
then break end
screen:blit(x, y, cursor)
screen.flip()
end
im not sure if its going the right way to making a cursor move on the screen, ive had experience with java and things but all i get is an error that reads: