Seite 3 von 342 ErsteErste 1 2 3 4 5 6 7 8 9 10 11 12 13 53 103 ... LetzteLetzte
Zeige Ergebnis 61 bis 90 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; Yeah, I guess? Dude, whats your aim or msn ^^^ And how do you do it like lowser?...

  
  1. #61
    Advanced PSP Coder
    Points: 7.141, Level: 55
    Level completed: 96%, Points required for next Level: 9
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Ort
    Down South
    Beiträge
    426
    Points
    7.141
    Level
    55
    Downloads
    0
    Uploads
    0

    Standard

    Yeah, I guess? Dude, whats your aim or msn ^^^

    And how do you do it like lowser?


    [center][COLOR=Green][B]- PM Me if you need help with anything - [/B] [/COLOR]

    [B][SIZE=3][COLOR=DarkOrange][U]Homebrew I've Made[/U][/COLOR][/SIZE][/B]

    [B]Applications:
    [URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi?0,0,0,0,17,1667]PSP Alarm v0.5[/URL] [/b]

    [B]Games:
    [URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi?0,0,0,0,12,1669] Virtual Escape DEMO[/URL] [w/ Lancer]
    [URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi?0,0,0,0,12,1577]PSP Dodge v1.0[/URL][/b]

    [img]http://img517.imageshack.us/img517/4735/sig3qu.jpg[/img][/center]

  2. #62
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    I already told you what to do.. sheesh!

    Pm me and I'll send you the folders.
    Geändert von Bilo (10-04-2005 um 05:48 PM Uhr)

  3. #63
    NDS Mod
    Points: 18.386, Level: 86
    Level completed: 8%, Points required for next Level: 464
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    w00+land
    Beiträge
    645
    Points
    18.386
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Virtue
    Yeah, I guess? Dude, whats your aim or msn ^^^

    And how do you do it like lowser?
    Although I have it I don't use AIM often. If you still want to know It's MagicianFB.

    Also I have no clue, although I've been trying to figure it out.
    "15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
    [URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]

  4. #64
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    No... what you do is -

    1. Get a hold of something else that uses it (half of the lua apps in the files section)
    2. Rename the folders to what you like
    3. Delete everything but the eboots in each folder.
    4. Paste all of your files and your lua script into the folder without the %
    5. Edit the eboot in the % folder to include you own image/title (using PBP unpacker)

  5. #65
    NDS Mod
    Points: 18.386, Level: 86
    Level completed: 8%, Points required for next Level: 464
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    w00+land
    Beiträge
    645
    Points
    18.386
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bilo
    I already told you what to do.. sheesh!

    Pm me and I'll send you the folders.
    Poor Bilo, if only everone listened... ;)
    "15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
    [URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]

  6. #66
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Indeed! ^

    And I just wrote the steps for you on how to get your icon on the game list
    so that you can launch your app from there.

    *bow*

  7. #67
    Advanced PSP Coder
    Points: 7.141, Level: 55
    Level completed: 96%, Points required for next Level: 9
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Ort
    Down South
    Beiträge
    426
    Points
    7.141
    Level
    55
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bilo
    No... what you do is -

    1. Get a hold of something else that uses it (half of the lua apps in the files section)
    2. Rename the folders to what you like
    3. Delete everything but the eboots in each folder.
    4. Paste all of your files and your lua script into the folder without the %
    5. Edit the eboot in the % folder to include you own image/title (using PBP unpacker)
    I don't remember you telling me, but thanks.
    [center][COLOR=Green][B]- PM Me if you need help with anything - [/B] [/COLOR]

    [B][SIZE=3][COLOR=DarkOrange][U]Homebrew I've Made[/U][/COLOR][/SIZE][/B]

    [B]Applications:
    [URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi?0,0,0,0,17,1667]PSP Alarm v0.5[/URL] [/b]

    [B]Games:
    [URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi?0,0,0,0,12,1669] Virtual Escape DEMO[/URL] [w/ Lancer]
    [URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi?0,0,0,0,12,1577]PSP Dodge v1.0[/URL][/b]

    [img]http://img517.imageshack.us/img517/4735/sig3qu.jpg[/img][/center]

  8. #68
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    ^ no probs

  9. #69
    Points: 4.437, Level: 42
    Level completed: 44%, Points required for next Level: 113
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Beiträge
    3
    Points
    4.437
    Level
    42
    Downloads
    0
    Uploads
    0

    Standard

    First time coding a game with physics and first time using lua. I am trying to get a 2d collision detection working in lua, i only need rect/rect detection so i don't need anything too fancy. Are there any examples written in lua script? I have been reading

    http://www.harveycartel.org/metanet/...tutorialA.html

    but as his source code is flash/action script i can't look at it.

    I really need a lesson in 2d geometry more than a collision detection example in lua but a lua example would be so very helpful.

    Any starting links? pointers? source code?

  10. #70
    Developer
    Points: 10.075, Level: 67
    Level completed: 7%, Points required for next Level: 375
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    Sweden
    Beiträge
    941
    Points
    10.075
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    Sorry to post my question again but how do I get a text when I push a button to not disapear after I have released the button??

    Code:
    System.usbDiskModeActivate()
    
    white = Color.new(255, 255, 255)
    
    while true do
    screen:clear()
    
    pad = Controls.read()
    
    if pad:cross() then
    screen:print(20, 18, "1", white)
    end
    
    screen.waitVblankStart()
    screen.flip()
    
    end

  11. #71
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    screen.waitVblankStart()
    screen.flip()

    that should be after your text to make it stay... I think..

    if pad:cross() then
    screenrint(20, 18, "1", white)
    screen.waitVblankStart()
    screen.flip()
    end

  12. #72
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    *.xm files play in lua..so it seems :)

    I thought only wav's did.

  13. #73
    QJ Gamer Blue
    Points: 4.995, Level: 45
    Level completed: 23%, Points required for next Level: 155
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Beiträge
    122
    Points
    4.995
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bilo
    um...

    if pad:triangle() then
    mainmanu()
    end

    Something like that, main menu being a function previously set.
    Ahaa...Okay thanks alot! :Jump:

  14. #74
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    ^ No probs :)

    Hope everything goes well.

  15. #75
    QJ Gamer Blue
    Points: 4.995, Level: 45
    Level completed: 23%, Points required for next Level: 155
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Beiträge
    122
    Points
    4.995
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    Well yeah... I ain't the one to complane =) Besides, what Does "()" actually do?
    Geändert von lingon (10-05-2005 um 10:28 AM Uhr)

  16. #76
    NDS Mod
    Points: 18.386, Level: 86
    Level completed: 8%, Points required for next Level: 464
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    w00+land
    Beiträge
    645
    Points
    18.386
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bilo
    *.xm files play in lua..so it seems :)

    I thought only wav's did.
    I've never heard of .xm
    "15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
    [URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]

  17. #77
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von lingon
    Well yeah... I ain't the one to complane =)

    BTW is anyone here gonna signe up for that team looAh thing, I would if were a bit better at programming.

    Probably not.

    I spend most of my day at work going between C and Actionscript so I dont think I'd like to be spending the rest staring at lines of lua.

    It gets boring after a while ya know? :)

    Although.... my game will be out in a couple of days I like it.. maybe someone else will :)

  18. #78
    QJ Gamer Blue
    Points: 4.995, Level: 45
    Level completed: 23%, Points required for next Level: 155
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Beiträge
    122
    Points
    4.995
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    lol, I'm sure you get tired of it after a while...Lookin forward to your game.

  19. #79
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von MagicianFB
    I've never heard of .xm
    Extended Modular files

    .xm files are game sound files.

  20. #80
    NDS Mod
    Points: 18.386, Level: 86
    Level completed: 8%, Points required for next Level: 464
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    w00+land
    Beiträge
    645
    Points
    18.386
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bilo
    Probably not.

    I spend most of my day at work going between C and Actionscript so I dont think I'd like to be spending the rest staring at lines of lua.

    It gets boring after a while ya know? :)

    Although.... my game will be out in a couple of days I like it.. maybe someone else will :)
    I'm working on an rpg.
    "15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
    [URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]

  21. #81
    QJ Gamer Blue
    Points: 4.995, Level: 45
    Level completed: 23%, Points required for next Level: 155
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Beiträge
    122
    Points
    4.995
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    If I for exampel wanna define
    Code:
     if pad:cross() then
    		screen:blit(0, 0, lua, false)
    		screen:print(50, 218, "Detta programm skapades utav Carl R den 2 Okt.", svart)
    		screen:print(50, 228, "2005 enbart i inlärnings syfte.", svart)	
    		screen:print(220,170, "[]: Avsluta", svart)
    		screen.flip()
    as one whole thing, as example "a" then how would I do that?

  22. #82
    Rock Star
    Points: 70.899, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Ort
    CT| FW: 4.01 M33-2
    Beiträge
    11.844
    Points
    70.899
    Level
    100
    Downloads
    0
    Uploads
    0

    Standard

    sorry, i dont quite understand your question..


  23. #83
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von lingon
    If I for exampel wanna define
    Code:
     if pad:cross() then
    		screen:blit(0, 0, lua, false)
    		screen:print(50, 218, "Detta programm skapades utav Carl R den 2 Okt.", svart)
    		screen:print(50, 228, "2005 enbart i inlärnings syfte.", svart)	
    		screen:print(220,170, "[]: Avsluta", svart)
    		screen.flip()
    as one whole thing, as example "a" then how would I do that?

    do you mean set it as a function? that can be called or do you mean use this within an if?

    To make it a function just say

    function nameoffunction()


    and declare it before you try and call it

  24. #84
    QJ Gamer Blue
    Points: 4.995, Level: 45
    Level completed: 23%, Points required for next Level: 155
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Beiträge
    122
    Points
    4.995
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    I mean it like its declared by Bilo I think. I wanna be able to just type a short command and it will do that with the pad:cross thing. So thanks again Bilo and ofcourse TeamOveload for caring. =)

  25. #85
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    ^ no probs buddy :)

  26. #86
    Developer
    Points: 8.545, Level: 62
    Level completed: 32%, Points required for next Level: 205
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Beiträge
    472
    Points
    8.545
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    well more troubles sadly :cry

    Lua will only load the first part of my script, which displays text... It wont load any thing after that.

    black = Color.new(0, 0, 0)
    screenrint(200, 130, "Board", black)
    screen.flip()
    while true do
    screen.waitVblankStart()
    end

    board = Image.load("boardnew.png" )
    screen:blit(0, 0, board, false)
    screen:flip()
    while true do
    screen:waitVblankStart()
    end
    Geändert von cools (10-06-2005 um 12:57 PM Uhr)

    PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
    http://www.cools.biaklan.com
    Currently Working on ?????

    Quote of the Week

  27. #87
    Points: 4.805, Level: 44
    Level completed: 28%, Points required for next Level: 145
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    Round Rock, TX
    Beiträge
    31
    Points
    4.805
    Level
    44
    Downloads
    0
    Uploads
    0

    Exclamation Entering Text

    How can I make something where the user enters text? Like on the PSP when you click on a text box the dialog comes up that has the letters and numbers like on a cell phone. Is there a way to get that?

    PLEASE PLEASE PLEASE EMAIL ME!!!!!!
    [email protected]

  28. #88
    QJ Gamer Blue
    Points: 4.648, Level: 43
    Level completed: 49%, Points required for next Level: 102
    Overall activity: 0%

    Registriert seit
    Sep 2005
    Ort
    In your garage
    Beiträge
    73
    Points
    4.648
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von cools
    well more troubles sadly

    Lua will only load the first part of my script, which displays text... It wont load any thing after that.

    Code:
    black = Color.new(0, 0, 0)
    screen:print(200, 130, "Board", black)
    screen.flip()
    while true do
    screen.waitVblankStart()
    end
    
    board = Image.load("boardnew.png")
    screen:blit(0, 0, board, false)
    screen:flip()
    while true do
    screen:waitVblankStart()
    end

    Code:
    board = Image.load("boardnew.png")
    screen:blit(0, 0, board, false)
    black = Color.new(0, 0, 0)
    screen:print(200, 130, "Board", black)
    screen.flip()
    while true do
    screen.waitVblankStart()
    
    end
    That should work ^
    Geändert von Bilo (10-05-2005 um 03:49 PM Uhr)

  29. #89
    NDS Mod
    Points: 18.386, Level: 86
    Level completed: 8%, Points required for next Level: 464
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    w00+land
    Beiträge
    645
    Points
    18.386
    Level
    86
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Dremth
    How can I make something where the user enters text? Like on the PSP when you click on a text box the dialog comes up that has the letters and numbers like on a cell phone. Is there a way to get that?

    PLEASE PLEASE PLEASE EMAIL ME!!!!!!
    [email protected]
    I'll try and make one...
    "15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
    [URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]

  30. #90
    Developer
    Points: 8.545, Level: 62
    Level completed: 32%, Points required for next Level: 205
    Overall activity: 0%

    Registriert seit
    Aug 2005
    Beiträge
    472
    Points
    8.545
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bilo
    Code:
    black = Color.new(0, 0, 0)
    screen:print(200, 130, "Board", black)
    screen.flip()
    board = Image.load("boardnew.png")
    screen:blit(0, 0, board, false)
    screen:flip()
    while true do
    screen:waitVblankStart()
    end
    That should work ^
    I did that, but the text goes away when the pictures load. I want the Text and the Pictures to show up at the same time. Thanks Anyway...

    PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
    http://www.cools.biaklan.com
    Currently Working on ?????

    Quote of the Week


 
Seite 3 von 342 ErsteErste 1 2 3 4 5 6 7 8 9 10 11 12 13 53 103 ... LetzteLetzte

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 .