99Instances2Go's Recent Forum Activity

  • Then the origin is not in the middle.

  • Scale in 'set scale' is referencing to 'the virgin object'. A scale 1 means = the width & height of the virgin object (as see in the sprite editor). In your case 'vida.height-5' starts probably at 50 (or so), so 50 times the width & height of the virgin object. Yes you see a flash.

    Use 'Set size'.

  • Well 4get my previous (dumb) comments.

    Another (maybe dumb) question. I suppose that is not the complete event sheet. Do the other events in the sheet run (showing you results/partial results) before the loading/parsing is complete ?

    It can be partial, because 'on complete' is a trigger. A trigger interrupts, performs its actions/conditions, then the 'tick header' returns there were it was.

  • I have 2 main comments. If thats ok.

    One.

    IF you use the same object for showing of the animation AND for reading out its platform expressions, THEN i can not make any conclusion without seeing the animation frames. If the animation frames differ in size, if the origins are not on the same relative place, if the collision boxes are not the same, then the platforms expressions are not reliable. It will trigger as 'falling' when standing on the floor, by instance. It will be constantly be in a state of 'landing', even when in the floor, and the platforms 'push out of solids routine' will work overtime. (eating performance like a troll)

    Two.

    The logic of you events.

    If you look at any tutorial ( https://www.google.be/search?q=scirra+t ... animations ) regarding animations and platformers, they all use 'mirror'. You seem to have a animation for 'left' and 'right' which makes things to complicated. Just use 'mirror'.

    That use of 'wait' i can not recommencement at all.

    Lets run trough your event tick by tick. Starting at the moment 'R' is pressed. And assuming that it is not jumping. 'P1direction does not matter.

    Tick 1 ('R' is pressed)

    KondarAttack = 1

    That makes event 91 true.

    So it plays the animation from start.

    Wait 0.1 seconds is at a 60 FPS like 6 ticks.

    So, KondarAttack gets set to zero in about 6 ticks.

    Tick 2

    KondarAttack = still 1

    That makes event 91 true.

    So it plays the animation AGAIN from start. (start = frame zero)

    The wait has 5 ticks to go.

    Tick 3

    KondarAttack = still 1

    That makes event 91 true.

    So it plays the animation AGAIN from start. (start = frame zero)

    The wait has 4 ticks to go.

    Tick 4

    KondarAttack = still 1

    That makes event 91 true.

    So it plays the animation AGAIN from start. (start = frame zero)

    The wait has 3 ticks to go.

    Tick 5

    KondarAttack = still 1

    That makes event 91 true.

    So it plays the animation AGAIN from start. (start = frame zero)

    The wait has 2 ticks to go.

    Tick 6

    KondarAttack = still 1

    That makes event 91 true.

    So it plays the animation AGAIN from start. (start = frame zero)

    The wait has 1 ticks to go.

    Tick 7

    KondarAttack = still 1

    That makes event 91 true.

    So it plays the animation AGAIN from start. (start = frame zero)

    The wait has 0 ticks to go.

    Tick 7

    Finaly KondarAttack = 0

    That makes event 91 untrue.

    So there is no animation started

    It might work if you lose the "wait' and if you lose the 'start animation from beginning'. But you can not expand this logic anymore. So pwetty plz, look at the tutorials that handle platform and animations. (i linked you a lot of them)

    Have also this in mind. A new animation gets played when 1/ the new animation is not all ready playing or 2/ the current playing is the same as then new animation, but is at its last frame. So never loop animations if you plan to change them.

    My little 2 pennys.

  • I just included a sheet (for something totally different, in a sub event. It seems to include anyway, condition true or not.

  • Included event sheet acts as its events are in the base sheet.

    You gots to have some logic flaw.

    Maybe you have the 'Ajax on unique tag load completed' as a sub in the function ?

    Or you forgot to reset the parameter in 'if parameter equals 1', so it keeps calling the function until 'load is completed'. Actual executing the 'load' several times in a row ?

  • On collission

    sprite > pick top most

  • Sales figures/

  • 4. The global 'Dash' is zero (until it hits a fire), as a result there is a FakeDash created every tick.

  • HessamoddinS

    I beleive that this is what you want to do.

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

    Runs like a slow poke in the debugger.

    Runs at 118 FPS on my laptop, outside the debugger.

    I like the idea of using a dictionary to keep the amount of lines as low as possible.

    But, then you gots to use the the dictonary's feature to not allow the same key twice. Look at how i solved that.

    Have fun.

    Edit: AllanR, did not see your last capx yet. Had this topic open while coding, so topic was not refreshed when posting this¨.

  • If you intend to keep the array at the current size. And, if full means that every slot has at least 1 item. Then the array is not full when ...

    arr_Inventory.at(5,1) is equal to zero

    I suppose you clear 'items with a zero amount' from the array.

    Else. If a zero amount of an item is allowed, you better go for a different 'nothing is there' annotation.

    I would go for the empty string "". I would fill the whole array on start up with "". And if i make an empty slot later, i would fill that index with "". This way 'zero' does not mean empty, but an empty amount. Now the array is not full when ....

    arr_Inventory.at(5,1) is equal to ""

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's the xml file in question, can someone help me identify the problem, so that I can open my project? - https://www.dropbox.com/s/ptn26cg89a6hn ... t.xml?dl=0

    That might have been a XML once, it is not anymore.

    It looks corrupt or encrypted.

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