timcs's Recent Forum Activity

  • I think I have found the issue, it is when you rename the object on the new layout after it has been copied. I am going to test this on a new project to see if it happens then. It appears fine when the layout has been copied but as soon as I renamed the new object to something else it seems to change the same object on the original layout as well and then they both have the same UID

  • zenox98 I will upload a capx file for this, however the release you have is this just a testing release and not a public release ?

    ** EDIT **

    Now I feel embrassed as I have tried to re-create this on this release and cannot I know it was definatley happening because everytime I change the object name on the new layout, it kept changing it on the original and the UIDs were the same aarrrrrrghhhh.

    Sorry to waste everyones time

  • You will need to provide a .capx as requested in the Bug Report Requirements, especially as I have just tested this on r241 and UIDs are definitely unique and not duplicated on new Layout.

    OK Do I have have access to this version or has this not been released ?

  • Problem Description

    When choosing to duplicate a layout and create a new layout from this, the objects within the new layout have the same UID as the original

    Steps to Reproduce Bug

    • Step 1 - Right Click on a layout in the object inspector and click duplicate
    • Step 2 - Give the new layout a different name and then check the UIDs for the objects and they will be the same as the original.

    __

    Expected Result

    That the UIDS are unique for the new layout

    Operating System and Service Pack

    Windows 10 pro 64bit

    Construct 2 Version ID

    release 239 (64bit)

  • 99Instances2Go that is what I have tried and the UIDs remain the same on both layouts

    Ashley Ok thanks for this

  • Hi

    I have read this thread : and searched avidly on this forum for an answer but I have struggled to find what I am after.

    Basically I need to copy/clone the structure of a layout from one scene to another but when I do this with duplicate or copy and paste, the UIDs of the original objects remain the same for the newly copied objects which means that when I change the object name on the newly copied version, it renames the object name on the existing version.

    Is there an easy way of doing this or would I have to keep adding and layouting the same structure on the new layout ?

  • Got this working by adding <preference name="android-installLocation" value="auto"/> just under the line

    <preference name="android-targetSdkVersion" value="21" />

    in the config.xml file which is created when exporting from Construct 2 having the use new Intel XDK project format option unticked.

    My only problem now is if the Construct2 Cordova Plugins will be able to work or not with phonegap :/

  • Hi

    After putting together a fairly small app/game with construct 2 , I found that Intel XDK was generating a massive compiled file of 111MB once installed onto my device. I then decided to give phonegap a go and found that once installed the app was only 1.26mb !!. All be said this game /app will inventually get bigger and so I noticed that when I compiled the project with Intel XDK I could move the app to the SD card within the devices application manager.

    However on installing the compiled app/game through phonegap, this option was disabled. I looked around the net and found this link : http://ourcodeworld.com/articles/read/1 ... or-android

    However I did not understand the part about install the plugins etc but I have tried to add the preference name line mentioned on this page into my exported Construct folders intelxdk.config.android.xml file in the section <platform name="android"> but when I save this file, re-build through phonegap after updating the code, uninstall the app from the device and then re-install it with the new build , the option to move to SD card is still disabled.

    Can anyone please advise how I get this option to work with phonegap as this file size difference is amazing!

    **EDIT **

    I then noticed that the file for the settings was being built as intelxdk.config.android.xml because when exporting from Construct 2 the option to export with the new Intel XDK format was ticked. However after unticking this , although it created the config.xml , I hit two issues , the first being that there was not XML tag to refer to the installation location (which I then added myself but this has made no difference to resolving the issue) and the second appears that the plugin I added from the Construct2_Cordova_Plugins pack may not be compatible with Phonegap, shame if that is the case). I then removed the Construct2_Cordova_Plugin from the project re-exported it from Construct 2 with the new Intel XDK option taken off and the installation location in the config.xml but I am still not able to get this to work.

  • Just an update I have been in touch with the author of the plugins and the way to install them is to drag each of the required plugins straight into Construct when it is open and then restart it

    Thought it might be useful to mention this in case anyone else has the problem

  • You should contact the plugin's author and ask for a fix. It seems to me that it's not compatible with the newest version of C2.

    Thanks for your reply glerikud , I thought I was doing something wrong then. I presume all plugins needs the common.js files?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Right took a plunge and bought this along with Construct 2 (not just because of the plugins is why I bought Construct 2 ) However now even on looking at the authors website I am lost to how to use them because copying the folder of the plugins I want to use into the plugin folder of Construct 2 does not work as it errors with no common.js found

  • Lets converge.

    If this works:

    https://www.dropbox.com/s/qrtegi0qmx6a4 ... .capx?dl=0

    What do i miss ?

    This could work I presume the playerbox does not have to had a border around it ? will have to try this is out with the type of brush I am using with the game. Again thanks a lot 99Instances2go and have a good Christmas.

    Regards

    TimCS

timcs's avatar

timcs

Member since 27 May, 2016

None one is following timcs yet!

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies