Seite 334 von 342 ErsteErste ... 234 284 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 LetzteLetzte
Zeige Ergebnis 9.991 bis 10.020 von 10238

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 ...

  
  1. #9991
    QJ Gamer Green
    Points: 2.236, Level: 28
    Level completed: 58%, Points required for next Level: 64
    Overall activity: 0%

    Registriert seit
    Nov 2008
    Beiträge
    35
    Points
    2.236
    Level
    28
    Downloads
    0
    Uploads
    0

    Standard

    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.



  2. #9992
    QJ Gamer Blue
    Points: 2.165, Level: 28
    Level completed: 10%, Points required for next Level: 135
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Registriert seit
    May 2009
    Ort
    California
    Beiträge
    75
    Points
    2.165
    Level
    28
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von yaustar Beitrag anzeigen
    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.

  3. #9993
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Xteaph-N Beitrag anzeigen
    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.

    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?

  4. #9994
    QJ Gamer Blue
    Points: 2.165, Level: 28
    Level completed: 10%, Points required for next Level: 135
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Registriert seit
    May 2009
    Ort
    California
    Beiträge
    75
    Points
    2.165
    Level
    28
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von yaustar Beitrag anzeigen
    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.

  5. #9995
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    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.

  6. #9996
    QJ Gamer Blue
    Points: 2.165, Level: 28
    Level completed: 10%, Points required for next Level: 135
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Registriert seit
    May 2009
    Ort
    California
    Beiträge
    75
    Points
    2.165
    Level
    28
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von yaustar Beitrag anzeigen
    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.

  7. #9997
    Developer and Tutor.
    Points: 8.736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Registriert seit
    Jul 2007
    Ort
    Widnes, England
    Beiträge
    1.649
    Points
    8.736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Standard

    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).

  8. #9998
    Developer
    Points: 13.989, Level: 76
    Level completed: 85%, Points required for next Level: 61
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Registriert seit
    Nov 2008
    Beiträge
    71
    Points
    13.989
    Level
    76
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von FaT3oYCG Beitrag anzeigen
    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.

  9. #9999
    Developer and Tutor.
    Points: 8.736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Registriert seit
    Jul 2007
    Ort
    Widnes, England
    Beiträge
    1.649
    Points
    8.736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Standard

    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 -----
    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).

  10. #10000
    Lua guy
    Points: 11.690, Level: 71
    Level completed: 10%, Points required for next Level: 360
    Overall activity: 0%

    Registriert seit
    Jan 2008
    Ort
    Wales, cardiff
    Beiträge
    1.442
    Points
    11.690
    Level
    71
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Standard

    10,000th post

  11. #10001
    QJ Gamer Bronze
    Points: 5.381, Level: 47
    Level completed: 16%, Points required for next Level: 169
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Beiträge
    550
    Points
    5.381
    Level
    47
    Downloads
    1
    Uploads
    0

    Standard

    Zitat Zitat von dan369 Beitrag anzeigen
    10,000th post
    Dammit.

  12. #10002
    Developer and Tutor.
    Points: 8.736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Registriert seit
    Jul 2007
    Ort
    Widnes, England
    Beiträge
    1.649
    Points
    8.736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Standard

    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 -----
    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).

  13. #10003
    Lua guy
    Points: 11.690, Level: 71
    Level completed: 10%, Points required for next Level: 360
    Overall activity: 0%

    Registriert seit
    Jan 2008
    Ort
    Wales, cardiff
    Beiträge
    1.442
    Points
    11.690
    Level
    71
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Nielkie Beitrag anzeigen
    Dammit.
    lol, is the now the biggest thread on qj? It must be in the top 3?

  14. #10004
    Banned from QJ for LIFE
    Points: 10.957, Level: 69
    Level completed: 27%, Points required for next Level: 293
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Beiträge
    1.557
    Points
    10.957
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    Lol shall i delete dans post? :P

  15. #10005
    Developer and Tutor.
    Points: 8.736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Registriert seit
    Jul 2007
    Ort
    Widnes, England
    Beiträge
    1.649
    Points
    8.736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Standard

    i vote no but your the mod lol.
    ------ 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).

  16. #10006
    QJ Gamer Green
    Points: 3.008, Level: 33
    Level completed: 72%, Points required for next Level: 42
    Overall activity: 0%

    Registriert seit
    May 2008
    Beiträge
    96
    Points
    3.008
    Level
    33
    Downloads
    0
    Uploads
    0

    Standard

    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?

  17. #10007
    Lua guy
    Points: 11.690, Level: 71
    Level completed: 10%, Points required for next Level: 360
    Overall activity: 0%

    Registriert seit
    Jan 2008
    Ort
    Wales, cardiff
    Beiträge
    1.442
    Points
    11.690
    Level
    71
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Standard

    1. PGE
    2. Read PGE's docs, its all there.

  18. #10008
    Banned from QJ for LIFE
    Points: 10.957, Level: 69
    Level completed: 27%, Points required for next Level: 293
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Beiträge
    1.557
    Points
    10.957
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von FaT3oYCG Beitrag anzeigen
    i vote no but your the mod lol.
    I'll be nice. :)

  19. #10009
    QJ Gamer Green
    Points: 2.236, Level: 28
    Level completed: 58%, Points required for next Level: 64
    Overall activity: 0%

    Registriert seit
    Nov 2008
    Beiträge
    35
    Points
    2.236
    Level
    28
    Downloads
    0
    Uploads
    0

    Standard

    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:

    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.

  20. #10010
    QJ Gamer Green
    Points: 4.034, Level: 40
    Level completed: 43%, Points required for next Level: 116
    Overall activity: 0%

    Registriert seit
    Jul 2008
    Beiträge
    467
    Points
    4.034
    Level
    40
    Downloads
    0
    Uploads
    0

    Standard

    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]

  21. #10011
    QJ Gamer Green
    Points: 3.008, Level: 33
    Level completed: 72%, Points required for next Level: 42
    Overall activity: 0%

    Registriert seit
    May 2008
    Beiträge
    96
    Points
    3.008
    Level
    33
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von dan369 Beitrag anzeigen
    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 =-
    Zitat Zitat von thatoneguy559 Beitrag anzeigen
    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..
    Geändert von Predricted (06-26-2009 um 01:57 PM Uhr) Grund: Automerged Doublepost

  22. #10012
    Lua guy
    Points: 11.690, Level: 71
    Level completed: 10%, Points required for next Level: 360
    Overall activity: 0%

    Registriert seit
    Jan 2008
    Ort
    Wales, cardiff
    Beiträge
    1.442
    Points
    11.690
    Level
    71
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Standard

    ColourObject = Color.new(red, green, blue, alpha)
    --IN pge
    ColourObject = pge.gfx.createcolor(red, green, blue, alpha)

  23. #10013
    QJ Gamer Green
    Points: 3.008, Level: 33
    Level completed: 72%, Points required for next Level: 42
    Overall activity: 0%

    Registriert seit
    May 2008
    Beiträge
    96
    Points
    3.008
    Level
    33
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von dan369 Beitrag anzeigen
    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

  24. #10014
    Lua guy
    Points: 11.690, Level: 71
    Level completed: 10%, Points required for next Level: 360
    Overall activity: 0%

    Registriert seit
    Jan 2008
    Ort
    Wales, cardiff
    Beiträge
    1.442
    Points
    11.690
    Level
    71
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Standard

    Are you sure? Which HM you using the latest one?

  25. #10015
    QJ Gamer Blue
    Points: 2.018, Level: 27
    Level completed: 12%, Points required for next Level: 132
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Registriert seit
    May 2009
    Beiträge
    69
    Points
    2.018
    Level
    27
    Downloads
    0
    Uploads
    0

    Standard

    does luaplayer hmv2 support normal lua code?(i coded it for luaplayer 0.2 but need a hm function)

  26. #10016
    QJ Gamer Gold
    Points: 13.372, Level: 75
    Level completed: 31%, Points required for next Level: 278
    Overall activity: 0%

    Registriert seit
    Nov 2008
    Ort
    CAD
    Beiträge
    693
    Points
    13.372
    Level
    75
    Downloads
    19
    Uploads
    4

    Standard

    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)
    That epic dude.

  27. #10017
    QJ Gamer Green
    Points: 3.008, Level: 33
    Level completed: 72%, Points required for next Level: 42
    Overall activity: 0%

    Registriert seit
    May 2008
    Beiträge
    96
    Points
    3.008
    Level
    33
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von dan369 Beitrag anzeigen
    Are you sure? Which HM you using the latest one?
    LuaplayerHMv2 had that function but I use luaplayerHM7 RC1

  28. #10018
    Lua guy
    Points: 11.690, Level: 71
    Level completed: 10%, Points required for next Level: 360
    Overall activity: 0%

    Registriert seit
    Jan 2008
    Ort
    Wales, cardiff
    Beiträge
    1.442
    Points
    11.690
    Level
    71
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Standard

    I don't think it works in HM7.

  29. #10019
    QJ Gamer Green
    Points: 3.008, Level: 33
    Level completed: 72%, Points required for next Level: 42
    Overall activity: 0%

    Registriert seit
    May 2008
    Beiträge
    96
    Points
    3.008
    Level
    33
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von dan369 Beitrag anzeigen
    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?

  30. #10020
    Developer and Tutor.
    Points: 8.736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Registriert seit
    Jul 2007
    Ort
    Widnes, England
    Beiträge
    1.649
    Points
    8.736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Standard

    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 -----
    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).


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 09:00 PM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .