Seite 233 von 342 ErsteErste ... 133 183 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 283 333 ... LetzteLetzte
Zeige Ergebnis 6.961 bis 6.990 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; Zitat von xmex Why the two ends? akl=Image.load("./Images/akl.jpg") while true do screen:clear screen:blit(0,0,akl,true) screen.flip() screen.waitVblankstart() end you didnt have to ...

  
  1. #6961
    QJ Gamer Gold
    Points: 11.942, Level: 71
    Level completed: 73%, Points required for next Level: 108
    Overall activity: 0%

    Registriert seit
    Nov 2006
    Ort
    ...
    Beiträge
    2.080
    Points
    11.942
    Level
    71
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von xmex
    Why the two ends?

    akl=Image.load("./Images/akl.jpg")

    while true do
    screen:clear
    screen:blit(0,0,akl,true)
    screen.flip()
    screen.waitVblankstart()
    end
    you didnt have to really fix it, i was just messin around



  2. #6962
    Points: 8.718, Level: 62
    Level completed: 90%, Points required for next Level: 32
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Beiträge
    484
    Points
    8.718
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Testing my game. volunteers?

  3. #6963
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    i can test if you want. what is it?

  4. #6964
    Points: 8.718, Level: 62
    Level completed: 90%, Points required for next Level: 32
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Beiträge
    484
    Points
    8.718
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    come to qj flash chat
    -= Double Post =-
    nvm its not there anymore. just put this on your PSP and run it http://pspfreak9.com/Documents/stick%20Arena.rar
    its online so we have to do it at the same time i'll just wait on the game. reply when you have seen the messeage and started the game.
    Geändert von pspfreak9 (04-19-2007 um 01:38 PM Uhr) Grund: Automerged Doublepost

  5. #6965
    Points: 24.247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    texas
    Beiträge
    2.803
    Points
    24.247
    Level
    94
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Urameshi
    you wanna know what would give you a headache, here's a question for ya:

    how do you blit an image i tried everyting here's my code:
    Code:
    akl=Image.load("Images/akl.jpg")
    
    while true do
    --------------------------clear the screen:clear()
    
    scree:blit(0,0,akl,true)
    
    screenflip()
    screenwaitVblankstart()
    end
    end
    Code:
    akl=Image.load("Images/akl.jpg")
    
    while true do
    screen:clear()
    scree:blit(0,0,akl,true)
    screen.flip()
    screen.waitVblankstart()
    end
    And not a pill of asprin needed.

  6. #6966
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    k, downloading it now...
    -= Double Post =-
    jeez, my sister took my usb cable, hold on, its at my neighbors. just be like 2 min.
    -= Double Post =-
    starting the game now.
    -= Double Post =-
    um, when i start the game up it says:

    Error: netlib.lua:41: attempt to call field 'udpConnect' (a nil value)

    Press start to restart
    Geändert von emericaska8r (04-19-2007 um 02:00 PM Uhr) Grund: Automerged Doublepost

  7. #6967
    Points: 8.718, Level: 62
    Level completed: 90%, Points required for next Level: 32
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Beiträge
    484
    Points
    8.718
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    oh you need cools mod 3

  8. #6968
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    oh. i can download it real quick. hold on.

  9. #6969
    Points: 8.718, Level: 62
    Level completed: 90%, Points required for next Level: 32
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Beiträge
    484
    Points
    8.718
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    k i got an error, i'll be back at 4:30 youlll be here?

  10. #6970
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    idk its 6:07 here, what time is it wherever you are?

  11. #6971
    TheMarioKarters
    Guest

    Standard

    Zitat Zitat von emericaska8r
    oh. i can download it real quick. hold on.
    Download it here:
    www.youresam.com/netlib

  12. #6972
    Points: 8.718, Level: 62
    Level completed: 90%, Points required for next Level: 32
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Beiträge
    484
    Points
    8.718
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    it is now 3:11 in exactly 1 and a half hour from now k

  13. #6973
    QJ Gamer Gold
    Points: 11.942, Level: 71
    Level completed: 73%, Points required for next Level: 108
    Overall activity: 0%

    Registriert seit
    Nov 2006
    Ort
    ...
    Beiträge
    2.080
    Points
    11.942
    Level
    71
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von youresam
    Code:
    akl=Image.load("Images/akl.jpg")
    
    while true do
    screen:clear()
    scree:blit(0,0,akl,true)
    screen.flip()
    screen.waitVblankstart()
    end
    And not a pill of asprin needed.
    there's more coming , and you might wanna check your code again

  14. #6974
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    k i'll be back then for ya!

  15. #6975
    QJ Gamer Blue
    Points: 5.344, Level: 46
    Level completed: 97%, Points required for next Level: 6
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    347
    Points
    5.344
    Level
    46
    Downloads
    0
    Uploads
    0

    Standard

    Hey guys i have one question. How long and how complicated or is it possible to create a web browser in lua. I need one for the project i am working on. I know you can make a textbased one. Kind of like the example in luaplayer. I was thinking of something besides textbased though.

    Thanks Bob Hoil

  16. #6976
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    web browser or a file browser for your memory stick?

  17. #6977
    QJ Gamer Green
    Points: 6.721, Level: 53
    Level completed: 86%, Points required for next Level: 29
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    543
    Points
    6.721
    Level
    53
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von youresam
    I am already working on a web browser, and the text capabilities are complete

    Its sorta hard to make.

    thanks youresam
    Over IM
    HELP ME HAIRY LEG!!!!

    I have a 1.5 (downgraded) US PSP
    [code]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( P | S | P | - | P | r | o | g | r | a | m | m | i | n | g )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
    _ _ _ _ _
    / \ / \ / \ / \ / \
    ( A | d | m | i | n )
    \_/ \_/ \_/ \_/ \_/ [/code]

  18. #6978
    QJ Gamer Blue
    Points: 5.344, Level: 46
    Level completed: 97%, Points required for next Level: 6
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    347
    Points
    5.344
    Level
    46
    Downloads
    0
    Uploads
    0

    Standard

    Well that explains it. I was thinking of making a text based one then trying to extend upon that. I need one for my project i am working on though. Thanks for the help guys.

  19. #6979
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    hey, this was a long time ago, but some real good coder released a script here for download, where you were some guy, and there were physics in the game, and there was an all black level. The legs could rotate.

    idk, but i have been searching for that for days and can't find it. The reason being is that the player could be moved anywhere, and it would have collision for every kind of bump and whatever in the level.

    anyone know what i am talking about? if so give me it!

  20. #6980
    Points: 8.718, Level: 62
    Level completed: 90%, Points required for next Level: 32
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Beiträge
    484
    Points
    8.718
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    im not gonna be here emericaska8r i have to go somewhere contact you when im free.

  21. #6981
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    k

  22. #6982
    QJ Gamer Blue
    Points: 5.344, Level: 46
    Level completed: 97%, Points required for next Level: 6
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    347
    Points
    5.344
    Level
    46
    Downloads
    0
    Uploads
    0

    Standard

    Hey guys i have one more question. You know the cursor you use in the web browser on the psp(the official web browser). Is there a way to use it kind of like you do with the time and battery information? If not i will just make my own.

    Thanks Bob Hoil

  23. #6983
    QJ Gamer Blue
    Points: 4.561, Level: 43
    Level completed: 6%, Points required for next Level: 189
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    224
    Points
    4.561
    Level
    43
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von eyece
    can i ask everyone what they think of this:
    http://www.sendspace.com/file/e44t0q
    its a game i just started, just tried to add a walking animation witch didn't work as well as i had hoped so its kind of low on fps and moving looks lame IMO.
    omg i found it! but the dl date has expired :Argh: . Does anybody have this, or anything? i'll pm eyece to ask him too.

  24. #6984
    Monster Masher
    Points: 5.084, Level: 45
    Level completed: 67%, Points required for next Level: 66
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    Behind you...
    Beiträge
    265
    Points
    5.084
    Level
    45
    Downloads
    0
    Uploads
    0

    Standard

    Is there a way to find the highest table number? ie table enemy1 goes up to enemy1[10] but we dont actually define this we set it by finding the highest one before it so we dont know the top one. So is there a way to find it?

    EDIT

    And a way to make one colour transparent in an image!

  25. #6985
    QJ Gamer Blue
    Points: 4.369, Level: 42
    Level completed: 10%, Points required for next Level: 181
    Overall activity: 0%

    Registriert seit
    Feb 2007
    Beiträge
    246
    Points
    4.369
    Level
    42
    Downloads
    0
    Uploads
    0

    Standard

    table.getn(table) will give you the size of the table but only for the base of the table

    if you've got nested tables - tablea[n].tableb - then to get the size of the nested table you have specify that like this table.getn(table[n].tableb)

  26. #6986
    QJ Gamer Blue
    Points: 4.369, Level: 42
    Level completed: 10%, Points required for next Level: 181
    Overall activity: 0%

    Registriert seit
    Feb 2007
    Beiträge
    246
    Points
    4.369
    Level
    42
    Downloads
    0
    Uploads
    0

    Standard

    table.getn(table) will give you the size of the table but only for the base of the table

    if you've got nested tables - tablea[n].tableb - then to get the size of the nested table you have specify that like this table.getn(table[n].tableb)

  27. #6987
    QJ Gamer Green
    Points: 11.300, Level: 70
    Level completed: 13%, Points required for next Level: 350
    Overall activity: 0%

    Registriert seit
    Dec 2006
    Ort
    main();
    Beiträge
    1.071
    Points
    11.300
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    (You posted twice ^^)

  28. #6988
    QJ Gamer Blue
    Points: 5.344, Level: 46
    Level completed: 97%, Points required for next Level: 6
    Overall activity: 0%

    Registriert seit
    May 2006
    Beiträge
    347
    Points
    5.344
    Level
    46
    Downloads
    0
    Uploads
    0

    Standard

    Hey guys i am making a cursor in the program i am making for the psp i lua and right now it moves with the d pad and i was wondering if there was a tutorial i could do that would tell me how to use the analog stick instead. Don't worry i actually plan on completing the entire tutorial a few times so i can try to learn it.

    Thanks Bob Hoil

  29. #6989
    QJ Gamer Gold
    Points: 11.942, Level: 71
    Level completed: 73%, Points required for next Level: 108
    Overall activity: 0%

    Registriert seit
    Nov 2006
    Ort
    ...
    Beiträge
    2.080
    Points
    11.942
    Level
    71
    Downloads
    0
    Uploads
    0

    Standard

    omg there are so many ppl asking for help with analog, and its been explained so much, go to evilmana.com/forums and go to the help thread and search that, there's like 3 threads all which explain perfectly

  30. #6990
    QJ Gamer Silver
    Points: 10.921, Level: 69
    Level completed: 18%, Points required for next Level: 329
    Overall activity: 0%

    Registriert seit
    May 2006
    Ort
    Behind you.
    Beiträge
    1.814
    Points
    10.921
    Level
    69
    Downloads
    0
    Uploads
    0

    Standard

    Something like this:

    Code:
    pad = Controls.read()
    ax = pad:analogX()
    if math.abs(ax) > 32 then
    --Right
    end
    if math.abs(ax) <-32 then
    --Left
    end
    ay = pad:analogY()
    if math.abs(ay) > 32 then
    --Up
    end
    if math.abs(ay) <-32 then
    --Down
    end
    Calypso - Enjoy the excellent 2D space shooter:
    http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195

    "Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)


 

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:01 PM Uhr.

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