Family Issue

0 favourites
  • 6 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • Well my father was not very nice. My mother worked all of the time and my uncle drinks water like it is going out of style...

    Just kidding...

    R99 ---- >


    <img src="" border="0" />

    Hours ago everything was working fine. Then I did something in the game that required a Family Variable and it crashed.

    Now if you look at the items in the family, you will see that temp_tower does not have any family vars or behaviors.

    temp_castle does. It is the same in he family that I have for enemies..

    the second item in those two families does not seem to inherit the family variables that it should.

    <img src="" border="0" />

    I will upload my file as well.



    I loaded a stable version of my project from 5am and the families are correct.

    What could I have done to get this to break?

    I did change the name of the tower.

    Any thoughts?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It looks like there are no instances of the temp_tower object. You need at least one instance on a layout somewhere for it to have any properties.

    The crash sounds odd though - I'd definitely like to fix that. However we need a .capx project and reliable steps to reproduce the problem, as described in how to report bugs. Any chance of that?

  • SOLVED - I added the sprites to a hidden layer and the problem was solved!

    The crash was caused because the routine required a instance variable and because it was not there it was crashing!

    Thank you for helping again Ashley.

    I love construct!

  • sparkdad - no! Not solved! Construct 2 should never crash, even if you make a mistake - please tell me more about the crash so we can fix it! :)

  • Ashley,

    OK. Here is the link.

    I think we might have our wires crossed.

    CONSTRUCT 2 is not crashing the game is crashing.

    If you will go to the file above.

    Start project preview.

    Click on the little Castle Icon on the lower left. A rotating gear will pop up. Pick a spot on the ground to build it and click.

    It will create a little gold upside down U. This means that the building is "under-construction". Once the building is done the U spawns the actual building.

    If you do the same with the tower icon on the bottom left you it will all work fine until the building is done and the U tries to spawn the tower. The instance variables are not filled so it is looking for something that is not there.

    If you need more information feel free to email me at

    Thanks for all of your help!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)