99Instances2Go's Forum Posts

  • Bring it on, see if you can finish what you started.

  • No bug. The expression loopindex() has only meaning in the scope of the event containing loop.

    Once you go outside the loop, loopindex() has totaly no meaning no more.

    The wait postpones the actions. So, those actions are executed outside the loop, they are even executed in some ticks after the loop ran.

    Something close to this. You are moving (top - down) from the living room to the basement. You have the remote control of the TV in your hand. In the living room you must change channels for 10 times. No problem. Now comes the wait. Change channels 10 times over 5 minutes(*some time). By that time you are in the basement, outside reach from the TV. Out of scope.

  • Apparently i am so **touched**. Let my cry on your shoes. Thank you so kindly.

  • Well, you can add the Local Storage yourself eh, previous tutorials teach you that. You really want a ready to play capx ? Without adding any code yourself ?

  • This works flawless on my laptop & iPad (LAN preview)

    https://www.dropbox.com/s/jtsg2ofrdfr4k ... .capx?dl=0

    Start drawing from the blue blob.

  • I cant access your file(s), or i am to dumb to figure out the link.

    'Boolean variable (isLocket)' will pick ALL 'Door' s who's Boolean is set. So, you end up with a list of picked objects (with theire individual index (IID). I suppose most 'Door' s are just locked.

    Now you ask your self: do i want to apply the actions to all of them

    In the 'yes i do' case, there is no 'for each' needed.

    In the other case you will have to reach out to each object one by one. Usually there will be a 'follow up' condition to see if each individual object meets some conditions. In your case 'when player overlaps this object'.

    In general, this 'follow up condition' starts picking from the previous picked list (all those with the boolean set) and filters that previous picked list to meet the condition. (the result can be again a new list, depends on the condition)

    When using a 'for each' this means each object, one by one. (the new list contains 1 object)

  • ** smiles ******** **

    You are right, layers lose there 'Initial' on layout change.

    ** Gosh, that was so difficult to say**

  • I am totaly lost.

    What are we talking about ? The layer visibility check mark in the Layout Editor ?

    Or the Initial visibility property of a layer ?

    Those are 2 different things, btw.

    When i use 'Initial visibility' ( a layer property, same logic as a sprite property), the layer is invisible on start and on restarting the layout.

    What do i miss ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Suppose that works. Although it is a bit weird.

    1/ plinkie suggested a Boolean. A boolean is type of instance variable. If you gonna create a global variable 4 everything, you will (seriously) end up with a no manageable project. Moment you have 2 types of menus, you gonna be lost.

    2/ This add 1 to menuopen thingie. I know why you did that. But the good practise way to do this, is just using 'else' in event 15.

  • On the other side the varying jump highs SHOULDN'T happen either....

    This is true. And yet i am a bit surprised. I tested this the other day, with the last stable release, and i could not find a substantially frame dependence no more.

    I did this while i was working on this:

    Aphrodite, accuracy is pretty perfect. It seems to me that jumping is now frame independend. (latest stable release)

    https://www.dropbox.com/s/i3h3w3lpw1idw ... .capx?dl=0

    On the other hand, there is few pixels difference between what i could predict and what i actuary could measure. I (for myself) concluded that is impossible to accurately get the jump height in event, with triggers. As you can see (i hope) the predicted values are way more accurate. Does this help you ?

    For the 'on wall'. That is so depending on the collision mask, mirroring and more things, animations ... etc. Really cant help without the capx. Also, and yes, when you jump of a solid platform, and you come close to that perform, there is a wall detected.

  • When i slam screen of my laptop on that keyboard, hitting both of us to to sleep, then when both wake up in the morning, we are still logged in.

    Must be your cookies, sir.

  • Why not something straightforward simple like this ?

    https://www.dropbox.com/s/sa7qr6bjf8eal ... .capx?dl=0