Following example can turn door from any angle depends on from where bullet fired up. Not smooth but you get the idea:
https://dl.dropboxusercontent.com/u/659 ... r_hit.capx
You should spawn the spaceship from the portal. When a portal destroyed, it should no longer spawning spaceship. Is that what you want?
Develop games in your browser. Powerful, performant & highly capable.
fisholith Great references you got there. Interactive demo from Pathfinding.js sure teach a lot with various algorithms. And cool video demonstrates alternative method to achieve it. I am about to implement the case for existing flood-fill range demo: https://dl.orangedox.com/UkkZMMQmTfgSKdbeYx Actually that would be first part of tutorial (perhaps in future).
fisholith
Great references you got there. Interactive demo from Pathfinding.js sure teach a lot with various algorithms.
And cool video demonstrates alternative method to achieve it.
I am about to implement the case for existing flood-fill range demo: https://dl.orangedox.com/UkkZMMQmTfgSKdbeYx
Actually that would be first part of tutorial (perhaps in future).
No terrain cost just a distance cost within ranged movement.
Then check following topic:
R0J0 did create great example there.
You mean one shot will turn 30 degree and second shot will turn the door into next 30 degree?
Undo-redo movement? Here what I've done in previous post:
Updated with some visual variation for extra enjoyment!
About creating pattern generator,
right now I only managed to gather values from node joints that intersect on each piece sides. No puzzle shape yet.
https://dl.dropboxusercontent.com/u/659 ... erate.capx
Thinking there would be 68 pieces shape makes me think to manage them into a table by comparing the value before converting them into correct sprite.
You can't rotate smoothly with "one time" condition. Because when the condition is true also exit almost the same time
You need to maintain the condition true by using boolean.
Here I fix it for you:
https://dl.dropboxusercontent.com/u/659 ... e_fix.capx
You still can use touch object. Just register active object UID while touching:
https://dl.dropboxusercontent.com/u/659 ... p_rev.capx
It is already there. Use bullet own expression called 'distance travelled' as a condition.
add collapse-able popping menu
add drawing trails
bring back old smooth zoom target example
Member since 22 Feb, 2012