Ashley's Recent Forum Activity

  • Please report any cases like this to me or Tom by PM and we can delete the user with one click. I've already deleted this guy I think.

  • Yann: making it "logic only" would certainly be a lot simpler in the code. (Edit: did you delete your post? :P ) However I don't think your last example works. Remember if a single instance meets the condition the event counts as having run. So in your last example if *any* sprites have X > 35, the 'Else' does not run.

    In other words going back to case 2:

    <img src="http://www.scirra.com/images/else2.png" border="0" />

    If 'Else' is logic-only here, and for the duration of the game there is always a sprite on the left of the screen, the 'Else' event never runs at all - it may as well be deleted. I think this is also counter-intuitive. It seems obvious what the event should do, so I think it's still a good idea to involve the sol-inverting feature.

    I'll code it as option A (logic-only if a system condition is present, else sol-inverting) for first release, but with a warning it may change in future. I think having people play with it in real projects will be useful.

  • If it's just to do with pasting in to a text box, it should be possible to reproduce with no third party plugins. I'm afraid we have to request this to ensure it is not issues in third party code.

  • JohnnySix - I can no longer reproduce this in Chrome 18. I haven't seen it for ages. I thought it was fixed, are you sure about that?

  • There's no way to do this yet - can you get by with a 'Start of layout - set animation'?

  • You could solve it I guess by limiting the ELSE to logical conditions only

    I think this would basically make the condition useless. I don't see any reason it can't apply to picking conditions as well - it's only the mix that is difficult.

    My thought is Else should just be shorthand for all the conditions of the previous event inverted.

    This breaks a common use for Else. Often people write this with the intention of toggling 'X' between 0 and 1:

    + If X = 0

    -> Set X to 1

    + If X = 1

    -> Set X to 0

    Of course, experienced users see that this sets X to 1 then immediately back to 0 in the next event. However, using 'Else':

    + If X = 0

    -> Set X to 1

    + Else

    -> Set X to 0

    This works as intended, toggling X between 0 and 1. However, your proposal to make 'Else' the equivalent of the inverted previous event will break it again, making it work like the first example!

  • I'm afraid unless you can provide a .capx that has no third party addons and demonstrates a bug, we can't support issues like this. Issues with third party addons should be reported to the developer of the addon.

  • Something for Tom to fix, that link should go to the latest beta release.

  • Another problem with option 2 - what instances would it select the inverse of?

    - Sprite x < 100

    - - Sprite2 x < 100

    - - Else

    It would only invert the picked Sprite2s. IMO it makes no sense to change the picking on any objects other than those referenced in the previous event's conditions.

    I really want there just to be one 'Else' mainly for elegance. It just seems like there should be one option that does everything you'd expect it to. If there were a programming language that required two versions of 'else' because it could not make one that did what you needed, I would be inclined to think that's a badly designed programming language. So it's a bit of a philosophical point.

    I think the initial release will be option A, but this is still open to discussion. I think real usage and any bug reports or confused users we get will be useful information.

  • No, it won't. You can make Construct 2 copy it to the export directory by adding it as a 'dependency' in plugin settings, but it won't be minified.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A 'Layout' is basically a level, and you can go to a different level with the 'Go to layout' action. You can share events between levels so you don't need to copy and paste all your events by using 'Includes' or changing the 'Event sheet' property of a layout to the same one.

  • Scirra is signed up and we're working on the integration, but it's quite complicated and involves updates appMobi are making to directCanvas. So we should be releasing support in the near future. It won't work if you just export a project from Construct 2 as it is though.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,774,272 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs