How would I make a string containing "? Can this be done through the hex value? If yes, how?
Blegh, I ask too much.
Printable View
How would I make a string containing "? Can this be done through the hex value? If yes, how?
Blegh, I ask too much.
ok yea well done altair - how retarded of me, soz that was off the top of my head Sjaakrake
How do you compile a LUA app/game to an eboot.pbp so you dont have to run it with Luaplayer? I have Cygwin installed and the psptoolchain installed. What else do I need to do?
I am very confused about this "oldpad" thing. How do you make it so when you press X it starts and when you press it again it stops etc.?Zitat:
Zitat von califrag
Use this: \"Zitat:
Zitat von SjaakRake
This has to be in the quotations of the string itself. So say you want to put "hello" in a variable but with the quotations, you have to do this:
text="\"hello\""
[Dutch]Ja dat dacht ik al ja. "Sjaak" kom je niet zo vaak tegen in het buitenland :D.[/Dutch]
Everybody has its "off"-days (is that how you say it?) and thxZitat:
Zitat von Glynnder- PSPro
hi!
how do you repeat a sound so when it ends it start at the begining again? please help! thanks! :) btw, its a wav file if that helps.
and how big should the wav file be so the lua player duzent hangs?? thanks
I dont know if there's a limit to the length or size, but i know it needs to be mono sound.
Here's the command and its argument:
So if you want it to loop then you say:Code:Sound.load(filename, [bool loop])
This site is really usefull: http://wiki.ps2dev.org/psp:lua_player:functionsCode:Sound.load(filename, true)
need help again!
ive made a menu. everything works exept that the intro song repeats it self from the moment it starts! :( wtf is wrong? help! please! :) here:
finalizar=1
while finalizar>0 do
screen:blit (0,0,menu)
music:play()
Music.volume(128)
screen:print (420,10,"v 0.1",negro)
screen:print (421,261,"MADSOUL",Color. new(80,80,math.random (1 , 255)))
screen:print (420,260,"MADSOUL",Color. new(255,255,math.random (1 , 255)))
screen:print (120,5,"This is your",rojo)
screen:print (177,15,"last Score",rojo)
screen:print (270,10,puntos,Color.new (math.random (1 , 255),math.random (1 , 245),math.random (1 , 255)))
screen.waitVblankStart()
screen.flip()
pad = Controls.read()
if pad:cross() then
juego()
end
if pad:start() then
finalizar=0
end
end