Event #3 is wrong, this is not how you use raycasting. Have you seen the official example?
Instead of the overlapping check you need to use "ray intersected" condition. And set the laser width to LineOfSight.hitdistance
You can compare Sprite.Pathfinding.MovingAngle
+ System: Sprite.Pathfinding.MovingAngle is between -90 and 90 degrees -> Sprite: Set not mirrored + System: Else -> Sprite: Set mirrored
You can add 10*60*1000 to the clock variable every 1 second - this will equal to 10 minutes in milliseconds.
Then convert that value to days/hours/minutes using Date expressions. For example Date.GetHours(clockVar) will return the number of hours.
See the official example for the Date plugin.
howtoconstructdemos.com/using-a-sprite-to-invoke-open-file-dialog-and-a-workaround-for-filechooser-bug-c3p
Use "AJAX Request URL" action. Also I really recommend studying the documentation and a few tutorials. Many of the questions you ask are pretty basic.
construct.net/en/make-games/manuals/construct-3/plugin-reference/ajax
Develop games in your browser. Powerful, performant & highly capable.
You can use raycasting, see this demo:
howtoconstructdemos.com/improved-stealth-game-template-how-to-make-a-visible-cone-of-view
Can you post a screenshot? That wall of text is impossible to understand.
You probably need Date plugin:
construct.net/en/make-games/manuals/construct-3/plugin-reference/date
Using "every X seconds" to track hours and even days is a very bad idea.
You can use FileChooser object.
+ FileChooser: On changed -> AJAX: Request FileChooser.FileURLAt(0) (tag "tag")
Press C to add another condition to the event. Press I to invert it (make it "NOT playing").
If you only want one random name, you don't need a dictionary.
I made a demo project, showing several possible options:
dropbox.com/scl/fi/2oe16nkt0w6c300gq1fbl/NamesLoadFromFile.c3p
Give a tag to the sound. Add a condition to check that this audio tag is not already playing.
It works for me. Can you show your code?
So what's the issue? Simply append the text.
On Space pressed : TextInput append text ("Shot fired!" & newline)
Member since 26 May, 2016