Curation round 25 (code only): the ultra horsemen and the Beast's background, the Scourge and Polty, the player's last gaps with the frame gate removed, game core, debug and daily, local co-op and player-controlled enemies, TMTRAINER, local versus, the vanilla Lua API, the special-daily fix, shared constants folded (60 duplicates, 10 offline gaps)
This commit is contained in:
1 parent
534339a496
commit
5c89798773
280 files changed
+14904
-5309
No files matched your search
+1
-1
@@ -461,7 +461,7 @@ static void dying_update(Entity_NPC& npc)
|
||||
if (sprite.IsEventTriggered("Shoot2"))
|
||||
for (const Vector& spot : DEATH_BURSTS)
|
||||
{
|
||||
float angle = random_unit() * RANDOM_HALF_TURN * 2;
|
||||
float angle = random_unit() * PI_ROUGH * 2;
|
||||
uint32_t seed = Random();
|
||||
Vector position = vector_make(std::cos(angle) * DEATH_BURST_REACH + spot.x + npc.pos.x,
|
||||
std::sin(angle) * DEATH_BURST_REACH + spot.y + npc.pos.y);
|
||||
|
||||
Reference in new issue
Block a user