summaryrefslogtreecommitdiff
path: root/assets/scripts
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-26 01:29:00 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-26 01:29:00 +0200
commitb28d5f6dbedd5b895eed4cc5b730581df3b2215d (patch)
tree9bb750d3f30ff731ce2c60f6a845fff25f20b668 /assets/scripts
parent6c7152aada204bfdfa6e39cdfea5e10440e0ed36 (diff)
Initial implementation of Wraith.
Diffstat (limited to 'assets/scripts')
-rw-r--r--assets/scripts/aw_level1.particle51
-rw-r--r--assets/scripts/aw_level1.shader27
2 files changed, 78 insertions, 0 deletions
diff --git a/assets/scripts/aw_level1.particle b/assets/scripts/aw_level1.particle
new file mode 100644
index 0000000..5a230a2
--- /dev/null
+++ b/assets/scripts/aw_level1.particle
@@ -0,0 +1,51 @@
+gfx/level1/warpEnterPS
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/level1/warpParticle1
+ displacement 0 0 0 0
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 0
+ velocity 0 0 1 0
+
+ radius 0 100 0
+ alpha 0 1.0 -
+
+ lifeTime 100
+ }
+
+ count 1
+ delay 0
+ period 0 - 0
+ }
+}
+
+gfx/level1/warpExitPS
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/level1/warpParticle1
+ displacement 0 0 0 0
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 0
+ velocity 0 0 1 0
+
+ radius 0 100 0
+ alpha 0 1.0 -
+
+ lifeTime 100
+ }
+
+ count 1
+ delay 0
+ period 0 - 0
+ }
+}
diff --git a/assets/scripts/aw_level1.shader b/assets/scripts/aw_level1.shader
new file mode 100644
index 0000000..951c4c0
--- /dev/null
+++ b/assets/scripts/aw_level1.shader
@@ -0,0 +1,27 @@
+gfx/level1/warpOverlay
+{
+ {
+ map gfx/level1/warpOverlay.jpg
+ blendFunc GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_SRC_COLOR
+ }
+ {
+ map gfx/level1/warpOverlay2.jpg
+ blendFunc filter
+ }
+}
+
+gfx/level1/warpOverlayBlocked
+{
+ {
+ map gfx/level1/warpOverlayBlocked.jpg
+ blendFunc filter
+ }
+}
+
+gfx/level1/warpParticle1
+{
+ {
+ map gfx/level1/warpParticle1.jpg
+ blendFunc add
+ }
+}