This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Scripting resources?


Scripting resources?

Postby Repentant » Jun 7, 2004 @ 9:31pm

Greetings;

I'm starting development on my first ppc project. I'm finding that a number of tasks would lend themselves well to a scripting solution, such as python or somesuch.

Do script interpreters currently exist on the PPC? I'd rather not write my own if I don't have to :)

Thanks!
Repentant
pm Member
 
Posts: 3
Joined: Jun 4, 2004 @ 10:10pm


Postby sponge » Jun 7, 2004 @ 9:43pm

There's always http://www.rainer-keuchel.de/wince/perlce.html
Our very own PPL might be suited too
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Kzinti » Jun 7, 2004 @ 10:04pm

LUA. Easiest to use/integrate. Does the job. Nice runtime performances (memory footprint and execution speed).

http://www.lua.org/
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Dan East » Jun 7, 2004 @ 11:00pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby sponge » Jun 7, 2004 @ 11:04pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby egarayblas » Jun 8, 2004 @ 1:23am

Hyperspace Delivery Boy (by Monkeystone) uses Lua as well.

- Erick
-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby Kzinti » Jun 8, 2004 @ 2:17am

More and more games use LUA. It is that good. We used it in Homeworld 2 and are currently using it in Warhammer 40K + all our other unannounced products (whatever that means).

I haven't tried it on WinCE, but I was told it was straighforward to port. It is actually quite straightforward to port to any platform as it is purely standard "C".
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby sponge » Jun 8, 2004 @ 2:20am

What's with the sudden surge of popularity on the PC side? I remember Far Cry making extensive use of it, seems like you're hearing about it everywhere now.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Kzinti » Jun 8, 2004 @ 2:51am

LUA is popular for the following things:

1) Fast (it uses a simple bytecode processor)
2) Can load text scripts or compiled ones (bytecode)
3) It is as easy as it get be to integrate with C and C++. You can bind whole classes and call LUA from C++ and the other way around, easily.
4) It has a very small memory footprint.
5) There is tons of librairies to extend it... Even visual debuggers that integrate with VC.
6) It's cross-platform. It works everywhere with little or no modifications.
7) It's free.
8) The community is big.


I am sure there is more, but in a nutshell, that's it. It's simply the best there is.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby sponge » Jun 8, 2004 @ 3:31am

It seems like it came out of nowhere overnight, to be included in all these big name games, although from my limited experience, it's obvious why. That PPC standalone interpeter might give me a reason to start learning LUA a bit moer.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Kzinti » Jun 8, 2004 @ 3:44am

Oh it's been around for a long time... It is simply that more and more people know about it.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Conan » Jun 9, 2004 @ 10:48am

Thierry or someone else, can you explain briefly, as if to a child, what scripting does within a game. What would I use it for?
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby sponge » Jun 9, 2004 @ 11:34am

In Stuntman Evolution, it handles all the missions, and vehicles. Far Cry also has scripts done in LUA, and configs, etc. Basically, if you add a scripting language for any part of your game, you can open it up to easy modding by the end-user, instead of hard-coding it in your language of choice.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby refractor » Jun 9, 2004 @ 11:47am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby kornalius » Jun 11, 2004 @ 4:40am

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum