Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: wacky Display

  
  1. #1
    Metal_kid is offline -Hacks Newbie
    Join Date
    Jan 2006
    Location
    Glasgow, Scotland
    Posts
    49
    Rep Power
    14

    Default

    Right i worte this script and when i run it on windows luaplayer and the psp one i get a picture like waht you get on television when the video camera is aimed at a monitor could someone take a look and tell me whats wrong heres the script:

    Code:
    font = Font.load("TempsITC.TTF")
    black = Color.new(255,255,255)
    screen:clear()
    font:setPixelSizes(0,14)
    
    white = Color.new(255,255,255)
    
    
    ImgBG = Image.load("BG.png")
    
    screen:clear()
    screen:blit(0,0,ImgBG)
    screen.flip()
    
    while true do
    screen:print(120,135,"Hello World!", white)
    screen.flip()
    end
    
    while true do
      pad = Controls.read()
      if pad:start() then break end
    
    end
    Thanks!!!


  2. #2
    soulkiller is offline -Hacks Smarty
    Join Date
    Jan 2006
    Location
    pffff I\'m not telling you
    Posts
    197
    Rep Power
    14

    Default

    well for one i wouldn't have two seprate loops secondly in the new main loop put a screen:clear() at the begging and a screen.waitVblankStart() at the end of the loop oh and your going to have to put the image draw in the loop
    GOOGLE IS YOUR FREIND, USE IT. IF GOOGLE FAILS THEN REFER TO THIS LINK MQ:BtG Programmer

  3. #3
    Metal_kid is offline -Hacks Newbie
    Join Date
    Jan 2006
    Location
    Glasgow, Scotland
    Posts
    49
    Rep Power
    14

    Default

    Thanks i'll try that out later!

  4. #4
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

  5. #5
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

  6. #6
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

  7. #7
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

  8. #8
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

  9. #9
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

  10. #10
    littlejag is offline -Hacks Smarty
    Join Date
    Dec 2005
    Posts
    142
    Rep Power
    15

    Default

    ......

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •