99Instances2Go's Recent Forum Activity

  • I followed this BUG report.

    Now, i am not supposed to write in a closed bug report. But i found this one very intriguing.

    I understand why it is closed. Lots of events, and they are a bit done in a way that i would not do. Yet, they are very simple.

    Nothing new, just functions calling functions. No reason to (almost every one in here is smarter then i am) run away from it on first glance.

    I added logging with the browser plugin. You can find them easy with the search function. Reducing everything to a few events.

    I added a 'alien' function call.

    Follow the instructions as given by the OPP in the other topic.

    Bring up the console in the browser.

    You can clearly see that there is a log entry before calling the function, but no log entry from within the function.

    Conclusion, the function is not called (the first time).

    Why?

    Would appreciate if you look into this. Because i dont understand it, and it makes me distrust functions.

    Thanks.

  • Why not ? Just a Line-of-sight more. (rereading the question).

  • Yes, there is a 'not equal to' option in 'system > condition > Compare two values'. But that is not what you need.

    System > Every Tick

    Sub EventS ... Local variable 'Exceed' = 0

    ........................System > Compare two values ... First = Player.xpplayer ... Comparisation = '> is greater then' ... second = xptotal

    ....................................ActionS: Set 'Exceed' to xptotal - Player.xpplayer

    .................................................Set xptotal to zero

    .................................................Set Player.xpplayer to 'Exceed'

    .................................................Level up

  • I cant not stress this enough. Although i have not the autority to do so.

    Your events are redundant because you dont use instances, and you dont know how to pick them.

    It is as easy as this:

    https://drive.google.com/open?id=0B1SSu ... lRZLUFWVmc

    At the same time i show you a proper use of a function.

    A function is needed when you have to pick from scratch. And i need to, because the 'on drop' picks only 1 sprite2, while i need to evaluate the others too. So, i have to broaden the picklist. (can also with 'pick all')

    A function is convenient if it is a block of events that can be reused with other parameters, when the function can pick the right instance or the right member of a family. In other cases you only dive deeper into problems because the set up is to complicated, especially when using a new object for each sprite.

  • Hope this shows you 'picking'. And how to use 'else'.

    https://drive.google.com/open?id=0B1SSu ... 3FDc0NYc00

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Using different x&y / layer to fake a parallax is weird anyway. What i think. Besides that it makes things complicated.

    In the real world it is something simple as this:

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

    (plane flying above ground)

  • Educated guess.

    Your score stays at 6. Now the 'event that moves' keeps starting the move from the beginning every tick. Tick, tick, tick tick ....

    Or.

    if score = 6

    ....set score to something different

    ....move slide in

    Or

    If score = 6

    Once While true

    ...move slide in

  • Marking this topic 4 myself to get notified for updates (in View your posts). Sorry to bother.

  • Should not. Plz upload a .capx.

  • jeffige Glad to see someone is awake, i was obvious not. : )

  • Do you have access to family's ?

  • Is the player inside a solid ?

99Instances2Go's avatar

99Instances2Go

Member since 12 Feb, 2016

Twitter
99Instances2Go has 2 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies