Grimmy's Forum Posts

  • Game runs fine in test, but when I try an export (Android Cordova Debug APK) it fails. The log error shows the following:

    main.js:759 Error exporting: TypeError: Cannot read properties of undefined (reading 'split')

    All the details are filled out correctly (I think) in the Mobile Export properties (Android ID, iOS ID,Spoof Location: Disabled, Show on STartup:True)

    NOTE: If I remove the Mobile Advert plugin the export works fine.

    Any ideas?

    Thanks

  • For example, say my video has a green screen in it; Is there a way to eliminate the green inside C3 when playing back the video but leaving the other colours intact?

    I can use the ReplaceColor effect on the video for example, but it doesn't allow the replaced colour to have any alpha so I can only replace my green with a solid colour.

    Thanks

    Simon

  • Ah I think I found it. It was picking the template from an old backup layout that I had. I 'think' it must pick the template from the first layout listed in the project directory because this morning I put all my old backup layouts into a subdirectory.

    I guess it was choosing a template from this layout instead of the layout I wanted because it was higher on the list.

    I just deleted the old layout and now it seems to be doing everything correctly!

    So the moral is: Check if you have any other instances of the object in your project, even on some unused layouts.

    Cheers

  • Additionally, if I turn off my original object's tweening, the tweening is still enabled when I create an hierarchy instance with code.

    ?!?

    Is some weird caching going on? ie Not retaining scales , if behaviors are enabled or an object's hierarchy etc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the end I 'hacked' it by creating a different root object and parent my model to that. With that it worked fine.

    I'd say there is definitely some issues with the scene graph. As well as the above issue, these things also happened seemingly overnight:

    1. I had a hierarchy which was being created perfectly. I saved everything, went to bed and in the morning after restarting C3 only the parent object was being created and it was also scaled up.?!? The code was/is exactly the same as yesterday.

    2.I created a hierarchy in one layout and then created it in code in another..once it came in WITH its tween behaviour (but this was scaled much bigger than on the initial sheet) but after restarting C3 the next day it comes in with no tweening at all.

    As far as I can tell there was no update this morning but maybe C3 updated itself during this time? I'm running r295 Beta

  • Great, I just sent you an email. Much appreciated!

  • My project is around 20 meg. Is that okay? I can stick it on dropbox and give you simple directions to recreate the issue if I haven't already put you off :)

    Can I send you a link privately somehow?

  • Hi, I have a main layout (A), another layout (B) and a third layout (c)

    I have created a hierarchy in layout B and another different one in Layout C

    When I create the object with hierarchy from layout B in layout A it works fine. (using the 'Create Object' action) ie the object is created in Layout A with the same hierarchy as I built the object in layout B.

    ..but when I do the same with the object from Layout C the hierarchy is not created, only the base object.

    Anyone know what could be happening?

    Thanks

    EDIT: I even recreated the hierarchy of Layout C by hand in Layout A, but still only the parent object gets created when I use create object with 'Create Hierarchy' ticked in Layout A.

    Tagged:

  • Currently at only 9.

    Come on everyone!! Lets show the Chrome devs that this is REALLY important! STAR IT!

    Personally, I think this is THE most important fix for Construct 3 right now, but its out of Scirra's hands.

    :)

  • Actually I can't seem to access at all ANY child of a created object that is created using 'Create Hierarchy'.

    I cant use any command on a child.

    Is this supposed to be this way?

  • I have an object that I create with 'Create Hierarchy" ticked. This works fine, but when I try to remove part of the object from the parent (Using 'remove from parent') it doesn't seem to do anything. (All actions on the original parent object still continue to be applied to the child)

    The hierarchy was created manually in the editor in a different layout to the one I am trying to remove the parent.

    Note: I also tried the 'Remove Child' command from the parent but this does nothing either

  • added my ⭐ to the issue

    Everybody who uses C3 should do this :)

    I just read one of the comments from the Chrome devs:

    For the record, the above test case drops frames in Chrome even on a recent M1 MacBook Pro with high-end CPU.

  • Thank you both!

  • I have a global variable. Lets say Speed=0

    I want to have it increase to 100 on a nice smooth easing curve. ie, its starts off slow, increases and then slows down toward the end. Like a tween but with a global.

  • Gotcha Thanks.

    Instead of every tick, I just use 'Is Tween Playing' and it works perfectly.

    + TL_Speed_Easer: Is Tween "Tween Speed" playing

    -> System: Set train_speed to TL_Speed_Easer.Tween.Value("Tween Speed")