* track end z index fixes
This commit is contained in:
parent
d8b40d1bf9
commit
d5f9faabf2
|
@ -42,7 +42,8 @@ local particlesStartTime = 0.25;
|
|||
local particlesDuration = 0.2;
|
||||
|
||||
local particles = {
|
||||
green_dot_one = {
|
||||
{
|
||||
name = 'green_dot_one',
|
||||
texture = particleGreenDot1Image,
|
||||
opacity = 1,
|
||||
startX = 1280,
|
||||
|
@ -54,7 +55,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
green_dot_two = {
|
||||
{
|
||||
name = 'green_dot_two',
|
||||
texture = particleGreenDot2Image,
|
||||
opacity = 1,
|
||||
startX = 1280,
|
||||
|
@ -66,7 +68,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
blue_ring = {
|
||||
{
|
||||
name = 'blue_ring',
|
||||
texture = particleBlueRingImage,
|
||||
opacity = 1,
|
||||
startX = 1280,
|
||||
|
@ -78,7 +81,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
large_rainbow_ring = { -- TODO: scale transitions
|
||||
{ -- TODO: scale transitions
|
||||
name = 'large_rainbow_ring',
|
||||
texture = particleLargeRainbowRingImage,
|
||||
opacity = 0,
|
||||
startOpacity = 0,
|
||||
|
@ -92,7 +96,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
red_ball = {
|
||||
{
|
||||
name = 'red_ball',
|
||||
texture = particleRedBallImage,
|
||||
startOpacity = 0,
|
||||
finishOpacity = 1,
|
||||
|
@ -104,7 +109,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
red_ring = {
|
||||
{
|
||||
name = 'red_ring',
|
||||
texture = particleRedRingImage,
|
||||
opacity = 1,
|
||||
startX = -600,
|
||||
|
@ -116,7 +122,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
small_yellow_ring_1 = {
|
||||
{
|
||||
name = 'small_yellow_ring_1',
|
||||
texture = particleSmallYellowRing1Image,
|
||||
opacity = 1,
|
||||
startX = 1280,
|
||||
|
@ -128,7 +135,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
small_yellow_ring_2 = {
|
||||
{
|
||||
name = 'small_yellow_ring_2',
|
||||
texture = particleSmallYellowRing2Image,
|
||||
opacity = 1,
|
||||
startX = 1280,
|
||||
|
@ -140,7 +148,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
small_rainbow_ring = {
|
||||
{
|
||||
name = 'small_rainbow_ring',
|
||||
texture = particleSmallRainbowRingImage,
|
||||
opacity = 1,
|
||||
startX = 1280,
|
||||
|
@ -152,7 +161,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
yellow_ring = {
|
||||
{
|
||||
name = 'yellow_ring',
|
||||
texture = particleYellowRingImage,
|
||||
opacity = 1,
|
||||
startX = -600,
|
||||
|
@ -164,7 +174,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
blue_flare = {
|
||||
{
|
||||
name = 'blue_flare',
|
||||
texture = flareEndBlueImage,
|
||||
opacity = 1,
|
||||
startX = -1500,
|
||||
|
@ -176,7 +187,8 @@ local particles = {
|
|||
startTime = particlesStartTime,
|
||||
duration = particlesDuration
|
||||
},
|
||||
pink_flare = {
|
||||
{
|
||||
name = 'pink_flare',
|
||||
texture = flareEndPinkImage,
|
||||
opacity = 1,
|
||||
startX = 1500,
|
||||
|
@ -262,7 +274,7 @@ local tickTransitions = function (deltaTime)
|
|||
end
|
||||
|
||||
local drawParticles = function ()
|
||||
for particleName, particle in pairs(particles) do
|
||||
for index, particle in ipairs(particles) do
|
||||
gfx.BeginPath();
|
||||
gfx.ImageRect(
|
||||
particle.xPos,
|
||||
|
@ -273,7 +285,7 @@ local drawParticles = function ()
|
|||
particle.opacity,
|
||||
0
|
||||
);
|
||||
-- game.Log(particle.currentX, game.LOGGER_ERROR)
|
||||
-- game.Log(particle.name, game.LOGGER_ERROR)
|
||||
end
|
||||
|
||||
gfx.BeginPath();
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in New Issue