This commit is contained in:
Aria 2025-03-21 22:23:30 +11:00
commit 9c94d113d3
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
10260 changed files with 1237388 additions and 0 deletions

View file

@ -0,0 +1,6 @@
{
"frameGrid" : {
"size" : [32, 8],
"dimensions" : [2, 1]
}
}

View file

@ -0,0 +1,23 @@
require "/scripts/rails.lua"
function init()
mcontroller.setRotation(0)
local railConfig = config.getParameter("railConfig", {})
railConfig.speed = config.getParameter("speed")
self.railRider = Rails.createRider(railConfig)
self.railRider:init()
end
function update(dt)
self.railRider:update(dt)
if self.railRider:onRail() then
projectile.setTimeToLive(5)
end
end
function uninit()
self.railRider:uninit()
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

View file

@ -0,0 +1,42 @@
{
"projectileName" : "railplatform",
"image" : "railplatform.png",
"animationCycle" : 0.25,
"physics" : "grenade",
"frameNumber" : 2,
"pointLight" : false,
"speed" : 20,
"power" : 0.0,
"bounces" : 0,
"timeToLive" : 10,
"actionOnReap" : [
{
"action" : "config",
"file" : "/projectiles/explosions/smallregularexplosion/smallregularexplosion.config"
}
],
"orientationLocked" : true,
"physicsCollisions" : {
"platform" : {
"collision" : [
[-2, -0.5],
[2, -0.5],
[2, 0.5],
[-2, 0.5]
],
"collisionKind" : "platform"
}
},
"scripts" : [ "railplatform.lua" ],
"scriptDelta" : 2,
"damageTeam" : { "type" : "ghostly" },
"clientEntityMode" : "ClientSlaveOnly"
}