Potato's Forum Posts

  • maybe I'm missing something here,

    but I'm not sure why "Else" condition in this simple example is not allowed:

    <img src="http://i41.tinypic.com/2cei6vm.jpg" border="0">

    capx:

    http://dl.dropbox.com/u/39382262/ElseFollowTrigger.capx

    Is there some kind of design decision that i should know about.

  • That's awesome Ashley, thanks for looking into it

    I also like Arima idea here about combining multiple condition.

    right now just to achieve something as simple as:

    (Condition 1 OR Condition 2) AND (Condition 3 OR Condition 4)
    or:
    (Condition 1 AND Condition 2) OR (Condition 3 AND Condition 4)
    

    it will need multiple event, making it harder to read.

    If we can just combine that condition in 1 block it would be suh-weeett...

  • hmm.. I'm not sure how to use trigger in this case,

    if i trigger it like this:

    <img src="http://i41.tinypic.com/dpen10.jpg" border="0" />

    It still doesn't work,

    it still executed multiple times

  • Not sure if this is by-design,

    but i think this is really confusing that OR Condition is executed multiple times as long as the condition is true/fulfilled.

    The Action part should be executed only once (when the whole condition is fulfilled/TRUE),

    instead of running the action as many times as the condition is true (like right now)

    Here is a simple example:

    <img src="http://i43.tinypic.com/2m7ydk9.jpg" border="0">

    capx:

    http://dl.dropbox.com/u/39382262/OrSimple.capx

    RESULT:

    myNumber: 1    Result: 2, 3, 4, 5

    myNumber: 2    Result: 3, 4, 5

    myNumber: 3    Result: 4, 5

    myNumber: 4    Result: 5

    EXPECTED RESULT:

    myNumber: 1    Result: 2

    myNumber: 2    Result: 3

    myNumber: 3    Result: 4

    myNumber: 4    Result: 5

    Turning the action into sub-event doesn't really work either:

    <img src="http://i41.tinypic.com/2chmbth.jpg" border="0">

    capx:

    http://dl.dropbox.com/u/39382262/OrSubEvent.capx

    The weird thing is, on this case when myNumber is 1, it only executed once:

    RESULT:

    myNumber: 1    Result: 2

    myNumber: 2    Result: 3, 4, 5

    myNumber: 3    Result: 4, 5

    myNumber: 4    Result: 5

    EXPECTED RESULT:

    myNumber: 1    Result: 2

    myNumber: 2    Result: 3

    myNumber: 3    Result: 4

    myNumber: 4    Result: 5

  • I agree with Arima that the OR condition is not supposed to work like this.

    The Action part should be executed only ONCE (when the whole condition is fulfilled/TRUE),

    instead of running the action as many times as the condition is true (like right now)

    Here is a simple example to play around, try to change the variable myNumber with different value to see different result:

    <img src="http://i43.tinypic.com/2m7ydk9.jpg" border="0">

    capx:

    http://dl.dropbox.com/u/39382262/OrSimple.capx

    myNumber: 1    Result: 2, 3, 4, 5

    myNumber: 2    Result: 3, 4, 5

    myNumber: 3    Result: 4, 5

    myNumber: 4    Result: 5

    Turning the action into sub-event doesn't really work either:

    <img src="http://i41.tinypic.com/2chmbth.jpg" border="0">

    capx:

    http://dl.dropbox.com/u/39382262/OrSubEvent.capx

    The weird thing is, on this case when myNumber is 1, it only executed once:

    myNumber: 1    Result: 2

    myNumber: 2    Result: 3, 4, 5

    myNumber: 3    Result: 4, 5

    myNumber: 4    Result: 5

    I submit this also as a bug here:

    http://www.scirra.com/forum/topic51183_post322670.html#322670

  • maybe you have to resize the text object, it's probably too small to display all the text ?

  • IMHO "Else" should be strictly logical just the way real programming works,

    especially since you want it to be conceptually simple.

    On this example :

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

    I know it looks like a really convenient & obvious way to do a picking,

    but i think it will turn confusing really quick in a more complex example.

    Also when you teach a beginner class/kids to use Construct 2,

    this will messed up with how "If..else..." works in their mind when they start learning programming language (or if they already learn the basic of it).

    Conclusion:

    + If Condition A is fulfilled
         -> Action 1
         -> Action 1
         -> Action 1          
    + Else
         -> Action 2
         -> Action 2
         -> Action 2     
    

    Only one side of Action can run at one time, either Action 1 or Action 2.

    This makes things easier to debug/read too,

    because you can be sure that when Action 1 is running, Action 2 will never run,

    you don't have to debug both sides because there is no chance that will happen (unlike that picking example above).

  • 1. More event sheet features

    (functions, 'Else', 'While', 'Any' / 'OR', for-each ordered, (folder organisation in event dialogs; switch action/condition object quickly)

    2. Better monetisation options (maybe related to iOS/Android/PC/Mac exporter, easy to integrate ads, in-app purchase, etc)

    too bad i can only vote for 1 <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Another one is Logicking :

    http://logicking.com/index.php?page=html5

    Looks decent but C2 still rulezz them all

  • Congratulations for the new baby Ashley !

  • Which demos are you talking about? Space blaster is the only one I know of which gives an indication of a real game simulation...

    Maybe this one:

    Subscribe to Construct videos now
  • waaaat.... this is a blasphemy:

    http://www.geekwire.com/2012/mobile-game-developer-html5-future/

    just kidding <img src="smileys/smiley12.gif" border="0" align="middle">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sometimes i just don't understand how it works,

    isn't Apple suppose to be the most proponent when it comes to using HTML5 (instead of Flash).

    But yet, here we are, it's been 2 years already (since the whole Flash crusades thingie) and their browser still not supporting WebGL yet ?

    I wonder why <img src="smileys/smiley5.gif" border="0" align="middle">,

    is it because security / stability concern ?

    Or because they don't want developer competing with their AppStore by making webapp (skipping their 30% cut & $99 subscription) ?

    btw Interesting article about enabling WebGL on iOS:

    http://atnan.com/blog/2011/11/03/enabling-and-using-webgl-on-ios/

  • I can sense the awesomeness is about to happen