If you require any special tutorial or instruction please make your request here.

area transition tutorial

area transition tutorial

Postby lordalmighty1 » 31 Jan 2015, 12:30

I was wondering if there was a tutorial on how to go from outside to inside on 2 different maps and link them together please?.
like for example im outside and about to enter a sewer or other enclosed area which would not easily see the outside world, and be made on a 2nd map scene that has nothing of the previous map scene on it.

is there a special way to do this with the action editor ect?.
User avatar
lordalmighty1
Skyline Moderator
Skyline Moderator
 
Posts: 442
Joined: 02 Jan 2014, 12:13
Location: uk
Skill: Great creative
Skill: Level Designer

Re: area transition tutorial

Postby SolarPortal » 31 Jan 2015, 12:35

you can load a different scene using the lua command.

Code: Select all
sky.loadScene("level1");


You could use a trigger box sat around the door, that when entered can activate a key to press that loads the next level.

There is also a techdemo in the:
"Asset Library\Scenes\Tech Demos\Misc\Level Loading_Main.xSkyScene"
This is a gui scene, that loads 3 other scenes and can load back to the main level again :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: area transition tutorial

Postby lordalmighty1 » 31 Jan 2015, 12:39

nice, thanks I will try the tech demo :)
User avatar
lordalmighty1
Skyline Moderator
Skyline Moderator
 
Posts: 442
Joined: 02 Jan 2014, 12:13
Location: uk
Skill: Great creative
Skill: Level Designer


Return to Tutorial Request

Who is online

Users browsing this forum: No registered users and 1 guest