Event System & other Questions

0 favourites
  • 3 posts
From the Asset Store
Create complex dialogues with ease with this tool/template!
  • Hey <img src="smileys/smiley17.gif" border="0" align="middle" />

    r52 Rocks! Just made my first Platform Shooter, and during the buildup i got some questions...maybe you can help me answer them now.

    1. When i change the name of an object, maybe a sprite, it auto changes it's name in the event and action system, but only if directly affected.

    But i access a value of a class in a phrase, it doesn't, but the formula keeps working anyway. Can you tell me how that works? Will there be a fix so that the accessed objects in phrases change their name too?

    2. If i want to send a capx file with features of standard edition to a user with demo of c2 only, can he open, export and safe the project without restrictions? Didn't test it, but at flstudio the solution is just, that you cannot safe projects with the demo at all, but have full functionality of the daw. Guess this would be nice solution for c2 too.

    3. How can i access the heigth/width of a layer in the event system?

    4. Is there a way to rotate a textfield? If not, will that be implemented soon?

    5. I need too access multiple Sprites with one object name, so that i dont have to write every event for new with the same methodes. Is there a way to do so?

    Thanks alot

    xeed

  • 1. When i change the name of an object, maybe a sprite, it auto changes it's name in the event and action system, but only if directly affected.

    But i access a value of a class in a phrase, it doesn't, but the formula keeps working anyway.

    When you rename an object, it should update the name everywhere, even in expressions (I think you use the term "phrases" to mean "expressions"). If it doesn't, it's a bug! If you found a place where the name is not updated, please report a bug, it needs to be fixed.

    . If i want to send a capx file with features of standard edition to a user with demo of c2 only, can he open, export and safe the project without restrictions?

    If the project is within the free edition's limits (100 events, 4 layers per layout), it can be opened, edited and exported in the free edition as well. If your project exceeds the free edition limits, then the free edition can still open it and preview it, but not add or edit any events or export it. Basically, if you have under 100 events and only 4 layers on each layout, it should work 100% in the free edition as well.

    . How can i access the heigth/width of a layer in the event system?

    All layers have the same size as the layout.

    . Is there a way to rotate a textfield? If not, will that be implemented soon?

    Not yet - is it an essential feature? I didn't think many people needed to rotate text.

    . I need too access multiple Sprites with one object name, so that i dont have to write every event for new with the same methodes. Is there a way to do so?

    It sounds like you need the Families system from Classic. It allows you to refer to multiple sprites via one object (e.g. "Monster", "Ghost" and "Troll" all as just "Enemies"). It's on the todo list, hopefully it won't be too long. For now I'm afraid you'll have to get by with copy-paste.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. i do open another thread for this, right. it really doesnt change the names in expressions, but everywhere else in the event system and hud.

    2. good info, and fine solution.

    3. so how to access the layout.width/height in the event system?

    4. i guess it would be nice to have, since every better graphic tool does it. of course even it doesn't make too much work to implement this into c2.

    5. yes, families. i think this is an essential feature in oo coding, and i would give this a top position in the todo list.

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