nutmix's Recent Forum Activity

  • I have the same issue - this is my nr.1 desired function.

    I don't think you can do this without someones tween plugin which I am avoiding if I can as they wont be commercially supported.

    I am approximating this with the bullet behavior to send the sprite in the right direction, then stopping it when it goes over a certain coordinate. However, if you make the animation fast, it doesnt seem to stop exactly at the right spot - it seems to overshoot sometimes (which is to be expected). I then pull it back to exactly the right spot.

    I dont know if you can use ease-in with bullet behavior - havent' got that far yet, but I guess you could use the sine behavior at the end?

    Its a shame there is no access to the excellent easing functions in jquery easing plugin.

  • Ok, after many hours of scratching head, Ive figured out the problem. Most of the manuals and tutorials are out of date, and show System loops options which dont exist or have been renamed.

    So I assumed that for each = for each element, as I could not find "for each element".

    So for each element is an event on the array object, not the system object. Doh! half a day wasted.

    Its so easy when you know, and so hard when you dont.

  • I cant get arrays to work. have ready all the man pages, and looked through tutorials. Ive been using arrays for 30 years in probably 20 different languages, including machine code, so am pretty familiar with them.

    Im trying to do this as a sub event of on start of layout:

    System: For each result -> result : Set value at (result.CurX,result.CurY) to floor(random(9)).

    The array "result" is 5x3x1 in size.

    The above code only ever sets the first value, so the for loop is getting stuck at 1 iteration.

    If I dump the json of the resultant array from the above code, I get:

    {"c2array":true,"size":[5,3,1],"data":[[[6],[0],[0],[0],[0],[0]...etc*

    *hand typed as haven't found a way to cut and paste the text from a game yet.

  • Ahhh, ic, I can fix it by using a top left origin. Nice.

    Is there any way to us anchors to anchor an object without stretching it? E.g. not anchor it to left or right, only say bottom? I.e. not anchor it to a corner, but a side?

    E.g. if you want a button to stay at the bottom in the middle, but you dont want it to stretch (which is what happens if you anchor it to left and right). E.g. if you could say NONE in the "left edge", "top edge" "right edge" and only have "Bottom edge" set to window bottom: the system would keep the objects ratio to left and right edges (so if it was bang in the horizontal center, it would keep 50% on the left, and 50% on the right).

    I have to simulate this currently by repositioning the object on every tick.

    Thanks for your help!

  • Just crashed again, this time directly after the computer woke up from sleep. I'm using word, visio, photoshop, eclipse, dreamweaver etc. without issue.

    Im a unix/mac guy, how does one get the dll name from a crash?

    I see these in the event viewer:

    Faulting application name: Construct2.exe, version: 2.0.0.0, time stamp: 0x5051e3db

    Faulting module name: Construct2.exe, version: 2.0.0.0, time stamp: 0x5051e3db

    Exception code: 0xc000041d

    Fault offset: 0x0000000000252c37

    Faulting process id: 0x2564

    Faulting application start time: 0x01cd94d3c38921e3

    Faulting application path: C:\Program Files\Construct 2\Construct2.exe

    Faulting module path: C:\Program Files\Construct 2\Construct2.exe

    Report Id: 740977c7-00cd-11e2-aa7b-f0def169bcca

    Faulting application name: Construct2.exe, version: 2.0.0.0, time stamp: 0x5051e3db

    Faulting module name: Construct2.exe, version: 2.0.0.0, time stamp: 0x5051e3db

    Exception code: 0xc0000005

    Fault offset: 0x0000000000221160

    Faulting process id: 0x8c4

    Faulting application start time: 0x01cd94cc5b39826b

    Faulting application path: C:\Program Files\Construct 2\Construct2.exe

    Faulting module path: C:\Program Files\Construct 2\Construct2.exe

    Report Id: 69b44dae-00c4-11e2-aa7b-f0def169bcca

    Any

  • Ah, I see the problem, the first link has a space at the end. This should not matter, but seems to. Have fixed it.

  • Thats odd, I just right clicked on the file in explorer, then did dropbox->get link. Here it is again:

    https://www.dropbox.com/s/bh6pinkzyr3c6s2/broken_anchor_103.capx

  • Ah, ic! But this is not validated, and it doesn't change when you change the layer name. However, is better than layer number, so ill start using it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just crashed again. Had selected 5 sprites with animations, all of which were clones of the first one. I then clicked on set initial invisibility set it to invisible, then it crashed.

    Just reopened, tried exactly the same thing again, and it worked - Doh!

  • I cant find this option. In the System actions, there is only "Set layer Scale", which takes a number only. It pops up the "objects with expressions" dialogue, which is a bit odd as you cant do much with other objects here - only enter a layer number. Or perhaps a good way is to attach a dummy sprite object on each layer, and call them "layer1" etc, then in the Layer parameter, do something like Layer1.LayerNumber? Actually I think this might be the way forward.

    It would be really nice to have layers in the "objects with expressions" dialogue.

  • Its just crashed again - only lasted 5 minutes.

    This time it was when I did "clone object type" 4 times in a row on the same object, on the fourth paste it crashed.

    Ive just opened a previous version, tried the same thing again, and doesn't crash (cant reproduce).

  • Ashley, agreed - ill try harder to reproduce on 103. I have recently updated to the absolute latest drive from nvidia dated 18/8/12 (dd/mm/yy). Its a quadro 2000M certified for photoshop, autocad etc.

    The anchor problem in crop mode in 103 is also an issue for us - if that cant be fixed in the next 2 weeks, we will have to revert to launch the games. R99 was very stable, would this be a better fallback?

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies