Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32

Thread: need help with my code

  
  1. #1
    darkhunter is offline -Hacks Neophyte
    Join Date
    Apr 2006
    Location
    At my computer
    Posts
    56
    Rep Power
    14

    Default

    whats wrong here i want to load the image but when i try it it goes to "GO" at the end then stops.

    Code:
    red = Color.new(255,0,0)
    blue = Color.new(0,0,255)
    green = Color.new(0,255,0)
    screen:print(194,136, "Loading 0%", red)
    screen.flip()
    screen.waitVblankStart(20    )
    screen:clear()
    screen:print(194,136, "Loading 25%", red)
    screen.flip()
    screen.waitVblankStart(20    )
    screen:clear()
    screen:print(194,136, "Loading 50%", red)
    screen.flip()
    screen.waitVblankStart(20    )
    screen:clear()
    screen:print(194,136, "Loading 75%", red)
    screen.flip()
    screen.waitVblankStart(20    )
    screen:clear()
    screen:print(194,136, "Loading 100%", red)
    screen.flip()
    screen.waitVblankStart(20    )
    screen:clear()
    screen:print(194,136, "GO!", green)
    screen.flip()
    screen.waitVblankStart(40    )
    background = Image.load("grass.PNG")
    
    while true do
    screen.waitVblankStart()
    end


    Sig made by me

  2. #2
    LordCthulu is offline Senior Member -Hacks Enthusiast
    Join Date
    Mar 2005
    Posts
    578
    Rep Power
    15

    Default

    Maybe it's just me, but where do you screen:blit() 'background' ?
    Oldest psp-hacks member ever.

  3. #3
    darkhunter is offline -Hacks Neophyte
    Join Date
    Apr 2006
    Location
    At my computer
    Posts
    56
    Rep Power
    14

    Default

    can u rite that part cuz dont understand wat u mean

    Sig made by me

  4. #4
    LordCthulu is offline Senior Member -Hacks Enthusiast
    Join Date
    Mar 2005
    Posts
    578
    Rep Power
    15

    Default

    red = Color.new(255,0,0)
    blue = Color.new(0,0,255)
    green = Color.new(0,255,0)
    screen:print(194,136, "Loading 0%", red)
    screen.flip()
    screen.waitVblankStart(20 )
    screen:clear()
    screen:print(194,136, "Loading 25%", red)
    screen.flip()
    screen.waitVblankStart(20 )
    screen:clear()
    screen:print(194,136, "Loading 50%", red)
    screen.flip()
    screen.waitVblankStart(20 )
    screen:clear()
    screen:print(194,136, "Loading 75%", red)
    screen.flip()
    screen.waitVblankStart(20 )
    screen:clear()
    screen:print(194,136, "Loading 100%", red)
    screen.flip()
    screen.waitVblankStart(20 )
    screen:clear()
    screen:print(194,136, "GO!", green)
    screen.flip()
    screen.waitVblankStart(40 )
    background = Image.load("grass.PNG")
    screen:blit( x, y, background )
    -- Put the x coord and y coord of where
    -- you want it to be on the screen.
    -- Don't leave 'x' and 'y' there unless
    -- you define them before you call blit



    while true do
    screen.waitVblankStart()
    end
    Oldest psp-hacks member ever.

  5. #5
    Joe88's Avatar
    Joe88 is offline -Hacks Titan
    Join Date
    Jun 2005
    Location
    NYC
    Posts
    12,704
    Rep Power
    29

    Default

    LordCthulu I havent seen you in a long time.

  6. #6
    TheAceOfHearts's Avatar
    TheAceOfHearts is offline Senior Member -Hacks Guru
    Join Date
    Dec 2005
    Location
    Earth
    Posts
    2,079
    Rep Power
    17

    Default

    You should ask illfoundedmind to help you.. He is a 1337 coder...
    killaj said: there is one answer to one simple question as to whether a girl is attractive or not. One all-inclusive, unbelievably powerful question that you must ask yourself to determine if you think a girl is hot or not. Do you know what that question is? "Would I hit it?"
    If your answer is "yes", then that's all you need to know. Hit that shit. If your answer is "no", then leave it be.
    Quote Originally Posted by Yoko
    Michael said (5:41 PM):
    it doesn't really it just helps soften the impact of my tremendous cock once i grab them from behind
    NewInfo2Day.Com

  7. #7
    romero126 is offline -Hacks Neophyte
    Join Date
    Jan 2006
    Posts
    81
    Rep Power
    14

    Default

    no hes not.
    try this forum for real answers
    http://forums.ps2dev.org/viewforum.php?f=21

  8. #8
    illfoundedmind is offline -Hacks Enthusiast
    Join Date
    Nov 2005
    Location
    WTF~~~~~~~~~~> Rank: %NULL
    Posts
    389
    Rep Power
    15

    Default

    ^ far better then you'll ever be scriptkiddy :puke:

    Quote Originally Posted by CesarAndreu
    You should ask illfoundedmind to help you.. He is a 1337 coder...
    LordCthulu already answer, you need to blit an image inorder for it to display on the screen; not just load it. Also I only respond to post in the lua help thread :bucktooth: .
    july 19

  9. #9
    Joe88's Avatar
    Joe88 is offline -Hacks Titan
    Join Date
    Jun 2005
    Location
    NYC
    Posts
    12,704
    Rep Power
    29

    Default

    Quote Originally Posted by romero126
    no hes not.
    try this forum for real answers
    http://forums.ps2dev.org/viewforum.php?f=21
    lol, what a spammer

  10. #10
    romero126 is offline -Hacks Neophyte
    Join Date
    Jan 2006
    Posts
    81
    Rep Power
    14

    Default

    actually Im a professional coder, and i often frequent LUAPlayer's official forum for actual answers for code, as well as post actual code for programmers to use. If you wish to learn I would suggest that forum (posted above) because here theres no learning.

Page 1 of 4 1 2 3 ... 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
  •