[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
Skyline Forums Skyline Game Engine Community Forums 2015-04-01T10:47:13+01:00 https://forum.aurasoft-skyline.co.uk/feed.php?f=46&t=965 2015-04-01T10:47:13+01:00 2015-04-01T10:47:13+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4621#p4621 <![CDATA[Re: OOP in Lua without using MetaTables]]> :D

Shando, it is actually much easier than it seems at first glance. :)

Statistics: Posted by ant0N — 01 Apr 2015, 10:47


]]>
2015-04-01T10:15:55+01:00 2015-04-01T10:15:55+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4620#p4620 <![CDATA[Re: OOP in Lua without using MetaTables]]>

Very nice tutorial and very understandable. Now, I just have to go into a darkened room, read your tutorial many times and convince myself that I can learn how to use metatables :lol:

Shando

Statistics: Posted by Shando — 01 Apr 2015, 10:15


]]>
2015-04-01T09:40:43+01:00 2015-04-01T09:40:43+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4619#p4619 <![CDATA[Re: OOP in Lua without using MetaTables]]> I think your english is fine and very readable :D

Lua is a very powerful language and continues to amaze me with the amount of workflows it has. :)

Statistics: Posted by SolarPortal — 01 Apr 2015, 09:40


]]>
2015-04-01T08:57:46+01:00 2015-04-01T08:57:46+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4616#p4616 <![CDATA[Re: OOP in Lua without using MetaTables]]>

Statistics: Posted by ant0N — 01 Apr 2015, 08:57


]]>
2015-03-30T16:40:37+01:00 2015-03-30T16:40:37+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4595#p4595 <![CDATA[Re: OOP in Lua without using MetaTables]]>

Statistics: Posted by StarFire — 30 Mar 2015, 16:40


]]>
2015-03-30T16:31:50+01:00 2015-03-30T16:31:50+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4594#p4594 <![CDATA[Re: OOP in Lua without using MetaTables]]>

Statistics: Posted by ant0N — 30 Mar 2015, 16:31


]]>
2015-03-30T16:09:28+01:00 2015-03-30T16:09:28+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4590#p4590 <![CDATA[Re: OOP in Lua without using MetaTables]]>
@Shando, very nice approach. It's a very simple and elegant solution. I didn't know you could create functions with the "dot". I have been using the single colon, which i don't like very much.

Statistics: Posted by SolarPortal — 30 Mar 2015, 16:09


]]>
2015-03-30T14:33:30+01:00 2015-03-30T14:33:30+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4575#p4575 <![CDATA[Re: OOP in Lua without using MetaTables]]>
antON this would be great, we have given you access to the wiki and set you up with a development area. Check your pm for login info.

Statistics: Posted by StarFire — 30 Mar 2015, 14:33


]]>
2015-03-29T10:49:55+01:00 2015-03-29T10:49:55+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4555#p4555 <![CDATA[Re: OOP in Lua without using MetaTables]]>

thanks for the help!

Statistics: Posted by ant0N — 29 Mar 2015, 10:49


]]>
2015-03-29T10:42:25+01:00 2015-03-29T10:42:25+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4554#p4554 <![CDATA[Re: OOP in Lua without using MetaTables]]>
If you want, you can write it in Russian and then use some translator (Google Translate, Systran, PROMT etc.) to convert it to English.

Obviously, your English is better than my Russian ;) but my Dad can speak and read Russian, so I could ask him to take a look, and let us know if the translation is accurate (unfortunately, he's not really computer literate, but he can let me know the general translation, and I can then reword as necessary??).

Let me know if you need any help.

Shando

Statistics: Posted by Shando — 29 Mar 2015, 10:42


]]>
2015-03-29T08:08:15+01:00 2015-03-29T08:08:15+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4553#p4553 <![CDATA[Re: OOP in Lua without using MetaTables]]>

I can write about metatable, but I can't properly write comments in English. :D

Statistics: Posted by ant0N — 29 Mar 2015, 08:08


]]>
2015-03-29T05:55:03+01:00 2015-03-29T05:55:03+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=965&p=4552#p4552 <![CDATA[OOP in Lua without using MetaTables]]>
I have just put up a new Tutorial on the Wiki:



Since I can't seem to get my head around MetaTables (@ant0N - any chance of creating a tutorial on how to use MetaTables??), I found a Tutorial on the web that explained how to use OOP in Lua, without using MetaTables ;) From this, I created my own, which I have now uploaded onto the Wiki.

Shando

PS: for those of you who want to see the original Tutorial I found, it's available here:

Statistics: Posted by Shando — 29 Mar 2015, 05:55


]]>