(Ep 1.5) Big Numbers with BreakInfinity! - Unity C# Idle Game Tutorial Series [2021 Edition]

Опубликовано: 08 Октябрь 2024
на канале: Considera Core
16,255
329

CryptoGrounds: Coding and Gaming, for Everyone!

Please note: I am doing this episode now rather than later because this will have you determine whether you want super large numbers or not. If you do not want super large numbers:
You can still use this! May be easier to follow along, but everything will work the same.
If you plan not on using these scripts, please watch all the way through as there are some important things I explain.

Hello! In this video on how to support your game for large numbers and how to get the BreakInfinity.cs scripts working.

Github: https://github.com/Razenpok/BreakInfi...
BigDouble: https://controlc.com/f34ec941
BigDoubleEditor: https://controlc.com/19ef7b83
Math Classes:   / c_learning_the_difference_between_all_math  

What is BreakInfinity?
BreakInfinity is a namespace made by Patashu and Razenpok, thank you =). It has all the math methods that System.Math and UnityEngine.Mathf has, but made for BigDoubles. System.Math is intended for doubles (but can be used for BigDoubles), and UnityEngine.Mathf is intended for floats (but can be used for the other two).
What is BigDouble?
BigDouble is a struct, a special kind of class, basically it's a value type, to make a variable.
What's the difference between a class and struct?
Well, a class is a reference type. Whenever you create an object (of a certain class), it's making a reference of that class, while structs make a copy every time you declare the struct variable (example: BigDouble).

After this video you will have a good understanding on how the BreakInfinity namespace works and how to correctly use the three different math classes (mentioned above).

If you enjoyed this video, be sure to leave a like and drop a comment below! If you are new and you are interested in many game development tutorials and gaming videos, subscribe to my channel and turn on notifications! I do my best to post daily tutorial videos explaining the best I can! Thank you :D

~~ SUPPORT ME~~
Join Discord:   / discord  
FREE: Like, Comment, Subscribe, Turn on notifications, and watch the entire video!
PATREON:   / cryptogrounds  
PAYPAL: https://www.paypal.me/cryptogrounds
PLAY MY GAMES: https://www.cryptogroundsgames.com
GET SOME MERCH: https://teespring.com/stores/cryptogr...



💲TRX Donations Accepted!
TTYitvh8mcVfrUFEz3npNGdtMfY3oCdeu3

🔊 Stay Connected!
Turning on notifications for when I upload videos and streams would help to notify everyone on market changes!

❤️Other Accounts❤️
Twitch:   / cryptogrounds  
Twitter:   / crypto_grounds  

#unity #idlegame #unityidlegame