[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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]/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 112: 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 112: 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 112: 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-07-23T10:42:14+01:00 https://forum.aurasoft-skyline.co.uk/feed.php?f=14&t=1102 2015-07-23T10:42:14+01:00 2015-07-23T10:42:14+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5759#p5759 <![CDATA[Re: main.lua or equivalent]]>

Statistics: Posted by SolarPortal — 23 Jul 2015, 10:42


]]>
2015-07-22T22:12:34+01:00 2015-07-22T22:12:34+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5754#p5754 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by epsilonion — 22 Jul 2015, 22:12


]]>
2015-07-22T15:16:48+01:00 2015-07-22T15:16:48+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5735#p5735 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by epsilonion — 22 Jul 2015, 15:16


]]>
2015-07-22T13:09:34+01:00 2015-07-22T13:09:34+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5734#p5734 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by SolarPortal — 22 Jul 2015, 13:09


]]>
2015-07-22T10:31:50+01:00 2015-07-22T10:31:50+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5729#p5729 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by SolarPortal — 22 Jul 2015, 10:31


]]>
2015-07-22T00:10:02+01:00 2015-07-22T00:10:02+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5728#p5728 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by epsilonion — 22 Jul 2015, 00:10


]]>
2015-07-21T23:55:07+01:00 2015-07-21T23:55:07+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5727#p5727 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by epsilonion — 21 Jul 2015, 23:55


]]>
2015-07-21T19:47:51+01:00 2015-07-21T19:47:51+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5723#p5723 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by SolarPortal — 21 Jul 2015, 19:47


]]>
2015-07-21T19:44:47+01:00 2015-07-21T19:44:47+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5722#p5722 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by epsilonion — 21 Jul 2015, 19:44


]]>
2015-07-11T14:51:45+01:00 2015-07-11T14:51:45+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5521#p5521 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by SolarPortal — 11 Jul 2015, 14:51


]]>
2015-07-11T11:24:04+01:00 2015-07-11T11:24:04+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5518#p5518 <![CDATA[Re: main.lua or equivalent]]> Statistics: Posted by epsilonion — 11 Jul 2015, 11:24


]]>
2015-07-11T03:23:32+01:00 2015-07-11T03:23:32+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5517#p5517 <![CDATA[Re: main.lua or equivalent]]>
This one is specifically related to Game Programming and seems to be relatively easy to understand (it relates to JavaScript, but don't get put off by that as the principles are the same):



This one is a bit more in-depth and specifically relates to combat design in games:



Hope these help??

If not, post back and I'll see if I can put together a quick tutorial on how they work in Skyline.

Shando

Statistics: Posted by Shando — 11 Jul 2015, 03:23


]]>
2015-07-11T03:10:00+01:00 2015-07-11T03:10:00+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5516#p5516 <![CDATA[Re: main.lua or equivalent]]>
It confuses the hell out of me tbh..

for instance in each scene when calling the mainmenu state it would load the main menu scene, upon exiting the scene making the call you would then save a file with all the data you require such as player stats, position, scene name (for reloading maybe) etc etc..

Maybe do the same for a ingame pause menu....

Statistics: Posted by epsilonion — 11 Jul 2015, 03:10


]]>
2015-07-11T01:04:50+01:00 2015-07-11T01:04:50+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5515#p5515 <![CDATA[Re: main.lua or equivalent]]>
AFAIK there is no main.lua file, though I could be wrong ;)

I would actually create a separate Menu Scene, and call that when you need it by swapping Scenes (you can always use Global Variables, or an XML/JSON/Text file to recreate any variables that you need to retain - hopefully inbuilt XML/JSON support will be coming soon).

So, you would call your Scenes something like this:

Menu -> Scene1 -> Menu -> Scene2 -> Menu etc.

HTH

Shando

PS: There are also the prebuilt Game State options (GameStart, GamePause, GameOver, GameWin, plus 10 User States) which are detailed in the Scripting Docs - . So, you could use these and have different Menus depending on which State is currently selected?

Statistics: Posted by Shando — 11 Jul 2015, 01:04


]]>
2015-07-10T22:53:49+01:00 2015-07-10T22:53:49+01:00 https://forum.aurasoft-skyline.co.uk/viewtopic.php?t=1102&p=5510#p5510 <![CDATA[main.lua or equivalent]]>
In the above software there is a main lua file that your main script goes in and as a result you only have to write the main menu/pause menu etc once and it calls each level/scene from there.

Is there a similar way to do that or do I have to write the menus etc etc into each and every scene?

I am a little confused on this point.

Statistics: Posted by epsilonion — 10 Jul 2015, 22:53


]]>