Re: how can you change variables in the options menu

2019-07-11 Thread AudioGames . net Forum — Developers room : ivan_soto via Audiogames-reflector


  


Re: how can you change variables in the options menu

This is just some example code to get you started. I'm not sure how your system works but here goes.if(m.get_item_name(mres)=="playlogo") {playlogo=(playlogo==1?0:1);speak("Logo "+(playlogo==1?"on":"off"));savesettings();optionsmenu();}

URL: https://forum.audiogames.net/post/448117/#p448117




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: how can you change variables in the options menu

2019-07-10 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: how can you change variables in the options menu

I suggest reading serialization tutorial.

URL: https://forum.audiogames.net/post/448095/#p448095




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: how can you change variables in the options menu

2019-07-10 Thread AudioGames . net Forum — Developers room : audiogame via Audiogames-reflector


  


Re: how can you change variables in the options menu

You need a saves system.

URL: https://forum.audiogames.net/post/448042/#p448042




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: how can you change variables in the options menu

2019-07-10 Thread AudioGames . net Forum — Developers room : bopitmaster34 via Audiogames-reflector


  


Re: how can you change variables in the options menu

But how do you make it where it saves your settings. When I hit escape in the options menu, it exits and doesn't save the settings. So don't know

URL: https://forum.audiogames.net/post/448006/#p448006




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: how can you change variables in the options menu

2019-07-09 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector


  


Re: how can you change variables in the options menu

Both is fine. get item name however is more reliable as you might mistake the item positions when doing mres==1 or so. Simply check when the item is "disable playing of logo" set the int to 0 and go back to the menu, and when it is "enable playing of logo" set the int to 1 and again go back to the main menu

URL: https://forum.audiogames.net/post/447936/#p447936




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


how can you change variables in the options menu

2019-07-09 Thread AudioGames . net Forum — Developers room : bopitmaster34 via Audiogames-reflector


  


how can you change variables in the options menu

Hi guys. So I added a logo to my game, and I don't want it to play if I don't want it to. I already declared an int variable that you can change to 0 if you don't want it to play the logo, and change to 1 if you want it to. The problem I am having is I am coding an options menu with the option to enable and disable the logo (change the variable). I don't know how I can do it. I am using the menu.bgt. I don't know if I have to use if (mres==1), or if (m.get_item_name(mres)=="then the name of the option. I just don't know. and whoever said to stop using bgt, I am not going to. So yeah don't know but if you can help, cool.

URL: https://forum.audiogames.net/post/447933/#p447933




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector