Jump to content

How would I start making an 'ingame' menu?


Go to solution Solved by Guest,

3 posts in this topic

Recommended Posts

Posted

hello, I am trying to make an ingame menu with a 50% opacity so I can switch on modifications in real time! are there any good tutorials for this? or where should I start :) thank you

(sorry for being so vague)

Posted

hello, I am trying to make an ingame menu with a 50% opacity so I can switch on modifications in real time! are there any good tutorials for this? or where should I start :) thank you

(sorry for being so vague)

yup there are some turorials for that just search up for IGM or in-game menu tutorial :)
  • Solution
Posted (edited)

hello, I am trying to make an ingame menu with a 50% opacity so I can switch on modifications in real time! are there any good tutorials for this? or where should I start :) thank you

(sorry for being so vague)

I know you know objective c, so this will be easy for you. Making an in game menu is literally stacking UIViews and hiding/showing them at the right times :p

 

Basically start by hooking the app's viewController with MSHookIvar and put that into a variable

 

MSHookIvar syntax is as follows:

MSHookIvar<type>(self, "instance variable here");
Then you make a clear background with a frame of main.view.frame so nothing is frozen

 

Then you add your button to the background UIView and keep going from there, adding UILabels, UIAlerts, UISwitches, etc etc until its done :p

 

My btd menu is like 40.5 kb of code with no comments

 

Hope this helped

Updated by Guest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines