lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Joel!
My point on PS2 has nothing to do with Lua, which was the point!  We run into C compiler issues more than Lua issues on PS2 was what I was trying to say :-)  

But I was actually going to send a note to this list about the PS2 Lua anyway, so I might as well do that now :-)

A month or so ago somebody on this list mentioned that their PS2 Lua implementation worked but was speeded up by doing something or other (something with memory or alignment I think). I can't seem to find it in the archives (is there a better way to search them btw?).  Anyway, if anybody is using Lua on the PS2 can you post what changes you made to optimize it?

For the record, all we did on the PS2 was to change the Lua number definition from double to float and it compiled and ran fine.  Same with GameCube.  Any console developer advice would be appreciated on other things that would optimize Lua though.

Cheers,
Brett
ps: tell Bill Schmitt hiya for me.

----- Original Message ----- 
From: "Joel Pritchett" <jpritchett@sammystudios.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Tuesday, December 09, 2003 8:38 AM
Subject: RE: Simple AI Scripting, Help Me!


> Hey Brett- 
> 
> Out of curiousity, what kind of PS2 problems have you been having? We're
> running it on PS2 and haven't run into anything *yet*. Yet being the
> operative word. Just want to know so I don't end up being confused
> unnecessarily down the road (which happens pretty easily). 
> 
> joel
> 
> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br
> [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Brett Bibby
> Sent: Monday, December 08, 2003 4:33 PM
> To: Lua list
> Subject: Re: Simple AI Scripting, Help Me!
> 
> Tim,
> The people here are really trying to help you.... get it?  That doesn't
> sound very nice does it?  Think about that.  People here are helping you
> in spite of your rudeness, not because of it.
> 
> Meanhwile, I also had, and continue to have, problems with Lua. But I
> have even MORE problems with my compiler on PS2, GameCube endian bugs,
> etc. etc., so don't blame Lua or the people on this list for your
> problems.
> 
> Also, do you realize the calibre of people on this list? What you want
> is for somebody who has less time and more experience than you have to
> do your work for you. What would you do if you didn't have Lua? Or an
> internet connection?  Remember, you're free to stop using Lua and go use
> some other language any time you please!
> 
> Have you actually tried to implement any of the proposed help offered to
> you? Did you check the archives?
> 
> Brett
> 
> ----- Original Message ----- 
> From: "Tim" <tryness@comcast.net>
> To: "Lua list" <lua@bazar2.conectiva.com.br>
> Sent: Tuesday, December 09, 2003 5:44 AM
> Subject: Re: Simple AI Scripting, Help Me!
> 
> 
> > If I had the time, this is all predicated on time, which I have nill.
> We
> > have like a short
> > time to do a game, we don't have much staff to work this game, we have
> most
> > of an engine
> > I have little to no gameplay, I wanted to use lua to help get gameplay
> fast,
> > then offload
> > the scripting to someone else who can read a sample script I provide,
> and be
> > good to
> > add other things, and basically bug me about exposing more functions,
> I
> > don't have the
> > time to read lua manual 45 times, and sit back and drink a beer, and
> read it
> > again, this isn't
> > rehab, what I want to do is so basic, it blows my mind.
> > 
> > what I want in simple form.
> > 
> > player 1 uses player1.lua
> > in the script there are 3 functions, init, proc, exit
> > 
> > player 2 uses player2.lua
> > in the script there are 3 functions, init, proc, exit
> > 
> > player3 uses player3.lua
> > in the script there are 3 functions, init, proc, exit
> > 
> > etc etc, get it?
> > 
> > init is called once in my game init.. it does whatever it needs to do,
> to
> > set up the player.
> > 
> > proc is called once per game frame, until game end, or player die etc.
> > 
> > exit is called once on exit
> > 
> > I would guess I would need co-routines, or muliple lua_states, how to
> I set
> > them up, THE BIG THING how do I interface them with my GAME to make
> them
> > work, you know how much time I have spent reading nothing but .lua
> files, I
> > don't care about how they work inside lua, I want to know how they
> work
> > together with my app, there is plenty of good documents on the
> scripting
> > langauge itself, I can figure that out, but there is little or no
> > documentation on interfacing it with your app.
> > 
> >