mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 20:22:33 -06:00
10 lines
296 B
Python
10 lines
296 B
Python
|
from toontown.battle import BattleParticles
|
||
|
|
||
|
def createSnow(geom):
|
||
|
snow = BattleParticles.loadParticleFile('snowdisk.ptf')
|
||
|
snow.setPos(0, 0, 5)
|
||
|
snowRender = geom.attachNewNode('snowRender')
|
||
|
snowRender.setDepthWrite(0)
|
||
|
snowRender.setBin('fixed', 1)
|
||
|
|
||
|
return snow, snowRender
|