Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411431 Posts in 69363 Topics- by 58417 Members - Latest Member: gigig987

April 20, 2024, 04:39:24 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityTownhallForum IssuesArchived subforums (read only)TutorialsSliding menu system using Texture Mask shader
Pages: [1]
Print
Author Topic: Sliding menu system using Texture Mask shader  (Read 1242 times)
Leaghorn
Level 0
**



View Profile WWW
« on: April 12, 2016, 09:24:30 AM »

Hi guys

I posted my Menu System on the internets and people liked it so I made a tutorial on how to achieve that effect.

http://leaghorn.com/blog_maskMenu.html

I made in UNITY, but the method is universal and can be used in ANY engine that has mask shader.



This is how it looks like in game:





It's really simple and light so it can be used on mobiles also.

The way it works is that each menu screen has a mask object behind it and when it slides aside it uncovers the menu behind it.






I used the simpler method in my game but I also described in tutorial how to do the harder method, with static screens.
In this method screens don't slide aside, they stay static and only the bar slides on sides and cover/uncover screens.





Maybe someone will like it so feel free to use it.

Cheers
Leaghorn
« Last Edit: April 12, 2016, 01:27:39 PM by Leaghorn » Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic