![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Music: help within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; i noticed that when i use music in lua if the music lay() is below the "while true do" it ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() Tha Sigerator
|
i noticed that when i use music in lua if the music
lay() is below the "while true do" it like...flickers err...doesn't play all the way through. how can i make it so that i can play music during for instance key presses.if u don't feel like/cant explain jus post a sample code that does it and i'll teach meself
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
|
|
#2 |
![]() ![]() total-Z
|
thats because you are repeating the play music over and over and over and over....
only do it once. if Controls.read():cross() then --if you push X... music:play() --play the music while Controls.read():cross() do end --while you are pressing X, do nothing end --end the if This will see if you pressed X, then play the sound, and freeze the program until you release X
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#3 |
![]() ![]() Tha Sigerator
|
thx but is there a way to play it in the bg for a senario that involves button presses?
edit: i think i understand..i'll start fooling around with my code and see
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -
|
|
|
|
![]() |
| Tags |
| music |
| Thread Tools | |
|
|