It simple, just make this script and import this into main.lua at the very beginning:
spellEffects={}
function spellEffects:CastSpell(something)
.
.
.
end
Then you can call spellEffects:CastSpell() anywhere in your game and you don't need multiple scripts or importing.
Yes, it's not possible that way. I had the same question here: http://www.leadwerks.com/werkspace/topic/10616-importing-one-script-into-two-different-scripts/
Take a look how default AnimationManager script functions. You can do the same thing.
Or maybe just use global table with all your effects, this will be simpler actually. And you won't need to import any scripts anywhere.
Can anyone suggest a good software to render blood sprite sheet like in this demo?
I have tried in Blender, but it's fluid simulation seems so inconvenient. I guess you can't even make it splash without actually dropping something into the water.
Exactly. In my opinion minimum specs should be able to run the game at 60 fps (or 50 at least) on lowest possible settings.
I'm not paying for a game to be able to launch executable file, I'm paying to be able to have good experience.
self.Fire() is also correct, but it doesn't send "self" to a function which resulted in your errors. When you use "self:Fire" you make "self" accessible inside this function.
I would make legs of the turrents parent and rotating part child, othervise base of the turret will rotate with it's top. Just attach a top part as a child in Blender and export them both, they will come as a combined model.
I have only used Shadmar's solution and it's amazing. Solution by Mattline1 requires messing with C++ and I don't even have VS on my PC at the moment because I'm limited on space on system drive so that's a problem for me for now, while Shadmar's PBR just replaces some shaders and everything works.
Just offset a camera with small random value every frame.
camera:SetPosition(camera.position + Vec3(Math.Random(-0.1,0.1), Math.Random(-0.1,0.1), Math.Random(-0.1,0.1)))