Beautifully done. I learned alot from this! Thanks.
@CobainSnake Жыл бұрын
I know this is a year old - haven't gotten all the way through it yet, but if you update your Save Settings when you close the Setting Menu, that will reduce the calls you need that you are currently making in your Global Settings script. Hope that idea helps you :) Everything else was great here (and in the live version)
@F4ngb0n32 жыл бұрын
Learned a BUNCH! Thank you so much!!! I do have an issue though; in the _ready() function of the Settings script, Godot is telling me the display_options_btn is a 'null instance'. I have it setup exactly like yours with the onready var but it throws it everytime
@rayuserp2 жыл бұрын
were you able to resolve the issue? Do you still need help?
@F4ngb0n32 жыл бұрын
@@rayuserp yes I was able to figure it all out. Can't remember what the exact issue was but found a work around and got it all sorted!
@yutsuneko2 жыл бұрын
Very instructive, thanks you!
@redteller Жыл бұрын
so i tried added other indexes but didnt work and now im getting "Invalid get index 'fullscreen_on' (on base: 'Dictionary'). ive checked to make sure everything is spelt and cased right. even went back on the video to make sure i did everything right. any suggestions?
@EthernalOynuyor Жыл бұрын
Good video, one thing tho all of my settings get saved without problems but the sound sliders don't, they just reset after every launch?
@paulosullivan34723 жыл бұрын
Can you make a video on how to make a menu where the key-bindings can be changed by the player?
@rayuserp3 жыл бұрын
sorry for the late reply now to answer your question maybe in the future.
@paulosullivan34723 жыл бұрын
@@rayuserp thanks!
@TheInfamousLegend272 жыл бұрын
okay so i used this video for help a while ago and it's worked great...except for when i tried to re-add mouse sensitivity customisation. while it reads and saves any changes made without issue, even with the connected signals and custom methods on the player controller i can't get any value from the custom sensitivity i set. i've set it up like you have in this video and nothing, without a default variable for the sensitivity godot is saying the value is null. any suggestions?
@rayuserp2 жыл бұрын
Do you have the code on GitHub so I can see it? Or is it possible for you to show me the code you are using to try and save the sensitivity
@TheInfamousLegend272 жыл бұрын
@@rayuserp it keeps hiding my comments that i put the link on wtf
@rayuserp2 жыл бұрын
hm thats weird
@TheInfamousLegend272 жыл бұрын
@@rayuserp and again, what the hell man
@rayuserp2 жыл бұрын
@@TheInfamousLegend27 honestly it is pretty weird because normally it would show me on my channel dashboard any comments held for review but it's not showing up
@betterteen2 жыл бұрын
how to make a reset button in settings to reset settings to default ?
@wagihhegazy2667 Жыл бұрын
Here's the code for "save.gd" if anybody is too lazy to write it. extends Node const SAVEFILE = "user://SAVEFILE.save" var game_data = {} func _ready(): load_data() func load_data(): var file = File.new() if not file.file_exists(SAVEFILE): game_data = { "fullscreen_on": false, "vsync_on": false, "display_fps": false, "max_fps": 0, "bloom_on": false, "brighteness": 1, "master_vol": -10, "music_vol": -10, "sfx_vol": -10, "fov": 70, "mouse_sens": .1, } save_data() file.open(SAVEFILE, File.READ) game_data = file.get_var() file.close() func save_data(): var file = File.new() file.open(SAVEFILE, File.WRITE) file.store_var(game_data) file.close()
@-Siddarth-3 жыл бұрын
Awesome tutorial!
@direnbulut13182 жыл бұрын
How is the fullscreen comming faster then in your 2hour tutorial? thats pretty interesting :D
@TheInfamousLegend272 жыл бұрын
cos it's a 33-minute cut of a 2 and 1/2 hour video lmao
@owenlloyd2528 Жыл бұрын
Thank you
@-Siddarth-3 жыл бұрын
Hey rayuse! Can you make a video on how to make an NPC that just runs around? I have tried a lot of methods but all of them don't seem to work! Thank you!
@rayuserp3 жыл бұрын
Hm maybe, that just has to do with pathfinding which I actually have a video on it already you would just have to modify it to work with points instead such as position2ds instead of following the player
@plutoniumgamestudio2 жыл бұрын
I cant download the githun projekt, it shows 404 error coulld you help me?
@rayuserp2 жыл бұрын
Sorry about that the link was broken for some reason. It should be fixed now
@plutoniumgamestudio2 жыл бұрын
@@rayuserp Oh thanks, its working now!
@mr_sauce_cooks2 жыл бұрын
Im getting this error and can't get rid of it if anyone fixed it help me Invalid get index 'master_vol' (on base 'dictionary')
@rayuserp2 жыл бұрын
did you check that you dictionary key is called master_vol exactly case being important as well
@LuizAntonio_Gameplay2 жыл бұрын
could do custom input and joystick
@RyanScottForReal2 жыл бұрын
Would love to see that github
@rayuserp2 жыл бұрын
The project is linked in the longer version but I will include it here thanks for reminding
@rayuserp2 жыл бұрын
its now available in the description
@nectof3 жыл бұрын
Thx!
@plutoniumgamestudio2 жыл бұрын
Hi! all its good, but i cant see you doing the "display fps". Btw amazing tutorial!
@rayuserp2 жыл бұрын
There' s a longer version of this on the channel where I live streamed the entire process and show more of the settings
@plutoniumgamestudio2 жыл бұрын
@@rayuserp Okay
@madness20483 жыл бұрын
Good, but how to show fps?
@rayuserp3 жыл бұрын
i show all that in the longer version of this tutorial were I was actually live video should be on the channel
@madness20483 жыл бұрын
@@rayuserp Thanks.
@TheInfamousLegend272 жыл бұрын
you can achieve it in a single line of code by passing it through a label. the code is: label.text = "FPS: " + str(Performance.get_monitor(Performance.TIME_FPS)) obviously i'm late to commenting but it's easier than watching through a 2hr video to get one tid bit of the settings menu lmao
@madness20482 жыл бұрын
@@TheInfamousLegend27 thanks)
@TheInfamousLegend272 жыл бұрын
@@madness2048 no worries :)
@alexanderouseph Жыл бұрын
Bro's not gonna explain anything because of time limitations and ends up making a 33 min video. Irony
@rayuserp Жыл бұрын
30mins is definitely an overview compared to the 2+hr in-depth video.
@decryptedchaos2 жыл бұрын
"I'm not going to explain in detail" var tutorial = "failed" "I'll put the code on github" var told_the_truth = false is.a.good.youtuber = false
@direnbulut13182 жыл бұрын
he made a in depth tutorial on this: kzbin.info/www/bejne/mYLOdoObn8SaiLc