nutmix's Recent Forum Activity

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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?

  • Is it me, or is the "make invisible in editor" option gone from 103? Without it you cant see, or directly edit, objects under other objects - you can highlight them with the "object list" thing on the right, but when you right click on a single instance to edit animations etc in the layout window, you get the top most object. Obvoisly we can move the top objects out of the way, or send objects to the back, but to make groups invisible was handy.

    We avoid the use of layers as far as possible, as when you add or remove a layer, you have to go through all the event sheets editing by hand anything which referenced a layer number as they all change. A great enhancement for a future version would be for the actions to access layers by name or internal ID, not by the order number which changes all the time.

  • 103 is crashing frequently now, more so than any other release unfortunately (every 15 minutes or so, which is the minimum time you can set the autosave)

    Anyone else having similar issues, or just me?

    It seems to be doing it at random times on fairly simple projects. E.g. once happened when I set the visibility flag on a group of sprites, but I cant reproduce.

    If it crashes one more time, ill revert back to 95, but this means Ill have to start all my current projects from scratch unless someone knows how to get a 103 project to open in 95? Im hoping I can modify the capx files as I'm not using any new features. Any one done this?

    Thanks.

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies