Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Learn Lua?

                  
   
  1. #1
    PSP User
    Join Date
    Jun 2006
    Location
    Under your bed (H)
    Posts
    377
    Rep Power
    70

    Question Learn Lua?

    Where would I get the tutorials/compiler for Lua, since I want to start coding.

  2. #2
    DCEmu Pro jman420's Avatar
    Join Date
    Oct 2005
    Location
    Colorado, USA
    Posts
    756
    Rep Power
    76

    Default

    easiest tutorial I used was at www.psp-programming.com if that helps...


    also, as Lua is a scripting language, and there is no code(rather you just write assignments for the Lua player to use), there realy is no ability to compile a code... but it is possible to get a Lua player for PC that allows you to test your program without using a PSP, however, I would suggest just using a psp version of the player, as it would show you how the program would work on a psp..

    and if you need any help, PM me and I can assist you with some entry level Lua coding

  3. #3
    PSP User
    Join Date
    Jun 2006
    Location
    Under your bed (H)
    Posts
    377
    Rep Power
    70

    Default

    Could the script code be made into an EBOOT.PBP?

  4. #4
    DCEmu Coder MasterChafed's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Age
    34
    Posts
    832
    Rep Power
    94

    Default

    the script itself cannot be made into an eboot, but you could make an eboot to load the script like a normal game.
    http://one.revver.com/watch/170516
    http://one.revver.com/watch/167200

    Please click the links above to watch my stick figure animations,
    and please, if you have the time, click the ads at the end to earn me some money.

  5. #5
    DCEmu Pro b8a's Avatar
    Join Date
    Nov 2005
    Posts
    516
    Rep Power
    74

    Default

    Quote Originally Posted by Prasoc
    Could the script code be made into an EBOOT.PBP?
    Yes. But to my knowledge, the only way to do it is if you already have the full PSPSDK installed. Since PSPSDK setup is one of the biggest hurdles to programming the PSP for a lot of people, you probably shouldn't worry about it (to begin with, anyways). Especially if you're looking into using Lua as opposed to C.

  6. #6
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    I am more interested in why do you want to learn Lua in the first place?

  7. #7

    Default

    Quote Originally Posted by yaustar
    I am more interested in why do you want to learn Lua in the first place?
    Probably because its a good language to start off with.... It an be very powerful when you know it well... I you goto lua.org and hen select documentation
    , you can find a online book for lua, its very useful, but remember its meant for pc lua, so make sure the lua interpreter know everything you leanr in that book

  8. #8
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    I find that it isn't the best language to learn. All it is is that it is more accessible for creating PSP programs. It isn't really powerful either, just faster in performence compared to other scripting languages due to its small feature size. If you tried to do any OO in Lua, you know what I mean. There are some really annoying naunces in the language such as the difference copy by value and copy by reference is not seen by the programmer in the syntax.

    If you want to learn how to program, I would have chosen Python which is far more powerful then Lua as a programming language and more usable in the real world.

    To clarify, the book on Lua.org is for pure/base Lua not 'PC' Lua.

  9. #9

  10. #10
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    I don't like evilmana's tutorials, they teach you how to use LuaPlayer and not Lua/Programming which is pretty bad for a new/beginning programmer. The standard Lua Wiki or the book would be better. The problem is that Lua was never meant to be a language to learn to program in hence there is little material for beginning programming in Lua. Psp-programming tutorials are a little better for that.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •