Skip to content

Commit

Permalink
Added some sample particles (ci skip) (#1594)
Browse files Browse the repository at this point in the history
Co-authored-by: Semphris <semphris@protonmail.com>
  • Loading branch information
Semphriss and Semphris committed Dec 5, 2020
1 parent b6d47d6 commit aba7e3a
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 0 deletions.
Binary file added data/particles/generic/bubble.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions data/particles/generic/bubbles.stcp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
(supertux-custom-particle
(texture
(surface "particles/generic/bubble.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 1)
(scale_x 1)
(scale_y 1)
)
(texture
(surface "particles/generic/bubble.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 2)
(scale_x 0.5)
(scale_y 0.5)
)
(texture
(surface "particles/generic/bubble.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 0.5)
(likeliness 1)
(scale_x 0.75)
(scale_y 0.75)
)
(z-pos 0)
(main-texture "/images/engine/editor/sparkle.png")
(amount 100)
(lifetime 10)
(birth-time 0)
(death-mode "fade")
(death-time 0.75)
(acceleration-y -256)
(friction-x 2)
(friction-y 2)
(feather-factor 1)
(collision-mode "destroy")
(cover-screen #f)
)
Binary file added data/particles/generic/bug_but_it_looks_bad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/particles/generic/leaf.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions data/particles/generic/leaves.stcp
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
(supertux-custom-particle
(texture
(surface "particles/generic/leaf.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 1)
(scale_x 1)
(scale_y 1)
)
(texture
(surface "particles/generic/leaf.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 1)
(scale_x 0.75)
(scale_y 0.75)
)
(z-pos 0)
(main-texture "/images/engine/editor/sparkle.png")
(amount 10)
(delay 0.5)
(lifetime 10)
(birth-time 0)
(death-mode "fade")
(death-time 0.75)
(speed-var-x 256)
(speed-var-y 256)
(acceleration-y 200)
(friction-x 1)
(friction-y 1)
(feather-factor 1)
(rotation-variation 360)
(rotation-speed 360)
(rotation-speed-variation 360)
(rotation-decceleration 1)
(rotation-mode "wiggling")
(collision-mode "bounce-heavy")
(offscreen-mode "always")
(cover-screen #f)
)
Binary file added data/particles/generic/puff_round.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions data/particles/generic/snow.stcp
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
(supertux-custom-particle
(texture
(surface "images/particles/snow0.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 1)
(scale_x 1)
(scale_y 1)
)
(texture
(surface "images/particles/snow1.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 1)
(scale_x 1)
(scale_y 1)
)
(texture
(surface "images/particles/snow2.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 1)
(likeliness 1)
(scale_x 1)
(scale_y 1)
)
(texture
(surface "particles/generic/puff_round.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 0.02)
(likeliness 1)
(scale_x 0.25)
(scale_y 0.25)
)
(texture
(surface "particles/generic/puff_round.png")
(color_r 1)
(color_g 1)
(color_b 1)
(color_a 0.1)
(likeliness 1)
(scale_x 0.1)
(scale_y 0.1)
)
(z-pos 0)
(main-texture "/images/engine/editor/sparkle.png")
(amount 500)
(delay 0.05)
(lifetime 10)
(birth-time 0)
(death-mode "fade")
(death-time 0.75)
(speed-x 256)
(speed-y 256)
(speed-var-x 256)
(speed-var-y 256)
(acceleration-x 128)
(acceleration-y 128)
(friction-x 2)
(friction-y 2)
(feather-factor 0.5)
(rotation 360)
(rotation-variation 360)
(rotation-speed 360)
(rotation-decceleration 10)
(rotation-mode "wiggling")
(collision-mode "stick")
(cover-screen #f)
)

0 comments on commit aba7e3a

Please sign in to comment.