QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Lua Programming Help Thread

This is a discussion on Lua Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; can someone please help me make a file browser for LuaPlayer HMv2? i've tried a bunch of times but i ...

Reply
 
LinkBack Thread Tools
Old 06-24-2009, 05:15 PM   #9991
QJ Gamer Blue
 
Join Date: Nov 2008
Posts: 35
Trader Feedback: 0
Default

can someone please help me make a file browser for LuaPlayer HMv2?
i've tried a bunch of times but i can't figure out to make it work.
please help

ps. i've already tried the code from evilmana.com codebase and it doesn't work in LuaPlayer HMv2.
thatoneguy559 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Best prices available for:
Price Range:
$13.00 - $25.00
at 10 Stores

Price Range:
$17.00 - $48.00
at 10 Stores

Old 06-24-2009, 06:21 PM   #9992
 
Join Date: May 2009
Real First Name: Steven
Location: California
Posts: 75
Trader Feedback: 0
Default

Quote:
Originally Posted by yaustar View Post
Is the readme wrong then? It explicitly says it returns 1 or 0 which implies an integer, not a boolean which is an important distinction because 'notting' a 0 does not return true (tested on Lua 5.1.2).

Code:
foo = 0
if not foo then
    print("blah")
end
Nothing is printed.

As a side note, any non-zero integer in a expression is true but is not equal to the 'value' of true.

Code:
foo = -1;
if foo then
    print( "Blah")
end
Output is "Blah".

Code:
foo = -1;
if foo == true then
    print( "Blah")
end
Nothing is printed.

As I implied earlier, I wasn't sure how the function eos works under the hood in LuaPlayer and whether it only works if the music has been played at all. (HM really needs a IsPlaying function).

Try the following:
Code:
BG1 = Ogg.load("Music.ogg");
Ogg.play(BG1);

while true do	
	if Ogg.eos() == 1 then
		Ogg.play(BG1);
	end
end
Well I could be wrong but I've used Ogg.eos() == true and it's worked the same, so it could be specific to luaplayer. Also I've already tried the method you've provided, it doesn't work.
Xteaph-N is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-24-2009, 07:28 PM   #9993

QJ Gamer Silver
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,322
Trader Feedback: 0
Default

Quote:
Originally Posted by Xteaph-N View Post
Well I could be wrong but I've used Ogg.eos() == true and it's worked the same, so it could be specific to luaplayer.
In Lua, true is equalivent to one and false is equalivent to zero. The point I am making (and you are missing) is that using 1 and 0 with the boolean operator 'not' does not give the same result as using booleans, therefore it is important to know whether a function is returning a boolean or an integer to use it 100% correctly.

Quote:
Also I've already tried the method you've provided, it doesn't work.
Doesn't work in what way? Does the music play at all? Does it not loop? Did you use the EXACT code?
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-24-2009, 07:44 PM   #9994
 
Join Date: May 2009
Real First Name: Steven
Location: California
Posts: 75
Trader Feedback: 0
Default

Quote:
Originally Posted by yaustar View Post
In Lua, true is equalivent to one and false is equalivent to zero. The point I am making (and you are missing) is that using 1 and 0 with the boolean operator 'not' does not give the same result as using booleans, therefore it is important to know whether a function is returning a boolean or an integer to use it 100% correctly.


Doesn't work in what way? Does the music play at all? Does it not loop? Did you use the EXACT code?
Yes I used the exact code. It would play one time only.
Xteaph-N is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-24-2009, 08:35 PM   #9995

QJ Gamer Silver
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,322
Trader Feedback: 0
Default

So eos doesn't work as advertised? If that is the case then the only real alternative is to either ask the author to fix it, use another LuaPlayer (like PGE) or use a timer and play the music every X seconds where X is the length of the song.

OT: But after reading the readme again, the syntax correct version of the code I used should be:
Code:
Ogg.load("Music.ogg");
Ogg.play();

while true do	
	if Ogg.eos() == 1 then
		Ogg.play();
	end
end
Unlikely to make a difference in the behaviour though.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-24-2009, 08:47 PM   #9996
 
Join Date: May 2009
Real First Name: Steven
Location: California
Posts: 75
Trader Feedback: 0
Default

Quote:
Originally Posted by yaustar View Post
So eos doesn't work as advertised? If that is the case then the only real alternative is to either ask the author to fix it, use another LuaPlayer (like PGE) or use a timer and play the music every X seconds where X is the length of the song.

OT: But after reading the readme again, the syntax correct version of the code I used should be:
Code:
Ogg.load("Music.ogg");
Ogg.play();

while true do	
	if Ogg.eos() == 1 then
		Ogg.play();
	end
end
Unlikely to make a difference in the behaviour though.
Oh no, it works 100% as advertised. The following will work properly:

Code:
Ogg.load("Music.ogg");
Ogg.play();

while true do	
	if Ogg.eos() == 1 then
		screen:print(0,0,"Blah",0)
	end
end
This will print text at the end of the song's duration. The problem is in the player itself as I've previously stated. But as also previously stated it is no longer a problem. I also contacted the dev of the player well before I posted in this thread.
Xteaph-N is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 02:12 AM   #9997
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,650
Trader Feedback: 0
Default

oh yeah i forgot to mention i havent spoken to hm for a while but there is a problem with the sound functions.

you can only play a sound once and not loop it because they are set up wrong and the system.sound() function or whatever it is that enables some of the other sound functions some do not work and im pretty sure that if you use them they lock up your psp.

if only i would have told you sooner silly me eh.
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: http://www.modern-gamer.co.uk/

Currently working on:
(0) MediaGrab
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? -On Hold A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 03:53 AM   #9998
 
Join Date: Nov 2008
Posts: 54
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG View Post
oh yeah i forgot to mention i havent spoken to hm for a while but there is a problem with the sound functions.

you can only play a sound once and not loop it because they are set up wrong and the system.sound() function or whatever it is that enables some of the other sound functions some do not work and im pretty sure that if you use them they lock up your psp.

if only i would have told you sooner silly me eh.
you can loop a sound or song with LPHM v2, i've done it many times myself. the reason why you can't get it to loop is because you have to reload the sound/song file before playing it again.

for ex.

Code:
if foo.eos() then
foo.load("foo.song")
foo.play()
end
if you want a code that you can use to try for yourself i can give you one. you can loop your sounds and songs. i've done it myself already.
qwikrazor87 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 07:28 AM   #9999
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,650
Trader Feedback: 0
Default

i said that you could only play a sound once and not loop it i did not say however that there was no way at all to loop a sound.
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 08:28 AM   #10000
Lua guy
 
dan369's Avatar
 
My Mood: Mellow
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: MW2/Bioshock 2
Posts: 1,400
Blog Entries: 1
Trader Feedback: 0
Default

10,000th post
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 09:13 AM   #10001

QJ Gamer Bronze
 
Nielkie's Avatar
 
Join Date: Jul 2006
Posts: 549
Trader Feedback: 0
Default

Quote:
Originally Posted by dan369 View Post
10,000th post
Dammit.
__________________


Nielkie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 09:22 AM   #10002
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,650
Trader Feedback: 0
Default

XD i told him to get it for a laf i would have got it myself but you just cant doubble post, look on the bright side you have the 10000th post if you look on the dev forum lol as it doesnt include the posters post XD.
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 09:33 AM   #10003
Lua guy
 
dan369's Avatar
 
My Mood: Mellow
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: MW2/Bioshock 2
Posts: 1,400
Blog Entries: 1
Trader Feedback: 0
Default

Quote:
Originally Posted by Nielkie View Post
Dammit.
lol, is the now the biggest thread on qj? It must be in the top 3?
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 01:41 PM   #10004
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

Lol shall i delete dans post? :P
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-25-2009, 04:00 PM   #10005
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,650
Trader Feedback: 0
Default

i vote no but your the mod lol.
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 09:54 AM   #10006
 
Join Date: May 2008
Posts: 93
Trader Feedback: 0
Default

Okay I got 2 question,
First Whats the best luaplayer for games,
PGELUA
Luaplayer HM
Luaplayer Euphoria

Second question, I want to add alpha colors to my game does anyone know how to do that?
Predricted is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 10:17 AM   #10007
Lua guy
 
dan369's Avatar
 
My Mood: Mellow
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: MW2/Bioshock 2
Posts: 1,400
Blog Entries: 1
Trader Feedback: 0
Default

1. PGE
2. Read PGE's docs, its all there.
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 10:25 AM   #10008
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG View Post
i vote no but your the mod lol.
I'll be nice.
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 10:29 AM   #10009
QJ Gamer Blue
 
Join Date: Nov 2008
Posts: 35
Trader Feedback: 0
Default

i need some help please, im trying to make an mp3 player in LuaPlayer HMv2. i've already got the music browser working but when you click a mp3 it freezes. here's my code:

Quote:
System.currentDirectory(" ms0:/MUSIC")
kristen = Font.load("ms0:/PSP/GAME/Zero+ v1/KristenITC.TTF", 10)
red = Color.new(255, 0, 0, 255)
green = Color.new(0, 255, 0, 255)
blue = Color.new(0, 0, 255, 255)
white = Color.new(255, 255, 255, 255)
black = Color.new(0, 0, 0, 0)

nickname = System.nickName()
battery = System.powerGetBatteryLif ePercent()
life = System.powerGetBatteryLif eTime()
cfw = System.cfwVersion()
year = System.getDate(1)
month = System.getDate(2)
day = System.getDate(3)
hour = System.getTime(1)
minute = System.getTime(2)
second = System.getTime(3)
millisecond = System.getTime(4)
model = System.getModel(1)
volume = System.getVolume()
brightness = System.getBrightness()
mc = {s = 1, fl = System.listDirectory("ms0 :/MUSIC/"), ls = 1, sp = 10}

mc.nf = table.getn(mc.fl)
oldpad = Controls.read()

function runmc()

for i = ((mc.ls-1)*mc.sp)+1, mc.ls*mc.sp do
if mc.nf >= i then
screen.startDraw()
screen.clear(0)
screen.print(5,((i-((mc.ls-1)*mc.sp))*10)-10, mc.fl[i].name, 1, white, white, 1)
screen.print(5,((mc.s-((mc.ls-1)*mc.sp))*10)-10, mc.fl[mc.s].name, 1, red, white, 1)
Font.print(kristen, 0, 10, "Welcome " .. nickname .. "", red)
Font.print(kristen, 0, 20, "Your Custom Firmware is " .. cfw .. "", red)
Font.print(kristen, 0, 30, "You Have A PSP: " .. model .. "", red)
Font.print(kristen, 380, 10, "" .. month .."/" .. day .. "/" .. year .. "", red)
Font.print(kristen, 380, 20, "" .. hour .. ":" .. minute .. ":" .. second .. ":" .. millisecond .. "", red)
Font.print(kristen, 380, 30, "" .. battery .. "%", red)
Font.print(kristen, 380, 40, "" .. life .. " Min.", red)
Font.print(kristen, 380, 50, "Brightness: " .. brightness .. "", red)
Font.print(kristen, 380, 60, "Volume: " .. volume .. "", red)
Font.print(kristen, 5, 220, "Created by ZeroorDie559", red)
Font.print(kristen, 5, 230, "************************ ************************* ************************* *****", red)
screen.flipscreen()
screen.endDraw()
screen.flipscreen()
elseif mc.nf < i then break end
end

if pad:down() and not oldpad:down() then mc.s = mc.s + 1 end
if pad:up() and not oldpad:up() then mc.s = mc.s - 1 end

if mc.s > mc.nf then mc.s = mc.nf elseif mc.s < 1 then mc.s = 1 end
if mc.s > mc.sp*mc.ls then mc.ls = mc.ls + 1
elseif mc.s < ((mc.ls-1) * mc.sp)+1 then mc.ls = mc.ls - 1 mc.s = (mc.ls)*mc.sp end

if pad:cross() and not oldpad:cross() then
if not mc.fl[mc.s].directory then
if string.lower(string.sub(m c.fl[mc.s].name, -4)) == ".mp3" then
mp3 = Mp3me.load("mc.fl[mc.s].name")
Mp3me.play("" .. mp3 .. "")
elseif string.lower(string.sub(m c.fl[mc.s].name, -4)) == ".wma" then
wma = ALL.load("mc.fl[mc.s].name")
ALL.play("" .. wma .. "")
end
elseif mc.fl[mc.s].directory then
System.currentDirectory(m c.fl[mc.s].name)
mc.s = 1
mc.fl=System.listDirector y()
mc.nf=table.getn(mc.fl)
mc.ls = 1
end

elseif pad:triangle() and not oldpad:triangle() then
if System.currentDirectory ~= "ms0:/MUSIC" then
System.currentDirectory(" ./..")
mc.s = 1
mc.fl=System.listDirector y()
mc.nf=table.getn(mc.fl)
mc.ls = 1
end
end
end

analog_X = pad:analogX()
analog_Y = pad:analogY()

mode = {x = System.getBrightness(), y = System.getVolume()}

if analog_X > 50 then
if mode.x < 95 then
mode.x = mode.x + 2
end
elseif analog_X < -50 then
if mode.x > 0 then
mode.x = mode.x - 2
end
end

if mode.x ~= System.getBrightness() then
System.setBrightness(mode .x)
end

if analog_Y < -50 then
if mode.y < 30 then
mode.y = mode.y + 1
end
elseif analog_Y > 50 then
if mode.y > 0 then
mode.y = mode.y - 1
end
end

if mode.y ~= System.getVolume() then
System.setVolume(mode.y)
end

if pad:select() then
screenshot = System.startOSK("Screensh ot.jpg", "ms0:/PSP/PHOTO/Zero+ Screenshots/")
screen.save("" .. screenshot .. "")
end

while true do
pad = Controls.read()
screen.clear(0)
runmc()
screen.waitVblankStart()
screen.flipscreen()
oldpad = pad
if pad:start() then break end
end
the browser's kinda wierd too, i still gotta fix it so if you can also help with the y position that'd be great.
thatoneguy559 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 11:35 AM   #10010
 
xXChromeXx's Avatar
 
Join Date: Jul 2008
Posts: 467
Trader Feedback: 0
Default

Could someone please tell me how to check collision based on colour. I have checked but found nothing.
__________________
My Releases:
---------------------------------------------------
[URL="http://forums.qj.net/showthread.php?t=145654"]ROFLFlasher[/URL]

[URL="http://forums.qj.net/showthread.php?t=144892"]DTS MGS Edition[/URL]

[URL="http://forums.qj.net/showthread.php?t=143735"]Arkanoid Deluxe Beta[/URL]

[URL="http://forums.qj.net/showthread.php?p=2144700#post2144700"]SAVIOR![/URL]
xXChromeXx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 01:55 PM   #10011
 
Join Date: May 2008
Posts: 93
Trader Feedback: 0
Default

Quote:
Originally Posted by dan369 View Post
1. PGE
2. Read PGE's docs, its all there.
I tried to convert my code to PGELua but it seems very different it don't uses screen.waitVblankstart and screen.flip and more of those kinda things..
Can you tell me how to make an alpha color in luaplayerHM?
-=Double Post Merge =-
Quote:
Originally Posted by thatoneguy559 View Post
i need some help please, im trying to make an mp3 player in LuaPlayer HMv2. i've already got the music browser working but when you click a mp3 it freezes. here's my code:



the browser's kinda wierd too, i still gotta fix it so if you can also help with the y position that'd be great.
I used luaplayerHMv2 also but it seems that MP3 function is bugged.. But try luaplayerHM7 RC1 Mp3 function there worked for me..

Last edited by Predricted; 06-26-2009 at 01:57 PM.. Reason: Automerged Doublepost
Predricted is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 02:40 PM   #10012
Lua guy
 
dan369's Avatar
 
My Mood: Mellow
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: MW2/Bioshock 2
Posts: 1,400
Blog Entries: 1
Trader Feedback: 0
Default

ColourObject = Color.new(red, green, blue, alpha)
--IN pge
ColourObject = pge.gfx.createcolor(red, green, blue, alpha)
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 03:06 PM   #10013
 
Join Date: May 2008
Posts: 93
Trader Feedback: 0
Default

Quote:
Originally Posted by dan369 View Post
ColourObject = Color.new(red, green, blue, alpha)
--IN pge
ColourObject = pge.gfx.createcolor(red, green, blue, alpha)
I tried that but the 4th argument which is alpha doesn't effect the color if i make it 100 or 255 its all the same
Predricted is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 04:28 PM   #10014
Lua guy
 
dan369's Avatar
 
My Mood: Mellow
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: MW2/Bioshock 2
Posts: 1,400
Blog Entries: 1
Trader Feedback: 0
Default

Are you sure? Which HM you using the latest one?
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2009, 08:49 PM   #10015
 
Join Date: May 2009
Posts: 69
Trader Feedback: 0
Default

does luaplayer hmv2 support normal lua code?(i coded it for luaplayer 0.2 but need a hm function)
scionsamurai is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-27-2009, 04:31 AM   #10016

QJ Gamer Bronze
 
Join Date: Nov 2008
Real First Name: Mohamed
Location: CAD
Just Played: X-Men Origins: Wolverine
Posts: 417
Trader Feedback: 0
Default

LPHMv2 supports most of the lua code, but there are diffrent (modified) functions.

eg:
Code:
screen:print(x,y,text,color)
is in LPHMv2:
Code:
screen.print(x,y,text,size,color,glow color, pgf font from 0-7)
mootjeuh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-27-2009, 08:05 AM   #10017
 
Join Date: May 2008
Posts: 93
Trader Feedback: 0
Default

Quote:
Originally Posted by dan369 View Post
Are you sure? Which HM you using the latest one?
LuaplayerHMv2 had that function but I use luaplayerHM7 RC1
Predricted is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-27-2009, 08:33 AM   #10018
Lua guy
 
dan369's Avatar
 
My Mood: Mellow
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: MW2/Bioshock 2
Posts: 1,400
Blog Entries: 1
Trader Feedback: 0
Default

I don't think it works in HM7.
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-27-2009, 08:47 AM   #10019
 
Join Date: May 2008
Posts: 93
Trader Feedback: 0
Default

Quote:
Originally Posted by dan369 View Post
I don't think it works in HM7.
You don't have to think it don't works for sure..
But can I make a function which will make alpha color?
Predricted is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2009, 09:41 AM   #10020
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,650
Trader Feedback: 0
Default

pge can use alpha colours and i dont think any of the other playes could it was either 255 or 0 atleast that is what i found i think it may have been a bug.
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
code , lib , lua , luaplayer , noobs , programming , psp programming , scripting , thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 10:31 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2010, QJ.NET. All Rights Reserved.
Contact Us | Free Flash Games