
And then none of the code works. I've tried looking for a solution but the problem is that a lot of them are written in "computer-speak" and therefore hard to understand. Can someone help this person out? In case you're wondering, here's Camacho's Lua code that's not working:
Code: Select all
local particles = loadAPI("particles");
local effect = particles.Emitter(0, 0, Misc.resolveFile("particles/p_fog.ini"));
effect:AttachToCamera(Camera.get()[1]);
function onCameraUpdate()
effect:Draw();
end
pipeAPI = loadAPI("pipecannon")
pipeAPI.exitspeed = {0,0,0,25,0,25}
pipeAPI.angle = {}
pipeAPI.angle[5] = 0 -- 5 - Nomor warp ; 0 - sudut pipa
pipeAPI.angle[10] = 0
pipeAPI.SFX = 22 -- value biasa (bullet bill sfx), isi 0 untuk diam
pipeAPI.effect = 10 -- isi 0 untuk tdk ada