Actually I just checked with 1.2.12 and textures and sounds are reloaded when you select Reload Project from menu. Are you sure it does not work?Montis wrote:You probably restarted the editor. That's required to reload the assets for now (bug).
Shakin the camera (Solution found)
Re: Shakin the camera (Solution found)
Re: Shakin the camera (Solution found)
This happened in the version previous to 1.1.12
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: Shakin the camera (Solution found)
Ok, thanks. I'll remove the bug from my todo list.
Re: Shakin the camera (Solution found)
there is a way to set how much time the camera shakes?
Re: Shakin the camera (Solution found)
The duration (the second number) variable. It's a number that represents the number of seconds will shake. (can be a decimal such as 0.4 or 1.83)
So to shake the camera at intensity one half for three seconds it would look like this:
So to shake the camera at intensity one half for three seconds it would look like this:
Code: Select all
function scareshake()
party:shakeCamera(0.5,3)
end
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
- King Semos
- Posts: 123
- Joined: Sun Apr 15, 2012 6:05 pm
Re: Shakin the camera (Solution found)
Edit, oops I realised I posted in, somewhat the wrong thread, this one is very old. But it was a link given to me in my thread to help solve a problem, sorry for the old thread.
I can't seem to get it working.
I've put some code in an lua script_entity, and I think I've done everything right because it doesn't say it's invalid.
What I've done is caused the shakescreen function to happen when a certain door opens.
When I toggle the door open and closed, nothing happens. 

I can't seem to get it working.
I've put some code in an lua script_entity, and I think I've done everything right because it doesn't say it's invalid.
What I've done is caused the shakescreen function to happen when a certain door opens.
Code: Select all
-- the shakes
function shakemgood()
if zdoor:open() == true then
party:shakeCamera(1,1)
end
end

- TheLastOrder
- Posts: 104
- Joined: Wed Oct 17, 2012 1:56 am
Re: Shakin the camera (Solution found)
Interesting... 

Re: Shakin the camera (Solution found)
You need to use zdoor:isOpen(), not zdoor:open().King Semos wrote: What I've done is caused the shakescreen function to happen when a certain door opens.
When I toggle the door open and closed, nothing happens.Code: Select all
-- the shakes function shakemgood() if zdoor:open() == true then party:shakeCamera(1,1) end end
- Ciccipicci
- Posts: 154
- Joined: Mon Oct 08, 2012 12:55 am
Re: Shakin the camera (Solution found)
For my dungeons I use this: http://soundbible.com/suggest.php?q=ear ... e&x=2&y=13
It fits perfectly with the basic shacking camera value copied from the forum with a realistic touch of some rocks falling after the shake effect ends.
It fits perfectly with the basic shacking camera value copied from the forum with a realistic touch of some rocks falling after the shake effect ends.
- TheLastOrder
- Posts: 104
- Joined: Wed Oct 17, 2012 1:56 am
Re: Shakin the camera (Solution found)
(Sorry for my english)Batty wrote:LOL
Earthquake sound
Earthquake particle effectCode: Select all
playSound("earthquake")
Note: spawn(object, level, x, y, facing, [id])Code: Select all
spawn("fx", 1, 15, 15, 3, "dust") dust:setParticleSystem("earthquake_dust")
Thanks to Lmaoboat's LED dungeon display code.
Hi!! Once I've read all about the original LoG sound (earthquake) and its aplicattion, I post this:
I've been looking for AN HOUR!! a solution to avoid the "loop" in the earthquake sound that repeats.
But nothing...
I've used hidden pressure plates that starts timers (initially stopped) to break the loop, different scripts making all kind of posibilities that I know (including break code properly) without solve that problem...
I'm sure we are missing something...

P.D: infinite earthquake sound as prize for an hour of useless work...