Advertisement
Guest User

YandereDev/EvaXephon rejecting more advice for his code

a guest
Jul 4th, 2018
1,923
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1.  
  2. Lesła - Last Tuesday at 1:44 AM
  3. Hello. I found this video, are you able to give opinions? https://www.youtube.com/watch?v=MmjeYVk_DHk
  4.  
  5.  
  6. Just saying, I don't have a opinion on it. I'm not looking to attacking you, I just want to hear your thoughts.
  7.  
  8. YandereDev - Last Tuesday at 6:51 PM
  9. There are some scripts that don't affect the game's performance at all, because they only run for one frame. For these scripts, efficiency is not very important; I only prioritize making them easy to read and easy to modify. For scripts that DO run on every frame, I always try my best to make them as efficient as possible.
  10.  
  11. Nobody ever takes screenshots of the efficient scripts...people only take screenshots of the ones where efficiency wasn't a priority. :thinking:
  12.  
  13. Lesła - Last Tuesday at 10:39 PM
  14. I see...
  15.  
  16. I noticed your Patreon pay per month dropping, and it's close to dropping below 3,500 dollars which you say is your monthly salary. What happens if it drops below your monthly salary? Will you stop working on the game if that happens?
  17. Also, wouldn't be a good move to show off some efficient scripts? A lot of people don't think your code is efficient and showing off some scripts would just prove them wrong.
  18.  
  19. YandereDev - Yesterday at 8:16 AM
  20. If it drops beneath a certain threshold, then I'd downgrade it from a full-time job to a hobby
  21. I don't want to spend time responding to troll claims like "his code is inefficient" because stupid claims like this shouldn't be taken seriously in the first place.
  22. Lesła - Yesterday at 12:07 PM
  23. Okay. But if you don't mind, can I see examples of efficient code? If you're confident that your code is efficient, you shouldn't have trouble with showing off some examples of efficient scripts...(edited)
  24. YandereDev - Yesterday at 12:25 PM
  25. Attachment file type: unknown
  26. RandomSoundScript.cs
  27. 285 bytes
  28. There's a script that plays a random sound.
  29.  
  30. It looks pretty efficient to me.
  31.  
  32. Lesła - Yesterday at 12:53 PM
  33. 'using UnityEngine;
  34.  
  35. public class RandomSoundScript : MonoBehaviour
  36. {
  37. public AudioClip[] Clips;
  38.  
  39. void Start()
  40. {
  41. AudioSource audioSource = this.GetComponent<AudioSource>();
  42. audioSource.clip = this.Clips[Random.Range(1, this.Clips.Length)];
  43. audioSource.Play();
  44. }
  45. }'
  46.  
  47. This thing here?
  48. This is a very simple script to write. I imagine that you have to write more complex code, especially in a game like Yandere Simulator. And the amount of if else scripts I see in screenshots kind of makes me feel like you might not be very good at coding. If you don't show anyone anything complex but efficient in your code, it just doesn't seem like you're the best you can be at what you do.
  49. Obviously, you will learn to make things more and more efficient over time. You have a lot of room to improve your skills, and you're going to go really far if you continue to learn more about C#(edited)
  50. Just keep trying to learn more and more about coding. I promise you that you will get better over time.
  51.  
  52. You have been blocked by YandereDev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement