Chapter 5: Optimizing Your Game
In this chapter, we will focus on how to optimize our games. Since Roblox games can be played on a wide range of devices, including lower-end devices, we need to ensure everyone can have an amazing time while playing our games. Luckily, there are a few tricks we can follow to boost our games’ performance. Besides this, Roblox also has a built-in system called StreamingEnabled. StreamingEnabled will automatically remove parts that are far away from the player if that user is lagging. In this way, their performance will go up. However, since these parts get removed, we need to adjust our scripting style a bit in order to deal with this.
In this chapter, we will cover the following topics:
- Using StreamingEnabled
- Working with animations
- Working with Tweens
By the end of this chapter, you will understand how to boost the performance of your game by using StreamingEnabled. Besides this, we will learn how to use animations in...