Results 1 to 10 of 32
Thread: need help with my code
-
05-03-2006, 08:25 PM #1
-Hacks Neophyte
- Join Date
- Apr 2006
- Location
- At my computer
- Posts
- 56
- Rep Power
- 14
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
-
05-03-2006, 09:34 PM #2
Senior Member -Hacks Enthusiast
- Join Date
- Mar 2005
- Posts
- 578
- Rep Power
- 15
Maybe it's just me, but where do you screen:blit() 'background' ?
Oldest psp-hacks member ever.
-
05-03-2006, 10:09 PM #3
-Hacks Neophyte
- Join Date
- Apr 2006
- Location
- At my computer
- Posts
- 56
- Rep Power
- 14
can u rite that part cuz dont understand wat u mean
Sig made by me
-
05-04-2006, 06:15 PM #4
Senior Member -Hacks Enthusiast
- Join Date
- Mar 2005
- Posts
- 578
- Rep Power
- 15
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()
endOldest psp-hacks member ever.
-
05-06-2006, 07:22 PM #5
LordCthulu I havent seen you in a long time.
-
05-07-2006, 03:31 PM #6
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.
Originally Posted by Yoko
-
05-08-2006, 05:49 AM #7
-Hacks Neophyte
- Join Date
- Jan 2006
- Posts
- 81
- Rep Power
- 14
no hes not.
try this forum for real answers
http://forums.ps2dev.org/viewforum.php?f=21
-
05-08-2006, 11:12 AM #8
-Hacks Enthusiast
- Join Date
- Nov 2005
- Location
- WTF~~~~~~~~~~> Rank: %NULL
- Posts
- 389
- Rep Power
- 15
^ far better then you'll ever be scriptkiddy :puke:
Originally Posted by CesarAndreu
july 19
-
05-08-2006, 03:39 PM #9
Originally Posted by romero126
-
05-08-2006, 06:30 PM #10
-Hacks Neophyte
- Join Date
- Jan 2006
- Posts
- 81
- Rep Power
- 14
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.
Hi! I am currently encountering the same problem. PSP is fine without the mem stick. when inserted, shuts off. checked on the plugins on the recovery, there are no plugins.
PSP won't start with memory stick...