Pinbak's Recent Forum Activity

  • Haematite Yeah all working fine now. Such a useful tool so thanks for developing it.

  • Haematite Yeah I was just testing on essentially an empty project with a sprite and the vscodeplugin:

    When I open vscode it connects to C3 all fine but gets stuck at generating definitions:

    It generates a few files though:

    I have a feeling its my connection to the internet, as I'm on university's ISP and when I try on my other computer I get the same problem. This is the output log on extension but there are no blatant errors:

    [2021-11-04 09:12:48.430] [exthost] [info] extension host started [2021-11-04 09:12:48.431] [exthost] [info] Skipping acquiring lock for c:\Users\Pinball\AppData\Roaming\Code\User\workspaceStorage\cf6d51b7912fa01beaf41625fba83d13. [2021-11-04 09:12:48.543] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:12:48.543] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:12:48.554] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:12:48.554] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:12:48.558] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:12:48.558] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:12:48.574] [exthost] [info] ExtensionService#_doActivateExtension EdwardBonnett.c3-vscode-extension, startup: true, activationEvent: 'workspaceContains:project.c3proj' [2021-11-04 09:12:48.574] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/.vscode/extensions/edwardbonnett.c3-vscode-extension-1.0.5/out/extension.js [2021-11-04 09:12:49.334] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:12:49.335] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:12:49.474] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:12:49.474] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:12:49.551] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:12:49.551] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:12:49.560] [exthost] [info] eager extensions activated [2021-11-04 09:12:49.567] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:12:49.567] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:12:49.577] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:12:49.577] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:12:49.582] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:12:49.582] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:13:21.693] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:javascript' [2021-11-04 09:13:21.693] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension [2021-11-04 09:15:30.352] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:15:31.374] [exthost] [info] exiting with code 0 [2021-11-04 09:15:31.898] [exthost] [info] extension host started [2021-11-04 09:15:31.979] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:15:31.979] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:15:31.991] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:15:31.991] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:15:31.994] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:15:31.995] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:15:32.220] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:15:32.221] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:15:32.341] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:15:32.341] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:15:32.442] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:15:32.442] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:15:32.453] [exthost] [info] eager extensions activated [2021-11-04 09:15:32.456] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:15:32.456] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:15:32.462] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:15:32.462] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:15:32.465] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:15:32.466] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:16:42.039] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:16:43.046] [exthost] [info] exiting with code 0 [2021-11-04 09:16:43.697] [exthost] [info] extension host started [2021-11-04 09:16:43.698] [exthost] [info] Skipping acquiring lock for c:\Users\Pinball\AppData\Roaming\Code\User\workspaceStorage\cf6d51b7912fa01beaf41625fba83d13. [2021-11-04 09:16:43.932] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:16:43.932] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:16:43.943] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:javascript' [2021-11-04 09:16:43.943] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension [2021-11-04 09:16:43.954] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:16:43.954] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:16:43.958] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:16:43.958] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:16:43.976] [exthost] [info] ExtensionService#_doActivateExtension EdwardBonnett.c3-vscode-extension, startup: true, activationEvent: 'workspaceContains:project.c3proj' [2021-11-04 09:16:43.976] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/.vscode/extensions/edwardbonnett.c3-vscode-extension-1.0.5/out/extension.js [2021-11-04 09:16:44.918] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:16:44.918] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:16:45.067] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:16:45.067] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:16:45.241] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:16:45.241] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:16:45.248] [exthost] [info] eager extensions activated [2021-11-04 09:16:45.252] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:16:45.252] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:16:45.259] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:16:45.259] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:16:45.262] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:16:45.263] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:17:13.152] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:17:14.171] [exthost] [info] exiting with code 0 [2021-11-04 09:17:14.624] [exthost] [info] extension host started [2021-11-04 09:17:14.785] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:17:14.785] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:17:14.795] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:17:14.795] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:17:14.798] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:17:14.798] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:17:14.893] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:17:14.893] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:17:15.016] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:17:15.017] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:17:15.120] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:17:15.120] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:17:15.128] [exthost] [info] eager extensions activated [2021-11-04 09:17:15.131] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:17:15.131] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:17:15.138] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:17:15.138] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:17:15.141] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:17:15.141] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js [2021-11-04 09:19:07.094] [exthost] [info] extension host terminating: renderer closed the socket [2021-11-04 09:19:08.104] [exthost] [info] exiting with code 0 [2021-11-04 09:19:08.739] [exthost] [info] extension host started [2021-11-04 09:19:08.740] [exthost] [info] Skipping acquiring lock for c:\Users\Pinball\AppData\Roaming\Code\User\workspaceStorage\cf6d51b7912fa01beaf41625fba83d13. [2021-11-04 09:19:08.943] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2021-11-04 09:19:08.943] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js [2021-11-04 09:19:08.953] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:javascript' [2021-11-04 09:19:08.953] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/typescript-language-features/dist/extension [2021-11-04 09:19:08.964] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2021-11-04 09:19:08.964] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension [2021-11-04 09:19:08.967] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*', root cause: vscode.github [2021-11-04 09:19:08.967] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main [2021-11-04 09:19:08.983] [exthost] [info] ExtensionService#_doActivateExtension EdwardBonnett.c3-vscode-extension, startup: true, activationEvent: 'workspaceContains:project.c3proj' [2021-11-04 09:19:08.983] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/.vscode/extensions/edwardbonnett.c3-vscode-extension-1.0.5/out/extension.js [2021-11-04 09:19:09.745] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug, startup: false, activationEvent: 'onCommand:extension.js-debug.clearAutoAttachVariables' [2021-11-04 09:19:09.745] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js [2021-11-04 09:19:09.849] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2021-11-04 09:19:09.849] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js [2021-11-04 09:19:09.869] [exthost] [info] eager extensions activated [2021-11-04 09:19:09.877] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2021-11-04 09:19:09.877] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js [2021-11-04 09:19:09.891] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:19:09.891] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain [2021-11-04 09:19:09.897] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:19:09.897] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain [2021-11-04 09:19:09.901] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished' [2021-11-04 09:19:09.901] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/Pinball/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Haematite Great it now connects thanks! However, it still doesn't generate the definition file which means there is no intellisense for the objects, despite regenerating definitions manually. Is there something I'm missing?

  • Haematite Great job - slight problem my vscode project is stuck at connecting I assume to the c3 project, despite generating a debug profile - have I done something very basic wrong?

  • You just have to set an instance variable for the player which toggles to prevent multiple being picked up.

    See the example:

    dropbox.com/s/2ab15rezss5gmq3/pin1.c3p

  • You shouldn't need to use a loop, as all instances that meet the conditions should have the logic applied to them. There must be something else in your code making that happen.

  • 1. you need to post this issue to the construct 2 forums

    2. your project has a 3rd party plugin so can't be opened

  • Ok I realised what the problem was. It wasn't working when I used the on drop event but it is working when using on any touch end.

    I assume this is because the drag and drop behaviour on drop is checked after the on any touch end event. Meaning that by the time the on drop is checked, there is no touch instance to compare. Having said that, doing it the way shown in the image below does work if there is little CPU utilization, but stops working at a certain point.

    The other way works at higher CPU utilization but again, stops working but at a much higher threshold:

    For my project I'll just use on any touch end as it seems a bit more robust.

    Edit: this is a known part of construct and is reported here: github.com/Scirra/Construct-3-bugs/issues/3718

  • I was creating a scroll box with the touch plugin, when I copied and pasted the code to my game. For some reason the scroll box was not working in my game. I eventually worked out that it was the event shown below, as the large project perhaps meant that the touch angle and touch speed where not being stored, instead displaying 0.

    Then I realised that the code probably shouldn't work anyway, as when you remove your finger from the screen, then there isn't any touch speed or angle. So I changed the code to that shown below:

    This works in my project, the only problem is, it stops working when there is a lot going on. To test this I made another project which has a large array that is looped through every tick. After pasting the code shown above, again the engine returns 0. I'm not sure why this is happening, and would like to prevent it as I don't want my game to stop working on slower devices.

    The full code that I tested is shown below:

    Tagged:

  • This is probably due to the object being unreferenced in the event.

    See here:

    construct.net/en/make-games/manuals/construct-3/project-primitives/events/how-events-work

    A screenshot of your code would be useful to understand why this would be happening though.

  • See here:

    construct.net/en/forum/construct-3/how-do-i-8/function-maps-143323

    The reason it only accepts one value is because it passes all parameters after the index entered.

  • To change the name of the game, you must edit the project properties and change the name there, as the file name has no bearing on the exported project:

    To change the icons, you can change them in the project bar:

    After exporting, run the windowsiconupdater.exe, which will update the icon.

Pinbak's avatar

Pinbak

Member since 15 Nov, 2018

Twitter
Pinbak has 1 followers

Trophy Case

  • 5-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies