#Enemy Spawner coding help

1 messages · Page 1 of 1 (latest)

gritty rampart
#

well you just.. check if it's within 10 of them and if it is you reroll

gritty rampart
#

shouldnt really make a big difference tbf

#

i doubt you're spawning an enemy every frame

gritty rampart
#

wha

#

why

#

it's literally just a 1d distance

#

you just subtract the current x position from that position, then take the absolute value and see if that's less than the allowed distance