Random Homebrew: NO-KXploit Patcher
patch
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

Lua Player HM7 sound problem, help!

Forum rules
Any post not directly related to programming will be moderated.
Do not request people to code something for you.
Avoid posting messages that do not bring anything to the conversation. We want the threads in this subforum to stay focused.

Lua Player HM7 sound problem, help!

Postby Killerfeeshy » Mon Jun 04, 2012 9:48 pm

Hello im back with another sound question. So how do i play sounds in lua player HM7, every time i try to play a sound it just plays once then glitches out.

Code: Select all
mysound = Mp3.load("mysound.mp3",false)

while true do
oldpad = pad
pad = Controls.read()

if pad:cross() and oldpad:cross() ~= pad:cross() then
mysound.play()
end
end


If you can show me what im doing wrong id really appreciated it.
70 M3 M7 P5P 15 L1K3 4 DRUG 1F I75 /\/07 I/\/ M7 P0CK37 1M G0/\//\/4 P4/\/1C

My Homebrews
Crazy Eyes
ProKill
Top Down Racing
And others currently unreleased

Got any questions? http://www.ask.fm/Killerfeeshy
Killerfeeshy
 
Posts: 357
Joined: Wed Jun 01, 2011 9:49 am

Advertising

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests