GeoffB This is promising! How do I use it in a script?
I tried console.log(c3_runtimeBaseUrl) and it didn't work.
EDIT: seems like it doesn't work with worker enabled.
The most reliable method is to run the editor by version link. This way it will never update itself.
Of course we are launching the editor by direct link (editor.construct.net/r344-2/), but several people are working on the project and human errors do happen. I had to spent several hours once manually editing project files because the game was saved in wrong version. I want to prevent this from happening in the future.
Thanks, but that's not what I was asking.
We are preparing a big game for release and need to stay on Construct version 344-2. But because the editor constantly prompts to update, it's easy to accidentally save the project in a new version.
Is there any way to check C3 version in runtime? I want to display an alert if this happens.
You can encrypt anything, including any JSON files in your project.
But you will have to use "Plain text" file format to store the encrypted data. Request it with AJAX, decrypt and parse into JSON.
You can use the official example to encrypt/decrypt your files:
editor.construct.net
On Tap gesture on Tilemap: Erase Tile (Tilemap.PositionToTileX(Touch.x), Tilemap.PositionToTileY(Touch.y))
Check the manual for other useful expressions:
construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap
another family with same instance
You mean with the same object.
The variable "name" should be defined on the family. It will be available for family and object instances.
then how the "Sprite" with "name : NPC" can "see" the "copy of Sprite" with "name: NPC2" and the "copy of copy of Sprite" with "name: PLAYER" then chase to move on to the nearest of it?
Use a family!
One instance of the sprite will see another instance of the family.
You didn't add a tag to the text. Try appending this text:
"[tag=foo]New option[/tag]"
And also check if the tag "foo" is at (Mouse.X, Mouse.y) position, not at (0,0)
You can use new tags added in the latest beta:
construct.net/en/make-games/releases/beta/r348
Develop games in your browser. Powerful, performant & highly capable.
You can use "Pick all" condition. Notice how the events are nested:
You mentioned a family, but I don't see it on your screenshots.
Add the sprite to a family, move the "name" variable to the family. Then you could pick one instance of the sprite and another instance of the family in the same event.
Member since 26 May, 2016