Lua in Blue Mars - TechHui2024-03-28T08:20:20Zhttp://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&commentId=1702911%3AComment%3A67456&x=1&feed=yes&xn_auth=noToru Hisai said:Hi Daniel, Th…tag:www.techhui.com,2010-09-16:1702911:Comment:674562010-09-16T19:20:49.410ZTony Hendrixhttp://www.techhui.com/profile/TonyHendrix
<cite>Toru Hisai said:</cite><blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41283"><div>Hi Daniel, Thank you for a comment!<br></br> I didn't work on the golf game, but I'm working on the online game framework. The golf game is implemented on the framework.<br></br> Maybe, now golf game is more than 1000 lines because we add some features to the game to make it fun. But very simple minigame (including online syncing, Flash UI, matchmaking,…</div>
</blockquote>
<cite>Toru Hisai said:</cite><blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41283"><div>Hi Daniel, Thank you for a comment!<br/> I didn't work on the golf game, but I'm working on the online game framework. The golf game is implemented on the framework.<br/>
Maybe, now golf game is more than 1000 lines because we add some features to the game to make it fun. But very simple minigame (including online syncing, Flash UI, matchmaking, database access) can be less than 1000 lines.</div>
</blockquote>
<br />
I have been trying to work on some scripts (new to LUA) but I know other scripting languages and C#, VB, bla bla...anyway...<br />
I'm trying to make a script for a hot air balloon for one of the city owners there but I'm a little stumped with the vertical movement. I saw the commands from the crytek helicopter script that Blue Mars reports is not used (I didn't know if it meant the api commands or the script), so I'm wondering if there is still a way to script flight, since I saw a flying game in a youtube video about Blue Mars? Any help would be appreciated! Thanks. Yes, I did! Here is my post a…tag:www.techhui.com,2009-05-02:1702911:Comment:415742009-05-02T23:28:26.544ZDaniel Leuckhttp://www.techhui.com/profile/dleuck
Yes, I did! Here is my post about the <a href="http://www.techhui.com/profiles/blogs/1702911:BlogPost:21647">Lightweight Language Future</a> conference in Tokyo.<br />
<br />
<cite>Toru Hisai said:</cite><blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41566"><div>Oh, did you attend the Lightweight Language? I have done some demo there with Gauche (Scheme interpreter). But after I moved to Hawaii, I couldn't attend that.</div>
</blockquote>
Yes, I did! Here is my post about the <a href="http://www.techhui.com/profiles/blogs/1702911:BlogPost:21647">Lightweight Language Future</a> conference in Tokyo.<br />
<br />
<cite>Toru Hisai said:</cite><blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41566"><div>Oh, did you attend the Lightweight Language? I have done some demo there with Gauche (Scheme interpreter). But after I moved to Hawaii, I couldn't attend that.</div>
</blockquote> Oh, did you attend the Lightw…tag:www.techhui.com,2009-05-02:1702911:Comment:415662009-05-02T23:01:34.441ZToru Hisaihttp://www.techhui.com/profile/ToruHisai
Oh, did you attend the Lightweight Language? I have done some demo there with Gauche (Scheme interpreter). But after I moved to Hawaii, I couldn't attend that.
Oh, did you attend the Lightweight Language? I have done some demo there with Gauche (Scheme interpreter). But after I moved to Hawaii, I couldn't attend that. Ah - I see. I remember going…tag:www.techhui.com,2009-05-01:1702911:Comment:413872009-05-01T19:35:35.282ZDaniel Leuckhttp://www.techhui.com/profile/dleuck
Ah - I see. I remember going to a language conference in Japan where a developer demonstrated how the use of proper tail calls in Lua made it easy to create state machines.<br />
<br />
Lua definitely looks much cleaner than ActionScript / Javascript. ActionScript's syntax is very verbose for a scripting language.<br />
<br />
<blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41344"><b>Toru Hisai:</b> I like ActionScript and I have created some Flash-based on-line…</blockquote>
Ah - I see. I remember going to a language conference in Japan where a developer demonstrated how the use of proper tail calls in Lua made it easy to create state machines.<br />
<br />
Lua definitely looks much cleaner than ActionScript / Javascript. ActionScript's syntax is very verbose for a scripting language.<br />
<br />
<blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41344"><b>Toru Hisai:</b> I like ActionScript and I have created some Flash-based on-line communication system. But Lua is more simple and flexible because of coroutine and tail call. So I think Lua is more suitable for scripting games and some other interactive contents.</blockquote> Daniel Leuck said:Very intere…tag:www.techhui.com,2009-05-01:1702911:Comment:413442009-05-01T08:21:25.266ZToru Hisaihttp://www.techhui.com/profile/ToruHisai
<cite>Daniel Leuck said:</cite><blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41303"><div>Very interesting. Did you ever consider using ActionScript as the default scripting language for the entire game, given the fact you already integrated Flash into Blue Mars and use Flex for your UIs?</div>
</blockquote>
I like ActionScript and I have created some Flash-based on-line communication system. But Lua is more simple and flexible because of…
<cite>Daniel Leuck said:</cite><blockquote cite="http://www.techhui.com/forum/topics/lua-in-blue-mars?groupUrl=lua&#1702911Comment41303"><div>Very interesting. Did you ever consider using ActionScript as the default scripting language for the entire game, given the fact you already integrated Flash into Blue Mars and use Flex for your UIs?</div>
</blockquote>
I like ActionScript and I have created some Flash-based on-line communication system. But Lua is more simple and flexible because of coroutine and tail call. So I think Lua is more suitable for scripting games and some other interactive contents.<br />
<br />
Everyday I write Lua and ActionScript and C++, so sometime I'm confused these syntax :D Very interesting. Did you eve…tag:www.techhui.com,2009-04-30:1702911:Comment:413032009-04-30T23:47:45.864ZDaniel Leuckhttp://www.techhui.com/profile/dleuck
Very interesting. Did you ever consider using ActionScript as the default scripting language for the entire game, given the fact you already integrated Flash into Blue Mars and use Flex for your UIs?<br />
<br />
<blockquote><b>Toru Hisai:</b> Maybe, now golf game is more than 1000 lines because we add some features to the game to make it fun. But very simple minigame (including online syncing, Flash UI, matchmaking, database access) can be less than 1000 lines</blockquote>
<br />
I look forward to trying it…
Very interesting. Did you ever consider using ActionScript as the default scripting language for the entire game, given the fact you already integrated Flash into Blue Mars and use Flex for your UIs?<br />
<br />
<blockquote><b>Toru Hisai:</b> Maybe, now golf game is more than 1000 lines because we add some features to the game to make it fun. But very simple minigame (including online syncing, Flash UI, matchmaking, database access) can be less than 1000 lines</blockquote>
<br />
I look forward to trying it again! Hi Daniel, Thank you for a co…tag:www.techhui.com,2009-04-30:1702911:Comment:412832009-04-30T22:28:36.868ZToru Hisaihttp://www.techhui.com/profile/ToruHisai
Hi Daniel, Thank you for a comment!<br />
I didn't work on the golf game, but I'm working on the online game framework. The golf game is implemented on the framework.<br />
Maybe, now golf game is more than 1000 lines because we add some features to the game to make it fun. But very simple minigame (including online syncing, Flash UI, matchmaking, database access) can be less than 1000 lines.
Hi Daniel, Thank you for a comment!<br />
I didn't work on the golf game, but I'm working on the online game framework. The golf game is implemented on the framework.<br />
Maybe, now golf game is more than 1000 lines because we add some features to the game to make it fun. But very simple minigame (including online syncing, Flash UI, matchmaking, database access) can be less than 1000 lines.