CJK's Forum Posts

  • I think that you should be able to create a condition of any complexity by using system -> compare 2 values, and simply enter your condition into the expression box.

    Cheers,

    Greg

  • Thanks, nimos100

    [Edited]

    I have tried your suggestion. Replacing system.create with spawn resolved the problem, it seems :-)

    Btw, the blue dots and yellow rectangle in my project are just helper objects - I aimed to generate a "connect-consecutive-numbers" type of layout, making sure that each next number stays close to the previous one.

    Cheers,

    Greg

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I'm at loss with the C2 picking system. Or rather, I'm not even sure where the problem might be.

    I'm generating a grid of blue dots. Then the grid is overlaid with symbols, and a dot is removed after it is replaced with symbol. Then, an overlay object [large yellow rect] is positioned over the symbol, to detect any nearby dots (not yet replaced with symbols), and the next symbol is generated over one of the nearby dots (randomly picked).

    The problem is, that unless I add plenty of "wait" signals, to slow it all down, the whole thing does not work! And I'm on a quad core, so it will be a disaster on a slower machine.

    Please see the capx file: if you disable some or all "wait" signals, some or all of the round symbols will start overlapping each other, while they are not allowed to do so. It will differ from run to run, and gets worse with WebGL=Off.

    I will be grateful for help with this problem - I spent last 12 or so hours trying to figure out what I'm doing wrong.

    gkrol.info.pl/c2/TrailTest.capx

    Thanks,

    Greg

  • Hi Ashley,

    Awaiting very eagerly a new build to fix this - almost a week now.

    Please, be so kind to speed up the next build :-)

    Huge thanks,

    Greg

  • Same for standalone.

    I hope there's a fix coming soon, can't multitask without ALt <img src="smileys/smiley19.gif" border="0" align="middle" />

    Thanks,

    Greg

  • Hi liaeb

    Wonderful idea! Thanks for sharing.

    Is there a way for the C2 game loaded into your tool to be aware it is running in a "screensaver mode"?

    If there can be some easy way for a game to be aware of it, people might start making games that autostart in demo mode, when loaded via your screensaver thing.

    Greg

  • Thanks everyone for detailed explanations.

    If it's intentional behaviour, then it is not so simple to use tiled images in places where the functionality of sprites is not necessary, but also tiling is not required.

    So far I assumed that choosing TI over Sprite results in better memory usage. But, if I have to keep two copies of images - one with a transparent bottom row, and one without, this stops being practical.

    Maybe Ashley could consider adding an option to the TI property sheet, to turn top/bottom row of pixels into transparency?

    Thanks,

    Greg

  • Hi,

    I confirm this bug, been there for at least 5+ beta releases - similar workaround used, I make transparent the topmost row of pixels and the problem disappears.

    Greg

  • I would give up globals, and instead try using an array or a dictionary, and iterate over it with something like:

    for (x < size of my dict)

    • lmin = min(lmin,mydict.get(loopindex("x")))

    Greg

  • Hi again,

    Yes, that's how I understood the other post - the regular licence purchased via scirra.com - but I admit I never tried running C2 in portable mode, off USB drive ;-)

    Greg

    Maybe I'm naive, but from many conversations in recent months I feel that the issue of piracy is - these days - heavily linked with how fair the developer/distributor of an app is with it's users, and how reasonable the pricing is. I think that Scirra ranks very high on both dimensions, which should help them with maximising the number of fair users <img src="smileys/smiley2.gif" border="0" align="middle" />

    Cheers,

    Greg

  • Hi,

    I've read just this morning in another thread, that regular licence is more flexible, including ability to run C2 in portable mode :-)

    Cheers,

    Greg

  • Hi,

    I'm working at this moment on an app using this type of functionality. For me, the "Board" plugin and the "Chess" and "MoveTo" behaviors worked nicely, although I admit that I had spent quite some time figuring out how to use them efficiently.

    dl.dropboxusercontent.com/u/5779181/C2Repo/index.html

    You can find examples of how to use them e.g. here:

    p1ay.allalla.com/C2TestCapx

    I found them useful to maintain a grid system, and to manage easy drag-dropping objects into slots, taking into account whether each slot is occupied or not.

    Cheers,

    Greg

  • Hi,

    Try rexrainbow's MoveTo behavior:

    dl.dropboxusercontent.com/u/5779181/C2Repo/index.html

    Cheers,

    Greg

  • Hi Hellwalker,

    It seems to be a problem that affects only a certain group of people, who try to position elements at run-time ;-)

    There is a solution to it posted, e.g. here:

    scirra.com/forum/windowwidth-and-windowheight-not-working_topic49092.html

    but it's hard to find - and I found it very frustrating for a long time ;-)

    In brief:

    Create a global variables, e.g. ETWindowHeight, ETWindowWidth. Set them to the WindowHeight and Width as defined at edit time. From then on, use these to position your elements at runtime, rather than original variables.

    I think it would be nice if a similar solution was built into the engine - or maybe it is, but I don't know where to find it? ;-)

    Cheers,

    Greg