#Particles

1 messages · Page 1 of 1 (latest)

frank pier
#

thinkies explain

iron agate
#

I guess he wants to let player fire particles from his head(eyes)

random comet
#

just like a purple straight line going like 20 blocks

#

ive tried

#

but cant seem to figure it out

random comet
frank pier
#

🤷

warped temple
#

loops

random comet
frank pier
#

;p

random comet
frank pier
warped temple
#

send :p

frank pier
warped temple
#

:(

sullen dew
#
function particle_line(l: location, v: vector, length: integer, step-size: number, ceil-wait: integer):
  loop {_length} times:
    add 1 to {_count}
    if {_count} >= {_ceil-wait}:
      wait 1 tick
      delete {_count}
    set standard length of {_v} to loop-value * {_step-size}
    draw 1 of dust using dustOption(light green,1) at {_l} ~ {_v} with extra 0 with force

on left click:
  if player's held item is dried kelp:
    particle_line(location of player's head, vector from yaw player's yaw and pitch player's pitch, 50, 0.25, 5)
#

a function that spawns a dynamic particle line at the players head on left click with a dried kelp

#

values can be changed if need be