View Single Post
  #3 (permalink)  
Old 08-12-2006, 05:01 AM
PopcOrn DeVil's Avatar
PopcOrn DeVil PopcOrn DeVil is offline
Highly Respected Member
My Mood:
 
Join Date: Jan 2006
Location: Western Australia
Age: 15
Posts: 911
Points: 1.24
Donate
Send a message via AIM to PopcOrn DeVil Send a message via ShopTapNham to PopcOrn DeVil
I found a few problems:

1. Make sure your PSP is a version 1.5 before using a script with USB mode in it.
2. Some of the Color.new's were color.new.
3. I think you can't put spaces in variable names, like what you did with light blue.
4. I don't think the [alpha = true] thing is do-able.

Also:

Make sure you have all your files in one folder and make sure you include the looping stuff (while true do, vblank start etc).

Quote:
Originally Posted by Fixed script
--USB Mode
System.usbDiskModeActivate()

--Color data
black = Color.new(0,0,0)
white = Color.new(255,255,255)
red = Color.new(0,255,0)
green = Color.new(255,0,0)
blue = Color.new(0,0,255)
yellow = Color.new(255,255,0)
pink = Color.new(0,255,255)
lightblue = Color.new(255,0,255)

--Image data
cloud1 = Image.load("cloud1.png")
cloud2 = Image.load("cloud2.png")
cloud3 = Image.load("cloud3.png")
cloud4 = Image.load("cloud4.png")
cloud5 = Image.load("cloud5.png")
cloud6 = Image.load("cloud6.png")
cloud7 = Image.load("cloud7.png")
cloud8 = Image.load("cloud8.png")
cloud9 = Image.load("cloud9.png")
cloud10 = Image.load("cloud10.png")
cloud11 = Image.load("cloud11.png")
cloud12 = Image.load("cloud12.png")
cloud13 = Image.load("cloud13.png")
cloud14 = Image.load("cloud14.png")
cloud15 = Image.load("cloud15.png")
cloud16 = Image.load("cloud16.png")
cloud17 = Image.load("cloud17.png")
cloud18 = Image.load("cloud18.png")
cloud19 = Image.load("cloud19.png")
cloud20 = Image.load("cloud20.png")
cloud21 = Image.load("cloud21.png")
cloud22 = Image.load("cloud22.png")
cloud23 = Image.load("cloud23.png")
cloud24 = Image.load("cloud24.png")
cloud25 = Image.load("cloud25.png")
cloud26 = Image.load("cloud26.png")
cloud27 = Image.load("cloud27.png")
bg1 = Image.load("bg1.png")

while true do
screen:clear()

--loading screen
--not yet done

--main menu
--not yet done

--Screen data
screenwidth = 480 - player:width()
screenheight = 272 - player:width()

--Starting images
screen:blit(0,0,bg1)
screen:blit(200,130,cloud1)

--Sound data
Music.playFile(beginning.wav,true)
Music.playFile(main menu.wav,true)

screen.waitVblankStart()
screen.flip()
end
--credits
--So far only me and my friend across the street.
--To join my team contact me at goldensupersonic@yahoo.com.
--You can also vist my site psp-brew.co.nr.
Hopefully, this script should work.
Reply With Quote