All pastes #209079 Raw Edit

Someone

public text v1 · immutable
#209079 ·published 2006-10-19 00:29 UTC
rendered paste body
background = Image.createEmpty(480, 272)
--Colors
mytext = Color.new (255,0,0)

oldPad = Controls.read()

         screen:clear()
screen:print(200,100, "I am testing", mytext)
 screen.flip()


while true do
   screen.flip()

green = Color.new(0,255,0)
	pad = Controls.read()
	if pad ~= oldPad then
            end

        if pad:up() then
            screen:clear()
      screen:print(100, 250, "up ok", mytext)

      end
           if pad:down() then
               screen:clear()
      screen:print(120, 250, "down yes", mytext)

      end




        if pad:start() then
	break
end



--while not Controls.read():start() do

screen.waitVblankStart()
end