[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.5355694 [View]
File: 141 KB, 650x856, d9b9f446f1adafc818b0934c65cb5d23.jpg [View same] [iqdb] [saucenao] [google]
5355694

>>5354783

Booster's ammo system has a "smart" randomizer that constantly checks the player's equipment/ammo status in order to determine what should spawn. For example, shell ammo has a chance to spawn either Jet Divider or Nitro Wheel ammo. If you're full up on Nitro Wheel ammo, there's a lower chance Nitro Wheel ammo will spawn. If you don't even have the Nitro Wheel, there's a muuuuuch lower chance.
Because of this, the ammo constantly monitor's the player's status. So on extremely large maps, there's a LOT of shit checking on the player every couple of tics, which causes a huge performance drop. Swapping to Universal or Randomized can take care of this quickly, but I'd like to figure out a way to better streamline the code so that this doesn't happen as much.
Booster's mapsets of choice are already pretty limited, limiting them even further would just kind of be crippling.

Navigation
View posts[+24][+48][+96]