megatronx's Forum Posts

  • Hi,

    So I've just downloaded latest beta version and seams like local non-static variable is not working in my events code anymore. Where in r110 as we know it was broken because it treat it as a global Var, now it seams that it is not updating it at all. So I want to check with you guys If it means that it was broken and now it is fixed, or in fact it was working well and now it is not before I submit the bug?

    So simplified version of my events looks like this:

    • On button x pressed: set LocalVar to 1
    • LocalVar = 1: do stuff
    • Local number (non-static) LocalVar = 0

    Thanks

  • Your a star rex :) Checkin :)

    EDIT@ Hmm, My inventory is still broken. But maybe it's because of that loopindex bug that apparently is going to be fixed in r111. Although I'm mostly using loop "for each row" from your plugin. Not sure what's going on :/

    Eh :/

  • yeah, send u pm.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Still broken :<

    Seams like appending a row doesn't work, as error tells me that it can't find created rows. Assertion failure.

  • Cool, let's have a look :)

  • I'm using CSV plugin by rexrainbow and up to now it worked fine. Now it is giving me not only js error but outputs everything at 0.

  • Could you see if the plugin is working in r110 because everything is totally broken for me now. Also Ash said that arrays are broken in r110, but i would not think it apply to custom plugins.

  • Oh my god, please forgive me my stupidity. I have realized that my 2 frames temp char sprite was holding two different position for origin point. Topic can now be closed.

  • Ashley, I know man, but It just started happening out of the blue.

    Now, I don't know what is going on with it tbh. It's just clipping once at the beginning of layout and moves position of the pinned image. I have toggled all of the events in the event sheet ( except "On layout start" ) to see if its something I've done, but it's still happening, so I'm assuming it is a bug.

    *link removed*

    To see this weird clip go to layout "Game test" and play it. The detector ( green box ) is being spawn at origin point of the red box, which is located at the bottom of the image. Then it's pinned. Once that happens the whole picture clips for several milliseconds and the green box suddenly is attached to the middle of the image.

  • It seams that pin behavior is broken and pins to the wrong position. Basically it pins higher (in my case around 20px higher ) then it should. I will try reproduce it when I will have a moment. Meanwhile does anyone has same issue?

  • Use "For Each" condition "For Each 'Enemy'" & is on-screen

  • add "for each" condition to range check. should work

    (

    For each "Plane"

    system -> distance(plane.X,plane.Y,myobj.X,myobj.Y) < firedistance)

  • Hi,

    I'm programming an Ai and want npc to jump only as high as they have to within the jump limit. sp lets say i have an obstacles that one is only 20px and the other 60px height and i want npc to jump only slightly above those so he can reach both and continue moving forward.

    Also another thing is how to make npc jump on the overlap at offset? I've tried it myself but they either jump constantly or don't jump at all.

    Thanks

  • Cool, thanks for the example :)

    I didn't mean to create a window, just to display created pages in CVS like variables are displayed in system :)

  • Awesome :) thanks! :)

    that's the window im talking about

    box.com/s/a1qirnsumg68lk6r70ri

    EDIT@ Ah I was asking if it would be possible to make sorting the whole row in to something like this

    ",Dem,Str,Val

    Weap4,12,2,18,

    Weap6,4,13,6,

    Weap9,12,45,90"

    And for example when sorted by COL "Str" from biggest to smallest number and reversed.

    ",Dem,Str,Val

    Weap9,12,45,90,

    Weap6,4,13,6,

    Weap4,12,2,18"

    Or by Val

    ",Dem,Str,Val

    Weap9,12,45,90,

    Weap4,12,2,18,

    Weap6,4,13,6"

    Do you know what i mean?