-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparticles.lua
More file actions
73 lines (61 loc) · 2.78 KB
/
Copy pathparticles.lua
File metadata and controls
73 lines (61 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
require("sprites")
rockParticleSystem = love.graphics.newParticleSystem(spriteSheet, 100)
rockParticleSystem:setQuads(rockParticle)
rockParticleSystem:setParticleLifetime(1, 3)
rockParticleSystem:setSizeVariation(0.5)
rockParticleSystem:setSpeed(30,50)
rockParticleSystem:setDirection(math.pi / 2)
rockParticleSystem:setLinearAcceleration(0,70,0,90)
rockParticleSystem:setSpread(1)
rockParticleSystem:setSpin(5,7)
rockParticleSystem:setRotation(math.random(0,360))
ironParticleSystem = love.graphics.newParticleSystem(spriteSheet, 100)
ironParticleSystem:setQuads(ironParticle)
ironParticleSystem:setParticleLifetime(1, 3)
ironParticleSystem:setSizeVariation(0.5)
ironParticleSystem:setSpeed(30,50)
ironParticleSystem:setDirection(math.pi / 2)
ironParticleSystem:setLinearAcceleration(0,70,0,90)
ironParticleSystem:setSpread(1)
ironParticleSystem:setSpin(5,7)
ironParticleSystem:setRotation(math.random(0,360))
goldParticleSystem = love.graphics.newParticleSystem(spriteSheet, 100)
goldParticleSystem:setQuads(goldParticle)
goldParticleSystem:setParticleLifetime(1, 3)
goldParticleSystem:setSizeVariation(0.5)
goldParticleSystem:setSpeed(30,50)
goldParticleSystem:setDirection(math.pi / 2)
goldParticleSystem:setLinearAcceleration(0,70,0,90)
goldParticleSystem:setSpread(1)
goldParticleSystem:setSpin(5,7)
goldParticleSystem:setRotation(math.random(0,360))
diamondParticleSystem = love.graphics.newParticleSystem(spriteSheet, 100)
diamondParticleSystem:setQuads(diamondParticle)
diamondParticleSystem:setParticleLifetime(1, 3)
diamondParticleSystem:setSizeVariation(0.5)
diamondParticleSystem:setSpeed(30,50)
diamondParticleSystem:setDirection(math.pi / 2)
diamondParticleSystem:setLinearAcceleration(0,70,0,90)
diamondParticleSystem:setSpread(1)
diamondParticleSystem:setSpin(5,7)
diamondParticleSystem:setRotation(math.random(0,360))
amethystParticleSystem = love.graphics.newParticleSystem(spriteSheet, 100)
amethystParticleSystem:setQuads(amethestParticle)
amethystParticleSystem:setParticleLifetime(1, 3)
amethystParticleSystem:setSizeVariation(0.5)
amethystParticleSystem:setSpeed(30,50)
amethystParticleSystem:setDirection(math.pi / 2)
amethystParticleSystem:setLinearAcceleration(0,70,0,90)
amethystParticleSystem:setSpread(1)
amethystParticleSystem:setSpin(5,7)
amethystParticleSystem:setRotation(math.random(0,360))
forrestiteParticleSystem = love.graphics.newParticleSystem(spriteSheet, 100)
forrestiteParticleSystem:setQuads(forrestiteParticle)
forrestiteParticleSystem:setParticleLifetime(1, 3)
forrestiteParticleSystem:setSizeVariation(0.5)
forrestiteParticleSystem:setSpeed(30,50)
forrestiteParticleSystem:setDirection(math.pi / 2)
forrestiteParticleSystem:setLinearAcceleration(0,70,0,90)
forrestiteParticleSystem:setSpread(1)
forrestiteParticleSystem:setSpin(5,7)
forrestiteParticleSystem:setRotation(math.random(0,360))