Search found 8 matches
- Sat Mar 18, 2006 2:38 pm
- Forum: PSP Lua Player Development
- Topic: Fade Image (screen) to black
- Replies: 2
- Views: 2163
- Sat Mar 18, 2006 1:22 pm
- Forum: PSP Lua Player Development
- Topic: Fade Image (screen) to black
- Replies: 2
- Views: 2163
Fade Image (screen) to black
I have created an image like this: imgAlpha = Image.createEmpty(480,272) clrAlpha = Color.new(0,0,0,150) imgAlpha:fillRect(0,0,479,271,clrAlpha) So now I have a black rectangle the size of the screen with an alpha value of 150. I have another image: imgToFade = Image.createEmpty(480,272) imgToFade:c...
- Fri Feb 03, 2006 11:47 am
- Forum: PSP Lua Player Development
- Topic: Lua Player 0.17dk1
- Replies: 8
- Views: 5719
- Fri Feb 03, 2006 11:45 am
- Forum: PSP Lua Player Development
- Topic: [Final Release] Zorblocks v1.0
- Replies: 7
- Views: 7282
- Tue Jan 17, 2006 11:32 am
- Forum: PSP Lua Player Development
- Topic: Need Help With Printing Large Numbers
- Replies: 2
- Views: 1600
Nevermind, I came up with a hack to get the job done, it anyone is interested here is the code I am using: if intTotalScore >= 100000 then iScore = tostring(math.floor(intTotalScore/100000)) .. tostring(intTotalScore - (math.floor(intTotalScore/100000))*100000) fScore:print(300,250,iScore) else fSco...
- Tue Jan 17, 2006 10:18 am
- Forum: PSP Lua Player Development
- Topic: Need Help With Printing Large Numbers
- Replies: 2
- Views: 1600
Need Help With Printing Large Numbers
Here is what happens:
x = 123456
print(x)
------------
1.2346+e05
Here is what I want:
x = 123456
print(x)
-------------
123456
Can anyone help me achieve this?
x = 123456
print(x)
------------
1.2346+e05
Here is what I want:
x = 123456
print(x)
-------------
123456
Can anyone help me achieve this?
- Thu Dec 08, 2005 1:37 pm
- Forum: PSP Lua Player Development
- Topic: sound stopping
- Replies: 13
- Views: 5697
- Mon Sep 19, 2005 2:42 am
- Forum: PSP Lua Player Development
- Topic: Background Music for your Lua Games -
- Replies: 4
- Views: 2901
Example code doesn't work
track1 = Sound.load("audio1.wav",true) track1:play() This doesn't work, my game just freezes, and then the psp turns off. I took out the true parameter, and that fixes it. But the music doesn't loop anymore. I tried: Music.playFile("audio1.wav",true) But that freezes and turns of...