Resources
Skyline resources; Third party applications, Demo Scenes, Action plug-ins, Action Scripts, Presets etc any thing that can be used by Skyline

Script: In game pause menu

Script: In game pause menu

Postby epsilonion » 11 Sep 2015, 21:51

Summery:
This is a rough script at the moment and I will update the post with a full demo scene of the working script when complete.

I thought I would post it and update it as I go because time is limited at the moment and I only get 5 mins here 5 mins there on the editor.

I will be updating teh script to use the systems game states.

How to use:
Place this script in your scene script of every level that you want a pause menu.

How the script works is by disabling the esc to quit the game and you press Esc to enter the pause menu, this then calls a GUI with buttons that can be what ever you want in your pause menu examples of buttons:

    continue game
    save
    load
    exit to main menu
    exit to desktop

This script gives you a general starting point for your own in game pause menu.

Files:
pausemenu.lua
Pausemenu lua file
(2.19 KiB) Downloaded 526 times
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Script: In game pause menu

Postby TattieBoJangle » 11 Sep 2015, 21:56

Great work Liam and thanks for sharing :D
Case: CM Storm Trooper CPU: I7 5930k X99 Cooler: Noctua NH-D15 Graphics: Asus GTX 1080 Motherboard: Rampage Extreme V x99 Ram: RipJaws DDR4 3000mhz Storage: x2 SSD Crucial 500GB + x5 2TB Hdd PSU: Evga 1500w OS: Windows 10
User avatar
TattieBoJangle
Community Manager
Community Manager
 
Posts: 858
Joined: 26 Jan 2015, 00:15
Location: United Kingdom
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer
Skill: Great creative

Re: Script: In game pause menu

Postby epsilonion » 11 Sep 2015, 22:00

no problem mate. :D
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Script: In game pause menu

Postby SolarPortal » 11 Sep 2015, 23:07

Thanks liam :D Yeah, we understand the limited time to do things lol :P
This sounds pretty cool and will be good to see in action. Looking forward to the scenes too :)
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


Return to Resources

Who is online

Users browsing this forum: No registered users and 4 guests

cron