improvements to particles and animation can now have variable speed
This commit is contained in:
@@ -212,8 +212,10 @@ function Player:doPhysics()
|
||||
-- dash particle
|
||||
local particle_data = {
|
||||
animation = self.body,
|
||||
animation_speed = 0,
|
||||
sprite_tint = hex2rgb("#fed100"),
|
||||
sprite_alpha = 0.5,
|
||||
time = 0.2,
|
||||
sprite_flip = {
|
||||
x = self.sprite_flip.x,
|
||||
y = self.sprite_flip.y
|
||||
@@ -245,8 +247,10 @@ function Player:doPhysics()
|
||||
|
||||
local particle_data = {
|
||||
animation = self.body,
|
||||
animation_speed = 0,
|
||||
sprite_tint = hex2rgb("#fed100"),
|
||||
sprite_alpha = 0.5,
|
||||
time = 0.05,
|
||||
sprite_flip = {
|
||||
x = self.sprite_flip.x,
|
||||
y = self.sprite_flip.y
|
||||
|
||||
Reference in New Issue
Block a user