Jump to content

Lua Examples Needed


Josh
 Share

Recommended Posts

I want to include a few simple "mini-game" examples in the public demo. Andy's ActionSnake game is a great example. Some other ideas could be a monster truck rally or a fantasy RPG example with a character running around in 3/4 "Zelda" perspective. It doesn't have to be a complete game, but having some kind of playable goal makes it much more engaging.

 

Here are the parameters:

-Coded in uncompiled Lua script.

-Performance is more important than graphics. You don't get any points for having twice as many polygons on screen. Most people don't even understand the idea that more polygons = slower performance.

-Playability is the most important factor. I can include some good-looking scenes, but what people really want is to see an example in script and tinker around with it.

-I recommend just using pre-made media packs from Dexsoft.

 

If you are interested in having your example included in the public demo, keep us informed on your progress. I would like to post the demo at the end of December. You can include any information on your game to get a little exposure from this. Thanks.

 

Ideas:

pure_game_play_03.jpg

 

diablo-3-screenshot-1.jpg

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

http://www.lua.org

 

It's probably easiest just to look at my examples.

I sort of meant specifically to do with your implementation in the editor. But yeah, I am currently looking at your examples. I have a little mini-game in mind already, so I'll see if I can crack it out this week.

Programmer, Modeller

Intel Core i7 930 @ 3.5GHz | GeForce 480 GTX | 6GB DDR3 RAM | Windows 7 Premium x64

Visual Studio 2008 | Photoshop CS3 | Maya 2009

Website: http://srichnet.info

Link to comment
Share on other sites

I'm looking more for stuff that's written as a standalone app, not necessarily something that has to run in the editor. The Lua script editor lets you write and run programs. The scene editor is fun, but I think serious programming needs to be done in the standalone script editor. I picture the demo having an html page that shows you the different games you can play, and for each one, a link to play it and a link to open the script and look at it.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I'm looking more for stuff that's written as a standalone app, not necessarily something that has to run in the editor. The Lua script editor lets you write and run programs. The scene editor is fun, but I think serious programming needs to be done in the standalone script editor. I picture the demo having an html page that shows you the different games you can play, and for each one, a link to play it and a link to open the script and look at it.

 

No problems. I have no idea how LUA works in conjunction with LE from a high level though (DLing and reading up on LUA now). Do we have any LE LUA stand-alone examples yet?

Programmer, Modeller

Intel Core i7 930 @ 3.5GHz | GeForce 480 GTX | 6GB DDR3 RAM | Windows 7 Premium x64

Visual Studio 2008 | Photoshop CS3 | Maya 2009

Website: http://srichnet.info

Link to comment
Share on other sites

Yeah, there are a couple simple ones in the main folder. Just open example01.lua in the script editor and press F5 to run it.

http://leadwerks.com...t#Script_Editor

 

Ah! How simple is that! Rockin, this looks like it'll be fun. :)

Programmer, Modeller

Intel Core i7 930 @ 3.5GHz | GeForce 480 GTX | 6GB DDR3 RAM | Windows 7 Premium x64

Visual Studio 2008 | Photoshop CS3 | Maya 2009

Website: http://srichnet.info

Link to comment
Share on other sites

Hi

thanks for script but for me three things happened:

 

_ cube don't turn at all, is it suppose to ?

_ light directionnal was in debug mode (cage drawn, need to write debuglight of ?)

_ window never close, need closed the editor to exit (i need to put exit key here, i think)

AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...