Talk:Lua:Tutorials:Scripting with LuaPlus and Cpp
From GPWiki
The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server. However, the GPWiki forums are still active! Come say hello. This document contains lots of small errors and is mixed with information that is either not applicable to Lua or just simply wrong. If anything, it should be called "scripting with LuaPlus and C++" as opposed to "Lua and C++." This article links to a dead website (as of this writing luaplus.org DNE) and out of date content (gamedev.net). There is also an entire Wiki devoted to Lua already, with much more pertinent data. http://lua-users.org/wiki/ is the URL if you're interested. Hi there. Your feedback is welcomed, although more specific information would be nice. The one piece of information that you give us to go on is that the luaplus.org website is dead. Thank-you for that, I will remove the link. As for your other comments, yes, there may be a Lua wiki, but this wiki is dedicated to game programming, and as such, this tutorial attempts to relate the use of Lua and C++ to game programming. If you believe you can correct the errors in the article, please do so and help us out! Thanks. Ryan Clark 18:26, 22 Jan 2005 (EST) http://www.luaplus.org works perfectly. It simply redirect to: http://www.luaplus.org/tiki-index.php I think the article explains pretty much that instead of Lua, I will be using LuaPlus. I wrote it just after getting my first things to work, and will work out more detail later. btw: Even if the GD.net article might be out of date, DirectX8 articles are still usefull to DirectX9, aren't they? :-). With a few minor differences. --Almar Joling 11:25, 23 Jan 2005 (EST) --- Sorry Almar, I didn't mean to say anything bad about your tutorial, but I do have an interest in LUA, and your tutorial is really not applicable at all. Here is a quote from the luaplus tiki, "The LuaPlus distribution contains some modifications to the core Lua code base. As such, it is not an official distribution of Lua 5.01 (which may be found at http://www.lua.org/), nor does it intend to represent itself as one." I think the same care should be taken here to not represent this modification, i.e. LuaPlus as though it was Lua. As I suggested earlier, it should be titled "Scripting with LuaPlus and Cpp." Also, that gamedev.net article is not usefull because Lua is not backwards compatible. The gamedev.net article is for Lua 4, and the things it talks about have been totally removed from Lua 5. It would be like reading a directx 7 article on Direct Draw to learn how to use Directx 8. Since there is no direct draw in dx8 and no tags in lua 5 the ideas from one simply can't be applied to the other. To give a better idea of how this is named totally wrong, it would be like learning how to use BlitzBasic and then saying you know DirectX. I'm not saying LuaPlus is bad, I'm saying this article is named wrong. And for this recored this is Eric Coleman. Apparently the wiki doesn't save login information like the message board, so I assumed I was logged in. And apparently I'm not logged in now, and I can't be bothered to go through the steps to remember my password before I submit. You can check IP addresses to verify it's actually me. ---Actually, you can make it remember your login. There is a checkbox that says something like "remember this login across multiple sessions". I had to check it twice though. It didn't work the first time. --Lachlan87 09:07, 27 Jan 2005 (EST) Thanks for the info, Eric. I've renamed the article. Ryan Clark 09:35, 27 Jan 2005 (EST)
The code you can write in a texteditor, is still Lua. The way of accessing it is just different. I guess I should add some more regarding LuaPlus. Unfortunatly, my time is getting nearly to 0 soon :(. Hm. I'll see what I can do, soon or somewhat later :). Maybe you could write a tutorial about 'pure' Lua. :) --Almar Joling 17:53, 27 Jan 2005 (EST) Hooray for pure Lua without wrappers :) I always get even more confused when trying to read about Lua wrappers for C++ so I finally said screw it. I would like to write a tutorial on Lua, but unfortunately I don't know much of it myself :) - sik0fewl 18:06, 27 Jan 2005 (EST)
--Almar Joling 03:47, 28 Jan 2005 (EST)
Thanks for sharing your adventures into the unknown Almar ;) - Sion 21:27, 10 Feb 2005 (GMT+1)
This weekend I'm plannin to work on some Lua stuff though, (LuaPlus) for my game. I might post a snippet somewhere maybe :) ^ That was me, Almar :)
|


