Seite 220 von 342 ErsteErste ... 120 170 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 270 320 ... LetzteLetzte
Zeige Ergebnis 6.571 bis 6.600 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; I also have a question about 3D how do you know like how to meet up the the vertices to ...

  
  1. #6571
    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

    I also have a question about 3D

    how do you know like how to meet up the the vertices to make the triangles



  2. #6572
    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

    Depends on the drawing/rendering mode.

  3. #6573
    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

    what do you mean by a drawing/rendering mode

  4. #6574
    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

    From the GU header
    Code:
    #define 	GU_POINTS   (0)
    #define 	GU_LINES   (1)
    #define 	GU_LINE_STRIP   (2)
    #define 	GU_TRIANGLES   (3)
    #define 	GU_TRIANGLE_STRIP   (4)
    #define 	GU_TRIANGLE_FAN   (5)
    http://www.opengl.org/documentation/....1/node17.html

  5. #6575
    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

    Ah, thanks, that pic helps.

    In the sample codes I've seen, some people set the fov to 50, and others have used 75. Is one of them more accurate, or is it just a personal prefrence of the programmers?

  6. #6576
    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

    ok now this has been bugging me

    wtf is this stackdump error, i keep getting it when i try to run my game

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

    Depends on the environment it is being used, I can't remember what we use for our game, I think 75 for Widescreen or wide aspects..

  8. #6578
    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

    if so, then 75 would be better for the psp wouldn't it? Well whatever, I think I got it now, thanks.

  9. #6579
    QJ Gamer Gold
    Points: 11.629, Level: 70
    Level completed: 95%, Points required for next Level: 21
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Beiträge
    1.633
    Points
    11.629
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Some people like to use 45 for 1/8th of a circle, some 50 because its half of 100, it depends on the person

  10. #6580
    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

    here's the exact error

    Code:
    4 [sig] luaplayer 1720 open_stackdumpfile: Dumping stacks trace to luaplayer.exe.stackdump

  11. #6581
    QJ Gamer Blue
    Points: 3.689, Level: 38
    Level completed: 26%, Points required for next Level: 111
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    168
    Points
    3.689
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    well can someone simplify the code to only play sprites and blit them?

  12. #6582
    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

    all this gu and 3d talk may actually get me to look into it now :)

  13. #6583
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Merick
    if so, then 75 would be better for the psp wouldn't it? Well whatever, I think I got it now, thanks.
    it depends on the game. on a racing game, 75 would be good. but on other games, 75 is overkill.
    --------------------------------------------------------------------------------------

  14. #6584
    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

    do .gif's work in luaplayer?

  15. #6585
    QJ Gamer Gold
    Points: 12.189, Level: 72
    Level completed: 35%, Points required for next Level: 261
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    Under Your Bed
    Beiträge
    3.083
    Points
    12.189
    Level
    72
    Downloads
    0
    Uploads
    0

    Standard

    Dont think so I think it only supports .png or .jpg and maybe bmp w/ the lrx

  16. #6586
    Your Fate is Grim...
    Points: 11.640, Level: 70
    Level completed: 98%, Points required for next Level: 10
    Overall activity: 0%

    Registriert seit
    Oct 2005
    Beiträge
    2.269
    Points
    11.640
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Urameshi
    do .gif's work in luaplayer?
    no, not as of now.
    --------------------------------------------------------------------------------------

  17. #6587
    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 xpack
    Dont think so I think it only supports .png or .jpg and maybe bmp w/ the lrx
    or bmplib I made.
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  18. #6588
    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

    no wonder the game im tryin to use keeps crashing, cause of the .gif

  19. #6589
    QJ Gamer Blue
    Points: 3.689, Level: 38
    Level completed: 26%, Points required for next Level: 111
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    168
    Points
    3.689
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    lol, im trying to get animlib to work, i have not changed anything in animlib or added anything and i have this on my lua file to test it out
    Code:
    dofile("animLib.lua")
    --animations
    walkright = SS.new("jackrunright", "png", 64, 48, "images/jack/")
    
    while true do
         walkright:blit(0,0,100)
         screen.waitVblankStart()
         screen.flip()
    end
    like i said i have not added anything to the animlib code or changed anything, but when i start up my lua file with the code above, an error message posp up saying:
    error: animLib.lua:27: '<eof>' expected near 'end'

  20. #6590
    QJ Gamer Gold
    Points: 12.189, Level: 72
    Level completed: 35%, Points required for next Level: 261
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    Under Your Bed
    Beiträge
    3.083
    Points
    12.189
    Level
    72
    Downloads
    0
    Uploads
    0

    Standard

    Well what line is 27

  21. #6591
    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

    i think it means delete the end near line 27

  22. #6592
    QJ Gamer Blue
    Points: 3.689, Level: 38
    Level completed: 26%, Points required for next Level: 111
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    168
    Points
    3.689
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    ya, in the line 27 it says end and before that on line 26, it's just a blank line
    -= Double Post =-
    think i should delete the blank line
    Geändert von moncristo_da_dev (04-06-2007 um 08:30 PM Uhr) Grund: Automerged Doublepost

  23. #6593
    QJ Gamer Gold
    Points: 12.189, Level: 72
    Level completed: 35%, Points required for next Level: 261
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    Under Your Bed
    Beiträge
    3.083
    Points
    12.189
    Level
    72
    Downloads
    0
    Uploads
    0

    Standard

    Well then you probably have an extra 'end' in your file

  24. #6594
    QJ Gamer Blue
    Points: 3.689, Level: 38
    Level completed: 26%, Points required for next Level: 111
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    168
    Points
    3.689
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    but before the blank line, there is no other end
    -= Double Post =-
    lines 25, 26, 27:

    25:return c
    26:
    27:end
    Geändert von moncristo_da_dev (04-06-2007 um 08:32 PM Uhr) Grund: Automerged Doublepost

  25. #6595
    QJ Gamer Gold
    Points: 12.189, Level: 72
    Level completed: 35%, Points required for next Level: 261
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    Under Your Bed
    Beiträge
    3.083
    Points
    12.189
    Level
    72
    Downloads
    0
    Uploads
    0

    Standard

    Well that may be it there, that end must be there and it's not suppose to ... print all your code and point out line 27

  26. #6596
    QJ Gamer Blue
    Points: 3.689, Level: 38
    Level completed: 26%, Points required for next Level: 111
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    168
    Points
    3.689
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    ok, i solved that problem, now it says eof expected near function on line 33

  27. #6597
    QJ Gamer Gold
    Points: 12.189, Level: 72
    Level completed: 35%, Points required for next Level: 261
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    Under Your Bed
    Beiträge
    3.083
    Points
    12.189
    Level
    72
    Downloads
    0
    Uploads
    0

    Standard

    Whats the function???

  28. #6598
    QJ Gamer Gold
    Points: 11.629, Level: 70
    Level completed: 95%, Points required for next Level: 21
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Beiträge
    1.633
    Points
    11.629
    Level
    70
    Downloads
    0
    Uploads
    0

    Standard

    Urameshi, why'd you ask here when I told you 20 minutes earlier in a PM that gif's are not compatible with luaplayer?

  29. #6599
    QJ Gamer Blue
    Points: 3.689, Level: 38
    Level completed: 26%, Points required for next Level: 111
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    168
    Points
    3.689
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    man, did this ever happen to you guys when you started using animlib?
    -= Double Post =-
    starting with line 25:
    25:-- BLIT ANIMATION --

    function ANIM:blit(x, y, delay)

    self.interval = delay
    self.timer:start()

    if self.timer:time() >= self.interval then
    33: self.currentFrame = self.currentFrame + 1
    self.timer:reset()
    end
    Geändert von moncristo_da_dev (04-06-2007 um 08:37 PM Uhr) Grund: Automerged Doublepost

  30. #6600
    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 TacticalPinguin
    Urameshi, why'd you ask here when I told you 20 minutes earlier in a PM that gif's are not compatible with luaplayer?
    no you didnt, you told me that either the code was wrong, or it was because luaplayer windows sucked


 

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

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