Instance Variables - Crashes IDE

  • So I decided to fire up C2 and get started on my major website project, when I discovered a "game breaking" crash within seconds of beginning.

    1. Make a new project, add a single sprite.

    2. Give the sprite an instance variable, of whatever name (I tried many)

    3. Create a new event

    4. Set condition to anything (Every tick, start of layout, For, collides something with something else, etc)

    5. Make an action - Set instance variable (of object) "whatever" to 1

    6. Watch it die in fire.

    30 seconds in, and I manage to completely destroy it. New record?

    Using 32bit Windows 7, C2 r66.

    *EDIT*

    It seems there is already a thread about this, but it was labelled in such a way I had no way of knowing. I choose to claim ignorance and leave my thread here.

    ~Sol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I thought the error aplied only to global variables. I followed your steps and it crashed, without any message. Does it give you anything?

  • its instance variables also, but when it crashes with instance it just hard crashes with no error

  • SoldjahBoy... n00bface :D

  • SoldjahBoy... n00bface :D

    Says the man who's fault this whole thing is! <img src="smileys/smiley36.gif" border="0" align="middle" /> To those who didn't know it was Yann who suggested the awesome Variable Description feature that's clearly responsible for all this misery.

  • Get him!

    <img src="http://www.best-of-web.com/_images_300/Mob_Angry_Villagers_Going_After_Frankenstein_101007-033597-320042.jpg" border="0" />

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Same problem here. I brought some extra pitchforks! <img src="smileys/smiley15.gif" border="0" align="middle" />

  • I was just adding an action to set value for a variable and crashed.

    That hurted!!!

  • oh noes ///////////o/

  • OH NOSE!

    ~Sol

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