paulscottrobson's Forum Posts

  • You can get your own back if you like <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> https://www.scirra.com/arcade/undergrou ... -beta-1831

  • ... it's hard - very precise jumps and it's difficult to avoid the ghosts that appear if they do so at the wrong time. But looks very nice.

  • [quote:3a3v3nk7]One workaround for the future could be to use a project folder save instead of capx files.

    THis happened to me 2 or 3 times ; it's something to do with closing with the image editor in some state I think. Couldn't reproduce it. However, having switched to project folders it hasn't happened since.

    As a capx file is just a zipped project file (I think ?), this suggests something is wrong with the zipping, possibly some lock on the graphic image in its local store that stops it being copied into the zip file. I don't think an open write stops you from reading it normally but my vague memories of Windows think there is some exclusive access locking thing ?

  • Angiel is right - it's Pole Position, the old arcade game. Have a look at those sorts of games and see how they do "faux" 3D. Cheat It doesn't matter if it's real as long as it looks it

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is the title really a good idea ?

  • People know when they are being preached at, usually, often it turns them off or they ignore it. Or they dump it.

  • It really depends on individual cases. Pick whatever makes your code clearest - sometimes this is variables, sometimes it is expressions, sometimes it is events.

  • Global objects appear in all layouts. When you say "string" above, I think you don't mean a string in the sense of a variable, but a string in the sense of a display object.

  • Problem Description

    If you nest loops and use the same loopindex, even if it is in a seperate function, it does not work correctly. In the example below, replacing the second "a" with a "c" causes it to loop four times rather than eight. This can be problematical if writing effective code functions in C2 - discovered this when I had nested loops with "xi", but the two loops with index "xi" were in completely different files.

    Attach a Capx

    Description of Capx

    Three nested loops with duplicate loopindexes (loopindices ?)

    Steps to Reproduce Bug

    • Step 1 : Run the above code

    Observed Result

    1,11,0

    1,12,0

    2,11,0

    2,12,0

    (from Browser log window)

    Expected Result

    Should be 8 outputs not 4. Or should warn about reusage. I'm hazarding a guess that loopindex is stored in a java hash in the runtime ? Maybe the loopindex value could be set to nil when the loop exits and if there is a loopindex already present when a loop is started causes a RTX ?

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    v206 64 bit

  • I would hazard a guess that it cannot find a file ; most of it is source information. I came across a bug several times where using CapX files a graphic file occasionally went walkabout ; I now always save in project mode (e.g. directory) and this never happens.

  • Depends how complex you want to get ; you could have a JSON file for each speech pattern which indicates when to open and close the mouth, it would probably be good enough unless you are doing SALT or something.

  • Are they both solid ? I've misunderstood, but I thought you wanted it to stop immediately ?

  • There probably is, but I would be inclined not to. If you have complex logic then it can be better handled by being broken up using subevents, or using local variables to store interim values, or using Families to group sprites together (for example). Clarity and readability are usually more important than brevity.

  • Use a dictionary with the key as the name and the value as the number of instances.

  • Nice piece of work. My only criticism would be the 'introductory' level is quite difficult

    Your ideas for a next project are very sensible - do something completely different.